Skip to content

Commit daef82d

Browse files
authored
add GetProcessTimes binding to the kernel32.zig (#11488)
1 parent cf20b97 commit daef82d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/std/os/windows/kernel32.zig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,9 @@ pub extern "kernel32" fn GetFullPathNameW(
216216
pub extern "kernel32" fn GetOverlappedResult(hFile: HANDLE, lpOverlapped: *OVERLAPPED, lpNumberOfBytesTransferred: *DWORD, bWait: BOOL) callconv(WINAPI) BOOL;
217217

218218
pub extern "kernel32" fn GetProcessHeap() callconv(WINAPI) ?HANDLE;
219+
220+
pub extern "kernel32" fn GetProcessTimes(in_hProcess: HANDLE, out_lpCreationTime: *FILETIME, out_lpExitTime: *FILETIME, out_lpKernelTime: *FILETIME, out_lpUserTime: *FILETIME) callconv(WINAPI) BOOL;
221+
219222
pub extern "kernel32" fn GetQueuedCompletionStatus(CompletionPort: HANDLE, lpNumberOfBytesTransferred: *DWORD, lpCompletionKey: *ULONG_PTR, lpOverlapped: *?*OVERLAPPED, dwMilliseconds: DWORD) callconv(WINAPI) BOOL;
220223
pub extern "kernel32" fn GetQueuedCompletionStatusEx(
221224
CompletionPort: HANDLE,

0 commit comments

Comments
 (0)