Add win32-specific constants to _ctypes (#8614)

This commit is contained in:
junkmd
2022-08-26 00:22:06 +09:00
committed by GitHub
parent 2c534dc220
commit 179228370a
2 changed files with 3 additions and 2 deletions

View File

@@ -17,3 +17,6 @@ if sys.platform == "win32":
def __init__(self, hresult: int, text: str | None, details: _COMError_Details) -> None: ...
def CopyComPointer(src: _PointerLike, dst: _PointerLike | _CArgObject) -> int: ...
FUNCFLAG_HRESULT: int
FUNCFLAG_STDCALL: int

View File

@@ -26,8 +26,6 @@ ssl.SSLSocket.recvmsg
ssl.SSLSocket.recvmsg_into
ssl.SSLSocket.sendmsg
winreg.HKEYType.handle
_ctypes.FUNCFLAG_HRESULT
_ctypes.FUNCFLAG_STDCALL
_ctypes.FormatError
_ctypes.FreeLibrary
_ctypes.LoadLibrary