GetComputerNameExW method

int GetComputerNameExW(
  1. int NameType,
  2. Pointer<Uint16> lpBuffer,
  3. Pointer<Uint64> nSize
)

Implementation

int GetComputerNameExW(
  int NameType,
  ffi.Pointer<ffi.Uint16> lpBuffer,
  ffi.Pointer<ffi.Uint64> nSize,
) {
  return (_GetComputerNameExW ??=
      _dylib.lookupFunction<_c_GetComputerNameExW, _dart_GetComputerNameExW>(
          'GetComputerNameExW'))(
    NameType,
    lpBuffer,
    nSize,
  );
}