GetUserNameW method

int GetUserNameW(
  1. Pointer<Uint16> lpBuffer,
  2. Pointer<Uint64> pcbBuffer
)

Implementation

int GetUserNameW(
  ffi.Pointer<ffi.Uint16> lpBuffer,
  ffi.Pointer<ffi.Uint64> pcbBuffer,
) {
  return (_GetUserNameW ??= _dylib
      .lookupFunction<_c_GetUserNameW, _dart_GetUserNameW>('GetUserNameW'))(
    lpBuffer,
    pcbBuffer,
  );
}