mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Begin migration from sys/win32 to sys/windows
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package sys_windows
|
||||
|
||||
foreign import advapi32 "system:Advapi32.lib"
|
||||
|
||||
@(default_calling_convention="stdcall")
|
||||
foreign advapi32 {
|
||||
@(link_name = "SystemFunction036")
|
||||
RtlGenRandom :: proc(RandomBuffer: ^u8, RandomBufferLength: ULONG) -> BOOLEAN ---
|
||||
OpenProcessToken :: proc(ProcessHandle: HANDLE,
|
||||
DesiredAccess: DWORD,
|
||||
TokenHandle: ^HANDLE) -> BOOL ---
|
||||
}
|
||||
Reference in New Issue
Block a user