mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Add more libraries
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// +build windows
|
||||
package sys_windows
|
||||
|
||||
foreign import "system:Ole32.lib"
|
||||
|
||||
//objbase.h
|
||||
COINIT :: enum DWORD {
|
||||
APARTMENTTHREADED = 0x2,
|
||||
MULTITHREADED,
|
||||
DISABLE_OLE1DDE = 0x4,
|
||||
SPEED_OVER_MEMORY = 0x8,
|
||||
}
|
||||
|
||||
@(default_calling_convention="stdcall")
|
||||
foreign Ole32 {
|
||||
CoInitializeEx :: proc(reserved: rawptr, co_init: COINIT) -> HRESULT ---
|
||||
CoUninitialize :: proc() ---
|
||||
}
|
||||
Reference in New Issue
Block a user