GetComputerNameExA method

int GetComputerNameExA(
  1. int NameType,
  2. Pointer<Int8> lpBuffer,
  3. Pointer<Uint64> nSize
)

Implementation

int GetComputerNameExA(
  int NameType,
  ffi.Pointer<ffi.Int8> lpBuffer,
  ffi.Pointer<ffi.Uint64> nSize,
) {
  return (_GetComputerNameExA ??=
      _dylib.lookupFunction<_c_GetComputerNameExA, _dart_GetComputerNameExA>(
          'GetComputerNameExA'))(
    NameType,
    lpBuffer,
    nSize,
  );
}