mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-08-19 21:13:21 -07:00
update xlib.api.win32
This commit is contained in:
parent
878c14756b
commit
2be3278753
21 changed files with 726 additions and 192 deletions
|
@ -1,13 +1,13 @@
|
|||
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 List, Union
|
||||
from ctypes import POINTER, c_longlong, c_uint, c_void_p
|
||||
from typing import Union
|
||||
|
||||
from xlib.api.win32.wintypes.wintypes import BOOL
|
||||
|
||||
from ..wintypes import (ERROR, GUID, HRESULT, REFGUID, REFIID, IUnknown, dll_import,
|
||||
interface)
|
||||
from ..wintypes import (ERROR, GUID, HRESULT, REFGUID, REFIID, IUnknown,
|
||||
dll_import, interface)
|
||||
from .structs import *
|
||||
|
||||
|
||||
@interface
|
||||
class IDXGIObject(IUnknown):
|
||||
def SetPrivateData (self, guid : REFGUID, id : c_uint, data : c_void_p) -> HRESULT: ...
|
||||
|
@ -118,4 +118,4 @@ def create_DXGIFactory4() -> Union[IDXGIFactory4, None]:
|
|||
result = IDXGIFactory4()
|
||||
if CreateDXGIFactory2(0, IDXGIFactory4.IID, result ) == ERROR.SUCCESS:
|
||||
return result
|
||||
return None
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue