mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-01 02:42:09 +00:00
13 lines
405 B
Odin
13 lines
405 B
Odin
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 ---
|
|
}
|