mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 14:18:47 +00:00
Change stdcall -> system
This commit is contained in:
@@ -5,7 +5,7 @@ foreign import advapi32 "system:Advapi32.lib"
|
||||
|
||||
HCRYPTPROV :: distinct HANDLE
|
||||
|
||||
@(default_calling_convention="stdcall")
|
||||
@(default_calling_convention="system")
|
||||
foreign advapi32 {
|
||||
@(link_name = "SystemFunction036")
|
||||
RtlGenRandom :: proc(RandomBuffer: ^u8, RandomBufferLength: ULONG) -> BOOLEAN ---
|
||||
@@ -24,7 +24,7 @@ foreign advapi32 {
|
||||
}
|
||||
|
||||
// Necessary to create a token to impersonate a user with for CreateProcessAsUser
|
||||
@(default_calling_convention="stdcall")
|
||||
@(default_calling_convention="system")
|
||||
foreign advapi32 {
|
||||
LogonUserW :: proc(
|
||||
lpszUsername: LPCWSTR,
|
||||
|
||||
Reference in New Issue
Block a user