Browse Source

Add GetTempFileNameW

wrathdoesthat 6 months ago
parent
commit
57b8da79f4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/sys/windows/kernel32.odin

+ 1 - 0
core/sys/windows/kernel32.odin

@@ -123,6 +123,7 @@ foreign kernel32 {
 	WaitCommEvent :: proc(handle: HANDLE, lpEvtMask: LPDWORD, lpOverlapped: LPOVERLAPPED) -> BOOL ---
 	GetCommandLineW :: proc() -> LPCWSTR ---
 	GetTempPathW :: proc(nBufferLength: DWORD, lpBuffer: LPCWSTR) -> DWORD ---
+	GetTempFileNameW :: proc(lpPathName: LPCWSTR, lpPrefixString: LPCWSTR, uUnique: c_int, lpTempFileName: LPWSTR) -> c_uint ---
 	GetCurrentProcess :: proc() -> HANDLE ---
 	GetCurrentProcessId :: proc() -> DWORD ---
 	GetCurrentThread :: proc() -> HANDLE ---