mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-08-20 05:23:23 -07:00
update xlib.api.win32
This commit is contained in:
parent
878c14756b
commit
2be3278753
21 changed files with 726 additions and 192 deletions
18
xlib/api/win32/ole32/ole32.py
Normal file
18
xlib/api/win32/ole32/ole32.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
from ctypes import (POINTER, WINFUNCTYPE, byref, c_byte, c_int64, c_longlong,
|
||||
c_size_t, c_ubyte, c_uint, c_uint32, c_ulong, c_void_p,
|
||||
c_wchar)
|
||||
from typing import Union
|
||||
|
||||
from ..wintypes import (DWORD, ERROR, GUID, HRESULT, REFCLSID, REFGUID, REFIID,
|
||||
IUnknown, dll_import, interface)
|
||||
from .structs import *
|
||||
|
||||
|
||||
@dll_import('ole32')
|
||||
def CoInitializeEx(pvReserved : c_void_p, dwCoInit : COINIT ) -> HRESULT: ...
|
||||
|
||||
@dll_import('ole32')
|
||||
def CoUninitialize() -> None: ...
|
||||
|
||||
@dll_import('ole32')
|
||||
def CoCreateInstance (rclsid : REFCLSID, pUnkOuter : POINTER(IUnknown), dwClsContext : CLSCTX, refiid : REFIID, ppv : POINTER(IUnknown) ) -> HRESULT: ...
|
Loading…
Add table
Add a link
Reference in a new issue