GetTempFileName function kernel32
Creates a name for a temporary file. If a unique file name is generated, an empty file is created and the handle to it is released; otherwise, only a file name is generated.
UINT GetTempFileNameW(
[in] LPCWSTR lpPathName,
[in] LPCWSTR lpPrefixString,
[in] UINT uUnique,
[out] LPWSTR lpTempFileName
);
Implementation
int GetTempFileName(Pointer<Utf16> lpPathName, Pointer<Utf16> lpPrefixString,
int uUnique, Pointer<Utf16> lpTempFileName) =>
_GetTempFileName(lpPathName, lpPrefixString, uUnique, lpTempFileName);