aboutsummaryrefslogtreecommitdiff
path: root/core/sys/windows
diff options
context:
space:
mode:
authorwrathdoesthat <152635455+wrathdoesthat@users.noreply.github.com>2025-01-22 04:33:33 -0500
committerGitHub <noreply@github.com>2025-01-22 04:33:33 -0500
commit57b8da79f4a06ec157bf96855b06eac4b64c65a9 (patch)
treed6658b34fdb75a57955ee16d0801433cc416906a /core/sys/windows
parent223970671f6017a197be0e12bf8b458341092422 (diff)
Add GetTempFileNameW
Diffstat (limited to 'core/sys/windows')
-rw-r--r--core/sys/windows/kernel32.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sys/windows/kernel32.odin b/core/sys/windows/kernel32.odin
index fb5afba8a..266dcdbf4 100644
--- a/core/sys/windows/kernel32.odin
+++ b/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 ---