mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Change stdcall -> system
This commit is contained in:
@@ -14,14 +14,14 @@ IUnknown :: struct {
|
||||
using Vtbl: ^IUnknownVtbl,
|
||||
}
|
||||
IUnknownVtbl :: struct {
|
||||
QueryInterface: proc "stdcall" (This: ^IUnknown, riid: REFIID, ppvObject: ^rawptr) -> HRESULT,
|
||||
AddRef: proc "stdcall" (This: ^IUnknown) -> ULONG,
|
||||
Release: proc "stdcall" (This: ^IUnknown) -> ULONG,
|
||||
QueryInterface: proc "system" (This: ^IUnknown, riid: REFIID, ppvObject: ^rawptr) -> HRESULT,
|
||||
AddRef: proc "system" (This: ^IUnknown) -> ULONG,
|
||||
Release: proc "system" (This: ^IUnknown) -> ULONG,
|
||||
}
|
||||
|
||||
LPUNKNOWN :: ^IUnknown
|
||||
|
||||
@(default_calling_convention="stdcall")
|
||||
@(default_calling_convention="system")
|
||||
foreign Ole32 {
|
||||
CoInitializeEx :: proc(reserved: rawptr, co_init: COINIT) -> HRESULT ---
|
||||
CoUninitialize :: proc() ---
|
||||
|
||||
Reference in New Issue
Block a user