GetTempFileNameW method

int GetTempFileNameW(
  1. Pointer<Uint16> lpPathName,
  2. Pointer<Uint16> lpPrefixString,
  3. int uUnique,
  4. Pointer<Uint16> lpTempFileName,
)

Implementation

int GetTempFileNameW(
  ffi.Pointer<ffi.Uint16> lpPathName,
  ffi.Pointer<ffi.Uint16> lpPrefixString,
  int uUnique,
  ffi.Pointer<ffi.Uint16> lpTempFileName,
) {
  return (_GetTempFileNameW ??=
      _dylib.lookupFunction<_c_GetTempFileNameW, _dart_GetTempFileNameW>(
          'GetTempFileNameW'))(
    lpPathName,
    lpPrefixString,
    uUnique,
    lpTempFileName,
  );
}