mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
More pywin32 stub completion (#9308)
Completed based on usage of the following libraries in mypy_primer: - apprise - comtypes As well as some of the most popular libraries that use both pywin32 and mypy (all over 1k stars on github): - certbot - anki - flexget - monkey - twisted - salt Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -20,7 +20,7 @@ def CoCreateInstanceEx(
|
||||
iids: list[_win32typing.PyIID],
|
||||
) -> _win32typing.PyIUnknown: ...
|
||||
def CoCreateInstance(
|
||||
clsid: _win32typing.PyIID, unkOuter: _win32typing.PyIUnknown, context, iid: _win32typing.PyIID
|
||||
__clsid: _win32typing.PyIID, __unkOuter: _win32typing.PyIUnknown | None, __context: int, __iid: _win32typing.PyIID
|
||||
) -> _win32typing.PyIUnknown: ...
|
||||
def CoFreeUnusedLibraries() -> None: ...
|
||||
def CoInitialize() -> None: ...
|
||||
@@ -84,7 +84,7 @@ def OleLoadFromStream(stream: _win32typing.PyIStream, iid: _win32typing.PyIID) -
|
||||
def OleSaveToStream(persist: _win32typing.PyIPersistStream, stream: _win32typing.PyIStream) -> None: ...
|
||||
def OleLoad(storage: _win32typing.PyIStorage, iid: _win32typing.PyIID, site: _win32typing.PyIOleClientSite) -> None: ...
|
||||
def ProgIDFromCLSID(clsid) -> str: ...
|
||||
def PumpWaitingMessages(): ...
|
||||
def PumpWaitingMessages(__firstMessage: int = ..., __lastMessage: int = ...) -> int: ...
|
||||
def PumpMessages() -> None: ...
|
||||
def QueryPathOfRegTypeLib(iid: _win32typing.PyIID, versionMajor, versionMinor, lcid) -> str: ...
|
||||
def ReadClassStg(storage: _win32typing.PyIStorage) -> _win32typing.PyIID: ...
|
||||
|
||||
Reference in New Issue
Block a user