GetComputerNameW method

int GetComputerNameW(
  1. Pointer<Uint16> lpBuffer,
  2. Pointer<Uint64> nSize
)

Implementation

int GetComputerNameW(
  ffi.Pointer<ffi.Uint16> lpBuffer,
  ffi.Pointer<ffi.Uint64> nSize,
) {
  return (_GetComputerNameW ??=
      _dylib.lookupFunction<_c_GetComputerNameW, _dart_GetComputerNameW>(
          'GetComputerNameW'))(
    lpBuffer,
    nSize,
  );
}