mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-03 01:53:24 +08:00
pywin32: Complete modules using stubgen & stubtest (#8866)
Complete modules using stubgen & stubtest
This commit is contained in:
9
stubs/pywin32/win32com/__init__.pyi
Normal file
9
stubs/pywin32/win32com/__init__.pyi
Normal file
@@ -0,0 +1,9 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
__gen_path__: str
|
||||
__build_path__: Incomplete
|
||||
|
||||
def SetupEnvironment() -> None: ...
|
||||
def __PackageSupportBuildPath__(package_path) -> None: ...
|
||||
|
||||
gen_py: Incomplete
|
||||
1
stubs/pywin32/win32com/adsi/__init__.pyi
Normal file
1
stubs/pywin32/win32com/adsi/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.adsi import *
|
||||
1
stubs/pywin32/win32com/adsi/adsi.pyi
Normal file
1
stubs/pywin32/win32com/adsi/adsi.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.adsi.adsi import *
|
||||
1
stubs/pywin32/win32com/adsi/adsicon.pyi
Normal file
1
stubs/pywin32/win32com/adsi/adsicon.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.adsi.adsicon import *
|
||||
1
stubs/pywin32/win32com/authorization/__init__.pyi
Normal file
1
stubs/pywin32/win32com/authorization/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.authorization import *
|
||||
1
stubs/pywin32/win32com/authorization/authorization.pyi
Normal file
1
stubs/pywin32/win32com/authorization/authorization.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.authorization.authorization import *
|
||||
1
stubs/pywin32/win32com/axcontrol/__init__.pyi
Normal file
1
stubs/pywin32/win32com/axcontrol/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axcontrol import *
|
||||
1
stubs/pywin32/win32com/axcontrol/axcontrol.pyi
Normal file
1
stubs/pywin32/win32com/axcontrol/axcontrol.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axcontrol.axcontrol import *
|
||||
1
stubs/pywin32/win32com/axdebug/__init__.pyi
Normal file
1
stubs/pywin32/win32com/axdebug/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axdebug import *
|
||||
1
stubs/pywin32/win32com/axdebug/adb.pyi
Normal file
1
stubs/pywin32/win32com/axdebug/adb.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axdebug.adb import *
|
||||
1
stubs/pywin32/win32com/axdebug/axdebug.pyi
Normal file
1
stubs/pywin32/win32com/axdebug/axdebug.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axdebug.axdebug import *
|
||||
1
stubs/pywin32/win32com/axdebug/codecontainer.pyi
Normal file
1
stubs/pywin32/win32com/axdebug/codecontainer.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axdebug.codecontainer import *
|
||||
1
stubs/pywin32/win32com/axdebug/contexts.pyi
Normal file
1
stubs/pywin32/win32com/axdebug/contexts.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axdebug.contexts import *
|
||||
1
stubs/pywin32/win32com/axdebug/debugger.pyi
Normal file
1
stubs/pywin32/win32com/axdebug/debugger.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axdebug.debugger import *
|
||||
1
stubs/pywin32/win32com/axdebug/documents.pyi
Normal file
1
stubs/pywin32/win32com/axdebug/documents.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axdebug.documents import *
|
||||
1
stubs/pywin32/win32com/axdebug/expressions.pyi
Normal file
1
stubs/pywin32/win32com/axdebug/expressions.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axdebug.expressions import *
|
||||
1
stubs/pywin32/win32com/axdebug/gateways.pyi
Normal file
1
stubs/pywin32/win32com/axdebug/gateways.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axdebug.gateways import *
|
||||
1
stubs/pywin32/win32com/axdebug/stackframe.pyi
Normal file
1
stubs/pywin32/win32com/axdebug/stackframe.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axdebug.stackframe import *
|
||||
1
stubs/pywin32/win32com/axdebug/util.pyi
Normal file
1
stubs/pywin32/win32com/axdebug/util.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axdebug.util import *
|
||||
1
stubs/pywin32/win32com/axscript/__init__.pyi
Normal file
1
stubs/pywin32/win32com/axscript/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axscript import *
|
||||
1
stubs/pywin32/win32com/axscript/asputil.pyi
Normal file
1
stubs/pywin32/win32com/axscript/asputil.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axscript.asputil import *
|
||||
1
stubs/pywin32/win32com/axscript/axscript.pyi
Normal file
1
stubs/pywin32/win32com/axscript/axscript.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axscript.axscript import *
|
||||
1
stubs/pywin32/win32com/axscript/client/__init__.pyi
Normal file
1
stubs/pywin32/win32com/axscript/client/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axscript.client import *
|
||||
1
stubs/pywin32/win32com/axscript/client/error.pyi
Normal file
1
stubs/pywin32/win32com/axscript/client/error.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axscript.client.error import *
|
||||
1
stubs/pywin32/win32com/axscript/server/__init__.pyi
Normal file
1
stubs/pywin32/win32com/axscript/server/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axscript.server import *
|
||||
1
stubs/pywin32/win32com/axscript/server/axsite.pyi
Normal file
1
stubs/pywin32/win32com/axscript/server/axsite.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axscript.server.axsite import *
|
||||
1
stubs/pywin32/win32com/axscript/server/error.pyi
Normal file
1
stubs/pywin32/win32com/axscript/server/error.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.axscript.server.error import *
|
||||
1
stubs/pywin32/win32com/bits/__init__.pyi
Normal file
1
stubs/pywin32/win32com/bits/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.bits import *
|
||||
1
stubs/pywin32/win32com/bits/bits.pyi
Normal file
1
stubs/pywin32/win32com/bits/bits.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.bits.bits import *
|
||||
70
stubs/pywin32/win32com/client/__init__.pyi
Normal file
70
stubs/pywin32/win32com/client/__init__.pyi
Normal file
@@ -0,0 +1,70 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from win32com.client import dynamic as dynamic
|
||||
|
||||
def GetObject(Pathname: Incomplete | None = ..., Class: Incomplete | None = ..., clsctx: Incomplete | None = ...): ...
|
||||
def GetActiveObject(Class, clsctx=...): ...
|
||||
def Moniker(Pathname, clsctx=...): ...
|
||||
def Dispatch(
|
||||
dispatch,
|
||||
userName: Incomplete | None = ...,
|
||||
resultCLSID: Incomplete | None = ...,
|
||||
typeinfo: Incomplete | None = ...,
|
||||
UnicodeToString: Incomplete | None = ...,
|
||||
clsctx=...,
|
||||
): ...
|
||||
def DispatchEx(
|
||||
clsid,
|
||||
machine: Incomplete | None = ...,
|
||||
userName: Incomplete | None = ...,
|
||||
resultCLSID: Incomplete | None = ...,
|
||||
typeinfo: Incomplete | None = ...,
|
||||
UnicodeToString: Incomplete | None = ...,
|
||||
clsctx: Incomplete | None = ...,
|
||||
): ...
|
||||
|
||||
class CDispatch(dynamic.CDispatch):
|
||||
def __dir__(self): ...
|
||||
|
||||
def CastTo(ob, target, typelib: Incomplete | None = ...): ...
|
||||
|
||||
class Constants:
|
||||
__dicts__: Incomplete
|
||||
def __getattr__(self, a): ...
|
||||
|
||||
constants: Incomplete
|
||||
|
||||
class EventsProxy:
|
||||
def __init__(self, ob) -> None: ...
|
||||
def __del__(self) -> None: ...
|
||||
def __getattr__(self, attr): ...
|
||||
def __setattr__(self, attr, val) -> None: ...
|
||||
|
||||
def DispatchWithEvents(clsid, user_event_class): ...
|
||||
def WithEvents(disp, user_event_class): ...
|
||||
def getevents(clsid): ...
|
||||
def Record(name, object): ...
|
||||
|
||||
class DispatchBaseClass:
|
||||
def __init__(self, oobj: Incomplete | None = ...) -> None: ...
|
||||
def __dir__(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
def __getattr__(self, attr): ...
|
||||
def __setattr__(self, attr, value) -> None: ...
|
||||
|
||||
class CoClassBaseClass:
|
||||
def __init__(self, oobj: Incomplete | None = ...) -> None: ...
|
||||
def __getattr__(self, attr): ...
|
||||
def __setattr__(self, attr, value) -> None: ...
|
||||
def __maybe__call__(self, *args, **kwargs): ...
|
||||
def __maybe__str__(self, *args): ...
|
||||
def __maybe__int__(self, *args): ...
|
||||
def __maybe__iter__(self): ...
|
||||
def __maybe__len__(self): ...
|
||||
def __maybe__nonzero__(self): ...
|
||||
|
||||
class VARIANT:
|
||||
varianttype: Incomplete
|
||||
def __init__(self, vt, value) -> None: ...
|
||||
value: Incomplete
|
||||
26
stubs/pywin32/win32com/client/dynamic.pyi
Normal file
26
stubs/pywin32/win32com/client/dynamic.pyi
Normal file
@@ -0,0 +1,26 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
# Necessary for mypy to not throw AssertionError with win32com.client
|
||||
class CDispatch:
|
||||
def __init__(
|
||||
self,
|
||||
IDispatch,
|
||||
olerepr,
|
||||
userName: Incomplete | None = ...,
|
||||
UnicodeToString: Incomplete | None = ...,
|
||||
lazydata: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
def __call__(self, *args): ...
|
||||
def __bool__(self): ...
|
||||
def __dir__(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
def __int__(self): ...
|
||||
def __len__(self): ...
|
||||
def __getitem__(self, index): ...
|
||||
def __setitem__(self, index, *args): ...
|
||||
def __LazyMap__(self, attr): ...
|
||||
def __AttrToID__(self, attr): ...
|
||||
ob: Incomplete
|
||||
def __getattr__(self, attr): ...
|
||||
def __setattr__(self, attr, value) -> None: ...
|
||||
1
stubs/pywin32/win32com/directsound/__init__.pyi
Normal file
1
stubs/pywin32/win32com/directsound/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.directsound import *
|
||||
1
stubs/pywin32/win32com/directsound/directsound.pyi
Normal file
1
stubs/pywin32/win32com/directsound/directsound.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.directsound.directsound import *
|
||||
1
stubs/pywin32/win32com/ifilter/__init__.pyi
Normal file
1
stubs/pywin32/win32com/ifilter/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.ifilter import *
|
||||
1
stubs/pywin32/win32com/ifilter/ifilter.pyi
Normal file
1
stubs/pywin32/win32com/ifilter/ifilter.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.ifilter.ifilter import *
|
||||
1
stubs/pywin32/win32com/ifilter/ifiltercon.pyi
Normal file
1
stubs/pywin32/win32com/ifilter/ifiltercon.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.ifilter.ifiltercon import *
|
||||
1
stubs/pywin32/win32com/internet/__init__.pyi
Normal file
1
stubs/pywin32/win32com/internet/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.internet import *
|
||||
1
stubs/pywin32/win32com/internet/inetcon.pyi
Normal file
1
stubs/pywin32/win32com/internet/inetcon.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.internet.inetcon import *
|
||||
1
stubs/pywin32/win32com/internet/internet.pyi
Normal file
1
stubs/pywin32/win32com/internet/internet.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.internet.internet import *
|
||||
1
stubs/pywin32/win32com/mapi/__init__.pyi
Normal file
1
stubs/pywin32/win32com/mapi/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.mapi import *
|
||||
1
stubs/pywin32/win32com/mapi/_exchdapi.pyi
Normal file
1
stubs/pywin32/win32com/mapi/_exchdapi.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.mapi._exchdapi import *
|
||||
1
stubs/pywin32/win32com/mapi/emsabtags.pyi
Normal file
1
stubs/pywin32/win32com/mapi/emsabtags.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.mapi.emsabtags import *
|
||||
1
stubs/pywin32/win32com/mapi/exchange.pyi
Normal file
1
stubs/pywin32/win32com/mapi/exchange.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.mapi.exchange import *
|
||||
1
stubs/pywin32/win32com/mapi/mapi.pyi
Normal file
1
stubs/pywin32/win32com/mapi/mapi.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.mapi.mapi import *
|
||||
1
stubs/pywin32/win32com/mapi/mapitags.pyi
Normal file
1
stubs/pywin32/win32com/mapi/mapitags.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.mapi.mapitags import *
|
||||
1
stubs/pywin32/win32com/mapi/mapiutil.pyi
Normal file
1
stubs/pywin32/win32com/mapi/mapiutil.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.mapi.mapiutil import *
|
||||
54
stubs/pywin32/win32com/olectl.pyi
Normal file
54
stubs/pywin32/win32com/olectl.pyi
Normal file
@@ -0,0 +1,54 @@
|
||||
FACILITY_CONTROL: int
|
||||
|
||||
def MAKE_SCODE(sev: int, fac: int, code: int) -> int: ...
|
||||
def STD_CTL_SCODE(n: int) -> int: ...
|
||||
|
||||
CTL_E_ILLEGALFUNCTIONCALL: int
|
||||
CTL_E_OVERFLOW: int
|
||||
CTL_E_OUTOFMEMORY: int
|
||||
CTL_E_DIVISIONBYZERO: int
|
||||
CTL_E_OUTOFSTRINGSPACE: int
|
||||
CTL_E_OUTOFSTACKSPACE: int
|
||||
CTL_E_BADFILENAMEORNUMBER: int
|
||||
CTL_E_FILENOTFOUND: int
|
||||
CTL_E_BADFILEMODE: int
|
||||
CTL_E_FILEALREADYOPEN: int
|
||||
CTL_E_DEVICEIOERROR: int
|
||||
CTL_E_FILEALREADYEXISTS: int
|
||||
CTL_E_BADRECORDLENGTH: int
|
||||
CTL_E_DISKFULL: int
|
||||
CTL_E_BADRECORDNUMBER: int
|
||||
CTL_E_BADFILENAME: int
|
||||
CTL_E_TOOMANYFILES: int
|
||||
CTL_E_DEVICEUNAVAILABLE: int
|
||||
CTL_E_PERMISSIONDENIED: int
|
||||
CTL_E_DISKNOTREADY: int
|
||||
CTL_E_PATHFILEACCESSERROR: int
|
||||
CTL_E_PATHNOTFOUND: int
|
||||
CTL_E_INVALIDPATTERNSTRING: int
|
||||
CTL_E_INVALIDUSEOFNULL: int
|
||||
CTL_E_INVALIDFILEFORMAT: int
|
||||
CTL_E_INVALIDPROPERTYVALUE: int
|
||||
CTL_E_INVALIDPROPERTYARRAYINDEX: int
|
||||
CTL_E_SETNOTSUPPORTEDATRUNTIME: int
|
||||
CTL_E_SETNOTSUPPORTED: int
|
||||
CTL_E_NEEDPROPERTYARRAYINDEX: int
|
||||
CTL_E_SETNOTPERMITTED: int
|
||||
CTL_E_GETNOTSUPPORTEDATRUNTIME: int
|
||||
CTL_E_GETNOTSUPPORTED: int
|
||||
CTL_E_PROPERTYNOTFOUND: int
|
||||
CTL_E_INVALIDCLIPBOARDFORMAT: int
|
||||
CTL_E_INVALIDPICTURE: int
|
||||
CTL_E_PRINTERERROR: int
|
||||
CTL_E_CANTSAVEFILETOTEMP: int
|
||||
CTL_E_SEARCHTEXTNOTFOUND: int
|
||||
CTL_E_REPLACEMENTSTOOLONG: int
|
||||
CONNECT_E_FIRST: int
|
||||
CONNECT_E_LAST: int
|
||||
CONNECT_S_FIRST: int
|
||||
CONNECT_S_LAST: int
|
||||
CONNECT_E_NOCONNECTION: int
|
||||
CONNECT_E_ADVISELIMIT: int
|
||||
CONNECT_E_CANNOTCONNECT: int
|
||||
CONNECT_E_OVERRIDDEN: int
|
||||
CLASS_E_NOTLICENSED: int
|
||||
1
stubs/pywin32/win32com/propsys/__init__.pyi
Normal file
1
stubs/pywin32/win32com/propsys/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.propsys import *
|
||||
1
stubs/pywin32/win32com/propsys/propsys.pyi
Normal file
1
stubs/pywin32/win32com/propsys/propsys.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.propsys.propsys import *
|
||||
1
stubs/pywin32/win32com/propsys/pscon.pyi
Normal file
1
stubs/pywin32/win32com/propsys/pscon.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.propsys.pscon import *
|
||||
0
stubs/pywin32/win32com/server/__init__.pyi
Normal file
0
stubs/pywin32/win32com/server/__init__.pyi
Normal file
18
stubs/pywin32/win32com/server/connect.pyi
Normal file
18
stubs/pywin32/win32com/server/connect.pyi
Normal file
@@ -0,0 +1,18 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from win32com import olectl as olectl
|
||||
from win32com.server.exception import Exception as Exception
|
||||
|
||||
IConnectionPointContainer_methods: Incomplete
|
||||
IConnectionPoint_methods: Incomplete
|
||||
|
||||
class ConnectableServer:
|
||||
cookieNo: int
|
||||
connections: Incomplete
|
||||
def EnumConnections(self) -> None: ...
|
||||
def GetConnectionInterface(self) -> None: ...
|
||||
def GetConnectionPointContainer(self): ...
|
||||
def Advise(self, pUnk): ...
|
||||
def Unadvise(self, cookie) -> None: ...
|
||||
def EnumConnectionPoints(self) -> None: ...
|
||||
def FindConnectionPoint(self, iid): ...
|
||||
22
stubs/pywin32/win32com/server/dispatcher.pyi
Normal file
22
stubs/pywin32/win32com/server/dispatcher.pyi
Normal file
@@ -0,0 +1,22 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from win32com.server.exception import IsCOMServerException as IsCOMServerException
|
||||
from win32com.util import IIDToInterfaceName as IIDToInterfaceName
|
||||
|
||||
class DispatcherBase:
|
||||
policy: Incomplete
|
||||
logger: Incomplete
|
||||
def __init__(self, policyClass, object) -> None: ...
|
||||
|
||||
class DispatcherTrace(DispatcherBase): ...
|
||||
|
||||
class DispatcherWin32trace(DispatcherTrace):
|
||||
def __init__(self, policyClass, object) -> None: ...
|
||||
|
||||
class DispatcherOutputDebugString(DispatcherTrace): ...
|
||||
|
||||
class DispatcherWin32dbg(DispatcherBase):
|
||||
def __init__(self, policyClass, ob) -> None: ...
|
||||
|
||||
DefaultDebugDispatcher: TypeAlias = DispatcherWin32trace
|
||||
25
stubs/pywin32/win32com/server/exception.pyi
Normal file
25
stubs/pywin32/win32com/server/exception.pyi
Normal file
@@ -0,0 +1,25 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
import pythoncom
|
||||
|
||||
class COMException(pythoncom.com_error):
|
||||
scode: Incomplete
|
||||
description: Incomplete
|
||||
source: Incomplete
|
||||
helpfile: Incomplete
|
||||
helpcontext: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
description: Incomplete | None = ...,
|
||||
scode: Incomplete | None = ...,
|
||||
source: Incomplete | None = ...,
|
||||
helpfile: Incomplete | None = ...,
|
||||
helpContext: Incomplete | None = ...,
|
||||
desc: Incomplete | None = ...,
|
||||
hresult: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
Exception = COMException
|
||||
|
||||
def IsCOMException(t: Incomplete | None = ...): ...
|
||||
def IsCOMServerException(t: Incomplete | None = ...): ...
|
||||
44
stubs/pywin32/win32com/server/policy.pyi
Normal file
44
stubs/pywin32/win32com/server/policy.pyi
Normal file
@@ -0,0 +1,44 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from pythoncom import (
|
||||
DISPID_COLLECT as DISPID_COLLECT,
|
||||
DISPID_CONSTRUCTOR as DISPID_CONSTRUCTOR,
|
||||
DISPID_DESTRUCTOR as DISPID_DESTRUCTOR,
|
||||
DISPID_UNKNOWN as DISPID_UNKNOWN,
|
||||
)
|
||||
from win32com.server.dispatcher import DispatcherTrace as DispatcherTrace, DispatcherWin32trace as DispatcherWin32trace
|
||||
from win32com.server.exception import COMException as COMException
|
||||
|
||||
S_OK: int
|
||||
IDispatchType: Incomplete
|
||||
IUnknownType: Incomplete
|
||||
error: Incomplete
|
||||
regSpec: str
|
||||
regPolicy: str
|
||||
regDispatcher: str
|
||||
regAddnPath: str
|
||||
|
||||
def CreateInstance(clsid, reqIID): ...
|
||||
|
||||
class BasicWrapPolicy:
|
||||
def __init__(self, object) -> None: ...
|
||||
|
||||
class MappedWrapPolicy(BasicWrapPolicy): ...
|
||||
class DesignatedWrapPolicy(MappedWrapPolicy): ...
|
||||
class EventHandlerPolicy(DesignatedWrapPolicy): ...
|
||||
class DynamicPolicy(BasicWrapPolicy): ...
|
||||
|
||||
DefaultPolicy = DesignatedWrapPolicy
|
||||
|
||||
def resolve_func(spec): ...
|
||||
def call_func(spec, *args): ...
|
||||
|
||||
DISPATCH_METHOD: int
|
||||
DISPATCH_PROPERTYGET: int
|
||||
DISPATCH_PROPERTYPUT: int
|
||||
DISPATCH_PROPERTYPUTREF: int
|
||||
DISPID_EVALUATE: int
|
||||
DISPID_NEWENUM: int
|
||||
DISPID_PROPERTYPUT: int
|
||||
DISPID_STARTENUM: int
|
||||
DISPID_VALUE: int
|
||||
40
stubs/pywin32/win32com/server/util.pyi
Normal file
40
stubs/pywin32/win32com/server/util.pyi
Normal file
@@ -0,0 +1,40 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from win32com.server import policy as policy
|
||||
from win32com.server.exception import COMException as COMException
|
||||
|
||||
def wrap(ob, iid: Incomplete | None = ..., usePolicy: Incomplete | None = ..., useDispatcher: Incomplete | None = ...): ...
|
||||
def unwrap(ob): ...
|
||||
|
||||
class ListEnumerator:
|
||||
index: Incomplete
|
||||
def __init__(self, data, index: int = ..., iid=...) -> None: ...
|
||||
def Next(self, count): ...
|
||||
def Skip(self, count) -> None: ...
|
||||
def Reset(self) -> None: ...
|
||||
def Clone(self): ...
|
||||
|
||||
class ListEnumeratorGateway(ListEnumerator):
|
||||
def Next(self, count): ...
|
||||
|
||||
def NewEnum(seq, cls=..., iid=..., usePolicy: Incomplete | None = ..., useDispatcher: Incomplete | None = ...): ...
|
||||
|
||||
class Collection:
|
||||
data: Incomplete
|
||||
def __init__(self, data: Incomplete | None = ..., readOnly: int = ...) -> None: ...
|
||||
def Item(self, *args): ...
|
||||
def Count(self): ...
|
||||
def Add(self, value) -> None: ...
|
||||
def Remove(self, index) -> None: ...
|
||||
def Insert(self, index, value) -> None: ...
|
||||
|
||||
def NewCollection(seq, cls=...): ...
|
||||
|
||||
class FileStream:
|
||||
file: Incomplete
|
||||
def __init__(self, file) -> None: ...
|
||||
def Read(self, amount): ...
|
||||
def Write(self, data): ...
|
||||
def Clone(self): ...
|
||||
def CopyTo(self, dest, cb): ...
|
||||
def Seek(self, offset, origin): ...
|
||||
1
stubs/pywin32/win32com/shell/__init__.pyi
Normal file
1
stubs/pywin32/win32com/shell/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.shell import *
|
||||
1
stubs/pywin32/win32com/shell/shell.pyi
Normal file
1
stubs/pywin32/win32com/shell/shell.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.shell.shell import *
|
||||
1
stubs/pywin32/win32com/shell/shellcon.pyi
Normal file
1
stubs/pywin32/win32com/shell/shellcon.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.shell.shellcon import *
|
||||
113
stubs/pywin32/win32com/storagecon.pyi
Normal file
113
stubs/pywin32/win32com/storagecon.pyi
Normal file
@@ -0,0 +1,113 @@
|
||||
STGC_DEFAULT: int
|
||||
STGC_OVERWRITE: int
|
||||
STGC_ONLYIFCURRENT: int
|
||||
STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE: int
|
||||
STGC_CONSOLIDATE: int
|
||||
STGTY_STORAGE: int
|
||||
STGTY_STREAM: int
|
||||
STGTY_LOCKBYTES: int
|
||||
STGTY_PROPERTY: int
|
||||
STREAM_SEEK_SET: int
|
||||
STREAM_SEEK_CUR: int
|
||||
STREAM_SEEK_END: int
|
||||
LOCK_WRITE: int
|
||||
LOCK_EXCLUSIVE: int
|
||||
LOCK_ONLYONCE: int
|
||||
CWCSTORAGENAME: int
|
||||
STGM_DIRECT: int
|
||||
STGM_TRANSACTED: int
|
||||
STGM_SIMPLE: int
|
||||
STGM_READ: int
|
||||
STGM_WRITE: int
|
||||
STGM_READWRITE: int
|
||||
STGM_SHARE_DENY_NONE: int
|
||||
STGM_SHARE_DENY_READ: int
|
||||
STGM_SHARE_DENY_WRITE: int
|
||||
STGM_SHARE_EXCLUSIVE: int
|
||||
STGM_PRIORITY: int
|
||||
STGM_DELETEONRELEASE: int
|
||||
STGM_NOSCRATCH: int
|
||||
STGM_CREATE: int
|
||||
STGM_CONVERT: int
|
||||
STGM_FAILIFTHERE: int
|
||||
STGM_NOSNAPSHOT: int
|
||||
ASYNC_MODE_COMPATIBILITY: int
|
||||
ASYNC_MODE_DEFAULT: int
|
||||
STGTY_REPEAT: int
|
||||
STG_TOEND: int
|
||||
STG_LAYOUT_SEQUENTIAL: int
|
||||
STG_LAYOUT_INTERLEAVED: int
|
||||
COM_RIGHTS_EXECUTE: int
|
||||
COM_RIGHTS_EXECUTE_LOCAL: int
|
||||
COM_RIGHTS_EXECUTE_REMOTE: int
|
||||
COM_RIGHTS_ACTIVATE_LOCAL: int
|
||||
COM_RIGHTS_ACTIVATE_REMOTE: int
|
||||
STGFMT_DOCUMENT: int
|
||||
STGFMT_STORAGE: int
|
||||
STGFMT_NATIVE: int
|
||||
STGFMT_FILE: int
|
||||
STGFMT_ANY: int
|
||||
STGFMT_DOCFILE: int
|
||||
PID_DICTIONARY: int
|
||||
PID_CODEPAGE: int
|
||||
PID_FIRST_USABLE: int
|
||||
PID_FIRST_NAME_DEFAULT: int
|
||||
PID_LOCALE: int
|
||||
PID_MODIFY_TIME: int
|
||||
PID_SECURITY: int
|
||||
PID_BEHAVIOR: int
|
||||
PID_ILLEGAL: int
|
||||
PID_MIN_READONLY: int
|
||||
PID_MAX_READONLY: int
|
||||
PIDDI_THUMBNAIL: int
|
||||
PIDSI_TITLE: int
|
||||
PIDSI_SUBJECT: int
|
||||
PIDSI_AUTHOR: int
|
||||
PIDSI_KEYWORDS: int
|
||||
PIDSI_COMMENTS: int
|
||||
PIDSI_TEMPLATE: int
|
||||
PIDSI_LASTAUTHOR: int
|
||||
PIDSI_REVNUMBER: int
|
||||
PIDSI_EDITTIME: int
|
||||
PIDSI_LASTPRINTED: int
|
||||
PIDSI_CREATE_DTM: int
|
||||
PIDSI_LASTSAVE_DTM: int
|
||||
PIDSI_PAGECOUNT: int
|
||||
PIDSI_WORDCOUNT: int
|
||||
PIDSI_CHARCOUNT: int
|
||||
PIDSI_THUMBNAIL: int
|
||||
PIDSI_APPNAME: int
|
||||
PIDSI_DOC_SECURITY: int
|
||||
PIDDSI_CATEGORY: int
|
||||
PIDDSI_PRESFORMAT: int
|
||||
PIDDSI_BYTECOUNT: int
|
||||
PIDDSI_LINECOUNT: int
|
||||
PIDDSI_PARCOUNT: int
|
||||
PIDDSI_SLIDECOUNT: int
|
||||
PIDDSI_NOTECOUNT: int
|
||||
PIDDSI_HIDDENCOUNT: int
|
||||
PIDDSI_MMCLIPCOUNT: int
|
||||
PIDDSI_SCALE: int
|
||||
PIDDSI_HEADINGPAIR: int
|
||||
PIDDSI_DOCPARTS: int
|
||||
PIDDSI_MANAGER: int
|
||||
PIDDSI_COMPANY: int
|
||||
PIDDSI_LINKSDIRTY: int
|
||||
PIDMSI_EDITOR: int
|
||||
PIDMSI_SUPPLIER: int
|
||||
PIDMSI_SOURCE: int
|
||||
PIDMSI_SEQUENCE_NO: int
|
||||
PIDMSI_PROJECT: int
|
||||
PIDMSI_STATUS: int
|
||||
PIDMSI_OWNER: int
|
||||
PIDMSI_RATING: int
|
||||
PIDMSI_PRODUCTION: int
|
||||
PIDMSI_COPYRIGHT: int
|
||||
PROPSETFLAG_DEFAULT: int
|
||||
PROPSETFLAG_NONSIMPLE: int
|
||||
PROPSETFLAG_ANSI: int
|
||||
PROPSETFLAG_UNBUFFERED: int
|
||||
PROPSETFLAG_CASE_SENSITIVE: int
|
||||
STGMOVE_MOVE: int
|
||||
STGMOVE_COPY: int
|
||||
STGMOVE_SHALLOWCOPY: int
|
||||
1
stubs/pywin32/win32com/taskscheduler/__init__.pyi
Normal file
1
stubs/pywin32/win32com/taskscheduler/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.taskscheduler import *
|
||||
1
stubs/pywin32/win32com/taskscheduler/taskscheduler.pyi
Normal file
1
stubs/pywin32/win32com/taskscheduler/taskscheduler.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from win32comext.taskscheduler.taskscheduler import *
|
||||
26
stubs/pywin32/win32com/universal.pyi
Normal file
26
stubs/pywin32/win32com/universal.pyi
Normal file
@@ -0,0 +1,26 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from pythoncom import com_error as com_error
|
||||
|
||||
def RegisterInterfaces(typelibGUID, lcid, major, minor, interface_names: Incomplete | None = ...): ...
|
||||
|
||||
class Arg:
|
||||
name: Incomplete
|
||||
size: Incomplete
|
||||
offset: int
|
||||
def __init__(self, arg_info, name: Incomplete | None = ...) -> None: ...
|
||||
|
||||
class Method:
|
||||
dispid: Incomplete
|
||||
invkind: Incomplete
|
||||
name: Incomplete
|
||||
args: Incomplete
|
||||
cbArgs: Incomplete
|
||||
def __init__(self, method_info, isEventSink: int = ...) -> None: ...
|
||||
|
||||
class Definition:
|
||||
def __init__(self, iid, is_dispatch, method_defs) -> None: ...
|
||||
def iid(self): ...
|
||||
def vtbl_argsizes(self): ...
|
||||
def vtbl_argcounts(self): ...
|
||||
def dispatch(self, ob, index, argPtr, ReadFromInTuple=..., WriteFromOutTuple=...): ...
|
||||
1
stubs/pywin32/win32com/util.pyi
Normal file
1
stubs/pywin32/win32com/util.pyi
Normal file
@@ -0,0 +1 @@
|
||||
def IIDToInterfaceName(iid): ...
|
||||
Reference in New Issue
Block a user