Add more libraries

This commit is contained in:
gingerBill
2022-05-12 13:54:40 +01:00
parent 2fb351bf04
commit d1fc9d3073
5 changed files with 169 additions and 12 deletions
+18
View File
@@ -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() ---
}