GetTempPath2 function kernel32

int GetTempPath2(
  1. int BufferLength,
  2. Pointer<Utf16> Buffer
)

Retrieves the path of the directory designated for temporary files, based on the privileges of the calling process.

DWORD GetTempPath2W(
  [in]  DWORD  BufferLength,
  [out] LPWSTR Buffer
);

Implementation

int GetTempPath2(int BufferLength, Pointer<Utf16> Buffer) =>
    _GetTempPath2(BufferLength, Buffer);