mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
pywin32: Use PEP 570 positional-only argument syntax and fix arguments (#11321)
This commit is contained in:
@@ -72,3 +72,6 @@ win32com.axdebug.gateways
|
||||
win32comext.axdebug.gateways
|
||||
# failed to import, ModuleNotFoundError: No module named 'win32comext.axdebug.axdebug'
|
||||
win32comext.axdebug.axdebug
|
||||
|
||||
# Stubtest doesn't agree with win32.lib.pywintypes.error.__init__ being positional-only
|
||||
.+?\.error.__init__
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -11,103 +11,105 @@ error: TypeAlias = com_error # noqa: Y042
|
||||
|
||||
class internal_error(Exception): ...
|
||||
|
||||
def CoCreateFreeThreadedMarshaler(unk: _win32typing.PyIUnknown) -> _win32typing.PyIUnknown: ...
|
||||
def CoCreateFreeThreadedMarshaler(unk: _win32typing.PyIUnknown, /) -> _win32typing.PyIUnknown: ...
|
||||
def CoCreateInstanceEx(
|
||||
clsid: _win32typing.PyIID,
|
||||
unkOuter: _win32typing.PyIUnknown,
|
||||
context,
|
||||
serverInfo: tuple[Incomplete, Incomplete, Incomplete, Incomplete],
|
||||
iids: list[_win32typing.PyIID],
|
||||
/,
|
||||
) -> _win32typing.PyIUnknown: ...
|
||||
def CoCreateInstance(
|
||||
__clsid: _win32typing.PyIID, __unkOuter: _win32typing.PyIUnknown | None, __context: int, __iid: _win32typing.PyIID
|
||||
clsid: _win32typing.PyIID, unkOuter: _win32typing.PyIUnknown | None, context: int, iid: _win32typing.PyIID, /
|
||||
) -> _win32typing.PyIUnknown: ...
|
||||
def CoFreeUnusedLibraries() -> None: ...
|
||||
def CoInitialize() -> None: ...
|
||||
def CoInitializeEx(flags) -> None: ...
|
||||
def CoInitializeEx(flags, /) -> None: ...
|
||||
def CoInitializeSecurity(
|
||||
sd: _win32typing.PySECURITY_DESCRIPTOR, authSvc, reserved1, authnLevel, impLevel, authInfo, capabilities, reserved2
|
||||
sd: _win32typing.PySECURITY_DESCRIPTOR, authSvc, reserved1, authnLevel, impLevel, authInfo, capabilities, reserved2, /
|
||||
) -> None: ...
|
||||
def CoGetInterfaceAndReleaseStream(stream: _win32typing.PyIStream, iid: _win32typing.PyIID) -> _win32typing.PyIUnknown: ...
|
||||
def CoMarshalInterThreadInterfaceInStream(iid: _win32typing.PyIID, unk: _win32typing.PyIUnknown) -> _win32typing.PyIStream: ...
|
||||
def CoGetInterfaceAndReleaseStream(stream: _win32typing.PyIStream, iid: _win32typing.PyIID, /) -> _win32typing.PyIUnknown: ...
|
||||
def CoMarshalInterThreadInterfaceInStream(iid: _win32typing.PyIID, unk: _win32typing.PyIUnknown, /) -> _win32typing.PyIStream: ...
|
||||
def CoMarshalInterface(
|
||||
Stm: _win32typing.PyIStream, riid: _win32typing.PyIID, Unk: _win32typing.PyIUnknown, DestContext, flags
|
||||
Stm: _win32typing.PyIStream, riid: _win32typing.PyIID, Unk: _win32typing.PyIUnknown, DestContext, flags, /
|
||||
) -> None: ...
|
||||
def CoUnmarshalInterface(Stm: _win32typing.PyIStream, riid: _win32typing.PyIID): ...
|
||||
def CoReleaseMarshalData(Stm: _win32typing.PyIStream) -> None: ...
|
||||
def CoGetObject(name: str, iid: _win32typing.PyIID, bindOpts: Incomplete | None = ...) -> _win32typing.PyIUnknown: ...
|
||||
def CoUnmarshalInterface(Stm: _win32typing.PyIStream, riid: _win32typing.PyIID, /): ...
|
||||
def CoReleaseMarshalData(Stm: _win32typing.PyIStream, /) -> None: ...
|
||||
def CoGetObject(name: str, iid: _win32typing.PyIID, bindOpts: Incomplete | None = ..., /) -> _win32typing.PyIUnknown: ...
|
||||
def CoUninitialize() -> None: ...
|
||||
def CoRegisterClassObject(iid: _win32typing.PyIID, factory: _win32typing.PyIUnknown, context, flags): ...
|
||||
def CoRegisterClassObject(iid: _win32typing.PyIID, factory: _win32typing.PyIUnknown, context, flags, /): ...
|
||||
def CoResumeClassObjects() -> None: ...
|
||||
def CoRevokeClassObject(reg) -> None: ...
|
||||
def CoTreatAsClass(clsidold: _win32typing.PyIID, clsidnew: _win32typing.PyIID) -> None: ...
|
||||
def CoWaitForMultipleHandles(Flags, Timeout, Handles: list[int]): ...
|
||||
def Connect(cls) -> _win32typing.PyIDispatch: ...
|
||||
def CoRevokeClassObject(reg, /) -> None: ...
|
||||
def CoTreatAsClass(clsidold: _win32typing.PyIID, clsidnew: _win32typing.PyIID, /) -> None: ...
|
||||
def CoWaitForMultipleHandles(Flags, Timeout, Handles: list[int], /): ...
|
||||
def Connect(cls, /) -> _win32typing.PyIDispatch: ...
|
||||
def CreateGuid() -> _win32typing.PyIID: ...
|
||||
def CreateBindCtx() -> _win32typing.PyIBindCtx: ...
|
||||
def CreateFileMoniker(filename: str) -> _win32typing.PyIMoniker: ...
|
||||
def CreateItemMoniker(delim: str, item: str) -> _win32typing.PyIMoniker: ...
|
||||
def CreatePointerMoniker(IUnknown: _win32typing.PyIUnknown) -> _win32typing.PyIMoniker: ...
|
||||
def CreateFileMoniker(filename: str, /) -> _win32typing.PyIMoniker: ...
|
||||
def CreateItemMoniker(delim: str, item: str, /) -> _win32typing.PyIMoniker: ...
|
||||
def CreatePointerMoniker(IUnknown: _win32typing.PyIUnknown, /) -> _win32typing.PyIMoniker: ...
|
||||
def CreateTypeLib(): ...
|
||||
def CreateTypeLib2(): ...
|
||||
def CreateStreamOnHGlobal(hGlobal: int | None = ..., DeleteOnRelease: bool = ...) -> _win32typing.PyIStream: ...
|
||||
def CreateILockBytesOnHGlobal(hGlobal: int | None = ..., DeleteOnRelease: bool = ...) -> _win32typing.PyILockBytes: ...
|
||||
def EnableQuitMessage(threadId) -> None: ...
|
||||
def CreateStreamOnHGlobal(hGlobal: int | None = ..., DeleteOnRelease: bool = ..., /) -> _win32typing.PyIStream: ...
|
||||
def CreateILockBytesOnHGlobal(hGlobal: int | None = ..., DeleteOnRelease: bool = ..., /) -> _win32typing.PyILockBytes: ...
|
||||
def EnableQuitMessage(threadId, /) -> None: ...
|
||||
def FUNCDESC() -> _win32typing.FUNCDESC: ...
|
||||
def GetActiveObject(cls) -> _win32typing.PyIUnknown: ...
|
||||
def GetClassFile(fileName) -> _win32typing.PyIID: ...
|
||||
def GetFacilityString(scode) -> str: ...
|
||||
def GetActiveObject(cls, /) -> _win32typing.PyIUnknown: ...
|
||||
def GetClassFile(fileName, /) -> _win32typing.PyIID: ...
|
||||
def GetFacilityString(scode, /) -> str: ...
|
||||
def GetRecordFromGuids(
|
||||
iid: _win32typing.PyIID, verMajor, verMinor, lcid, infoIID: _win32typing.PyIID, data: Incomplete | None = ...
|
||||
iid: _win32typing.PyIID, verMajor, verMinor, lcid, infoIID: _win32typing.PyIID, data: Incomplete | None = ..., /
|
||||
): ...
|
||||
def GetRecordFromTypeInfo(TypeInfo: _win32typing.PyITypeInfo): ...
|
||||
def GetRunningObjectTable(reserved: int = ...) -> _win32typing.PyIRunningObjectTable: ...
|
||||
def GetScodeString(scode) -> str: ...
|
||||
def GetScodeRangeString(scode) -> str: ...
|
||||
def GetSeverityString(scode) -> str: ...
|
||||
def IsGatewayRegistered(__iid: _win32typing.PyIID | None) -> int: ...
|
||||
def LoadRegTypeLib(iid: _win32typing.PyIID, versionMajor, versionMinor, lcid) -> _win32typing.PyITypeLib: ...
|
||||
def LoadTypeLib(libFileName: str) -> _win32typing.PyITypeLib: ...
|
||||
def MakePyFactory(iid: _win32typing.PyIID) -> _win32typing.PyIClassFactory: ...
|
||||
def GetRecordFromTypeInfo(TypeInfo: _win32typing.PyITypeInfo, /): ...
|
||||
def GetRunningObjectTable(reserved: int = ..., /) -> _win32typing.PyIRunningObjectTable: ...
|
||||
def GetScodeString(scode, /) -> str: ...
|
||||
def GetScodeRangeString(scode, /) -> str: ...
|
||||
def GetSeverityString(scode, /) -> str: ...
|
||||
def IsGatewayRegistered(iid: _win32typing.PyIID | None, /) -> int: ...
|
||||
def LoadRegTypeLib(iid: _win32typing.PyIID, versionMajor, versionMinor, lcid, /) -> _win32typing.PyITypeLib: ...
|
||||
def LoadTypeLib(libFileName: str, /) -> _win32typing.PyITypeLib: ...
|
||||
def MakePyFactory(iid: _win32typing.PyIID, /) -> _win32typing.PyIClassFactory: ...
|
||||
def MkParseDisplayName(
|
||||
displayName: str, bindCtx: _win32typing.PyIBindCtx | None = ...
|
||||
displayName: str, bindCtx: _win32typing.PyIBindCtx | None = ..., /
|
||||
) -> tuple[_win32typing.PyIMoniker, Incomplete, _win32typing.PyIBindCtx]: ...
|
||||
def New(cls) -> _win32typing.PyIDispatch: ...
|
||||
def ObjectFromAddress(address, iid: _win32typing.PyIID) -> _win32typing.PyIUnknown: ...
|
||||
def ObjectFromLresult(lresult, iid: _win32typing.PyIID, wparm) -> _win32typing.PyIUnknown: ...
|
||||
def New(cls, /) -> _win32typing.PyIDispatch: ...
|
||||
def ObjectFromAddress(address, iid: _win32typing.PyIID, /) -> _win32typing.PyIUnknown: ...
|
||||
def ObjectFromLresult(lresult, iid: _win32typing.PyIID, wparm, /) -> _win32typing.PyIUnknown: ...
|
||||
def OleInitialize() -> None: ...
|
||||
def OleGetClipboard() -> _win32typing.PyIDataObject: ...
|
||||
def OleFlushClipboard() -> None: ...
|
||||
def OleIsCurrentClipboard(dataObj: _win32typing.PyIDataObject): ...
|
||||
def OleSetClipboard(dataObj: _win32typing.PyIDataObject) -> None: ...
|
||||
def OleLoadFromStream(stream: _win32typing.PyIStream, iid: _win32typing.PyIID) -> None: ...
|
||||
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(__firstMessage: int = ..., __lastMessage: int = ...) -> int: ...
|
||||
def OleIsCurrentClipboard(dataObj: _win32typing.PyIDataObject, /): ...
|
||||
def OleSetClipboard(dataObj: _win32typing.PyIDataObject, /) -> None: ...
|
||||
def OleLoadFromStream(stream: _win32typing.PyIStream, iid: _win32typing.PyIID, /) -> None: ...
|
||||
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(firstMessage: int = ..., lastMessage: int = ..., /) -> int: ...
|
||||
def PumpMessages() -> None: ...
|
||||
def QueryPathOfRegTypeLib(iid: _win32typing.PyIID, versionMajor, versionMinor, lcid) -> str: ...
|
||||
def ReadClassStg(storage: _win32typing.PyIStorage) -> _win32typing.PyIID: ...
|
||||
def ReadClassStm(Stm: _win32typing.PyIStream) -> _win32typing.PyIID: ...
|
||||
def RegisterTypeLib(typelib: _win32typing.PyITypeLib, fullPath: str, lcid, helpDir: str | None = ...) -> None: ...
|
||||
def UnRegisterTypeLib(iid: _win32typing.PyIID, versionMajor, versionMinor, lcid, syskind) -> str: ...
|
||||
def RegisterActiveObject(obUnknown: _win32typing.PyIUnknown, clsid: _win32typing.PyIID, flags): ...
|
||||
def RevokeActiveObject(handle) -> None: ...
|
||||
def RegisterDragDrop(hwnd: int, dropTarget: _win32typing.PyIDropTarget) -> None: ...
|
||||
def RevokeDragDrop(hwnd: int) -> None: ...
|
||||
def QueryPathOfRegTypeLib(iid: _win32typing.PyIID, versionMajor, versionMinor, lcid, /) -> str: ...
|
||||
def ReadClassStg(storage: _win32typing.PyIStorage, /) -> _win32typing.PyIID: ...
|
||||
def ReadClassStm(Stm: _win32typing.PyIStream, /) -> _win32typing.PyIID: ...
|
||||
def RegisterTypeLib(typelib: _win32typing.PyITypeLib, fullPath: str, lcid, helpDir: str | None = ..., /) -> None: ...
|
||||
def UnRegisterTypeLib(iid: _win32typing.PyIID, versionMajor, versionMinor, lcid, syskind, /) -> str: ...
|
||||
def RegisterActiveObject(obUnknown: _win32typing.PyIUnknown, clsid: _win32typing.PyIID, flags, /): ...
|
||||
def RevokeActiveObject(handle, /) -> None: ...
|
||||
def RegisterDragDrop(hwnd: int, dropTarget: _win32typing.PyIDropTarget, /) -> None: ...
|
||||
def RevokeDragDrop(hwnd: int, /) -> None: ...
|
||||
def DoDragDrop() -> None: ...
|
||||
def StgCreateDocfile(name: str, mode, reserved: int = ...) -> _win32typing.PyIStorage: ...
|
||||
def StgCreateDocfileOnILockBytes(lockBytes: _win32typing.PyILockBytes, mode, reserved=...) -> _win32typing.PyIStorage: ...
|
||||
def StgCreateDocfile(name: str, mode, reserved: int = ..., /) -> _win32typing.PyIStorage: ...
|
||||
def StgCreateDocfileOnILockBytes(lockBytes: _win32typing.PyILockBytes, mode, reserved=..., /) -> _win32typing.PyIStorage: ...
|
||||
def StgOpenStorageOnILockBytes(
|
||||
lockBytes: _win32typing.PyILockBytes,
|
||||
stgPriority: _win32typing.PyIStorage,
|
||||
snbExclude: Incomplete | None = ...,
|
||||
reserved: int = ...,
|
||||
/,
|
||||
) -> _win32typing.PyIStorage: ...
|
||||
def StgIsStorageFile(name: str): ...
|
||||
def StgIsStorageFile(name: str, /): ...
|
||||
def STGMEDIUM() -> _win32typing.PySTGMEDIUM: ...
|
||||
def StgOpenStorage(
|
||||
name: str, other: _win32typing.PyIStorage, mode, snbExclude: Incomplete | None = ..., reserved=...
|
||||
name: str, other: _win32typing.PyIStorage, mode, snbExclude: Incomplete | None = ..., reserved=..., /
|
||||
) -> _win32typing.PyIStorage: ...
|
||||
def StgOpenStorageEx(
|
||||
Name: str, Mode, stgfmt, Attrs, riid: _win32typing.PyIID, StgOptions: Incomplete | None = ...
|
||||
@@ -123,20 +125,20 @@ def StgCreateStorageEx(
|
||||
) -> _win32typing.PyIStorage: ...
|
||||
def TYPEATTR() -> _win32typing.TYPEATTR: ...
|
||||
def VARDESC() -> _win32typing.VARDESC: ...
|
||||
def WrapObject(ob, gatewayIID: _win32typing.PyIID, interfaceIID: _win32typing.PyIID) -> _win32typing.PyIUnknown: ...
|
||||
def WriteClassStg(storage: _win32typing.PyIStorage, iid: _win32typing.PyIID) -> None: ...
|
||||
def WriteClassStm(Stm: _win32typing.PyIStream, clsid: _win32typing.PyIID) -> None: ...
|
||||
def UnwrapObject(ob: _win32typing.PyIUnknown) -> _win32typing.PyIDispatch: ...
|
||||
def FmtIdToPropStgName(fmtid: _win32typing.PyIID): ...
|
||||
def PropStgNameToFmtId(Name: str) -> _win32typing.PyIID: ...
|
||||
def CoGetCallContext(riid: _win32typing.PyIID) -> _win32typing.PyIServerSecurity: ...
|
||||
def CoGetObjectContext(riid: _win32typing.PyIID) -> _win32typing.PyIContext: ...
|
||||
def CoGetCancelObject(riid: _win32typing.PyIID, ThreadID: int = ...) -> _win32typing.PyICancelMethodCalls: ...
|
||||
def CoSetCancelObject(Unk: _win32typing.PyIUnknown) -> None: ...
|
||||
def WrapObject(ob, gatewayIID: _win32typing.PyIID, interfaceIID: _win32typing.PyIID, /) -> _win32typing.PyIUnknown: ...
|
||||
def WriteClassStg(storage: _win32typing.PyIStorage, iid: _win32typing.PyIID, /) -> None: ...
|
||||
def WriteClassStm(Stm: _win32typing.PyIStream, clsid: _win32typing.PyIID, /) -> None: ...
|
||||
def UnwrapObject(ob: _win32typing.PyIUnknown, /) -> _win32typing.PyIDispatch: ...
|
||||
def FmtIdToPropStgName(fmtid: _win32typing.PyIID, /): ...
|
||||
def PropStgNameToFmtId(Name: str, /) -> _win32typing.PyIID: ...
|
||||
def CoGetCallContext(riid: _win32typing.PyIID, /) -> _win32typing.PyIServerSecurity: ...
|
||||
def CoGetObjectContext(riid: _win32typing.PyIID, /) -> _win32typing.PyIContext: ...
|
||||
def CoGetCancelObject(riid: _win32typing.PyIID, ThreadID: int = ..., /) -> _win32typing.PyICancelMethodCalls: ...
|
||||
def CoSetCancelObject(Unk: _win32typing.PyIUnknown, /) -> None: ...
|
||||
def CoEnableCallCancellation() -> None: ...
|
||||
def CoDisableCallCancellation() -> None: ...
|
||||
def CreateURLMonikerEx(*args, **kwargs): ... # incomplete
|
||||
def new(__iid: _win32typing.PyIID | str): ...
|
||||
def CreateURLMonikerEx(*args): ... # incomplete
|
||||
def new(iid: _win32typing.PyIID | str, /): ...
|
||||
|
||||
ACTIVEOBJECT_STRONG: int
|
||||
ACTIVEOBJECT_WEAK: int
|
||||
@@ -446,7 +448,7 @@ VT_VARIANT: int
|
||||
VT_VECTOR: int
|
||||
VT_VOID: int
|
||||
|
||||
def connect(*args, **kwargs): ... # incomplete
|
||||
def connect(*args): ... # incomplete
|
||||
|
||||
dcom: int
|
||||
fdexNameCaseInsensitive: int
|
||||
|
||||
@@ -16,11 +16,11 @@ CBF_SKIP_CONNECT_CONFIRMS: int
|
||||
CBF_SKIP_DISCONNECTS: int
|
||||
CBF_SKIP_REGISTRATIONS: int
|
||||
|
||||
def CreateConversation(*args, **kwargs): ... # incomplete
|
||||
def CreateServer(*args, **kwargs): ... # incomplete
|
||||
def CreateServerSystemTopic(*args, **kwargs): ... # incomplete
|
||||
def CreateStringItem(*args, **kwargs): ... # incomplete
|
||||
def CreateTopic(*args, **kwargs): ... # incomplete
|
||||
def CreateConversation(*args): ... # incomplete
|
||||
def CreateServer(*args): ... # incomplete
|
||||
def CreateServerSystemTopic(*args): ... # incomplete
|
||||
def CreateStringItem(*args): ... # incomplete
|
||||
def CreateTopic(*args): ... # incomplete
|
||||
|
||||
MF_CALLBACKS: int
|
||||
MF_CONV: int
|
||||
|
||||
@@ -4,7 +4,7 @@ import _win32typing
|
||||
|
||||
class error(Exception): ...
|
||||
|
||||
def ComparePath(path1: str, path2: str): ...
|
||||
def ComparePath(path1: str, path2: str, /): ...
|
||||
def CreateMDIFrame() -> _win32typing.PyCMDIFrameWnd: ...
|
||||
def CreateMDIChild() -> _win32typing.PyCMDIChildWnd: ...
|
||||
def CreateBitmap(*args: Unused) -> _win32typing.PyCBitmap: ...
|
||||
@@ -12,7 +12,7 @@ def CreateBitmapFromHandle(): ...
|
||||
def CreateBrush() -> _win32typing.PyCBrush: ...
|
||||
def CreateButton() -> _win32typing.PyCButton: ...
|
||||
def CreateColorDialog(
|
||||
initColor: int = ..., flags: int = ..., parent: _win32typing.PyCWnd | None = ...
|
||||
initColor: int = ..., flags: int = ..., parent: _win32typing.PyCWnd | None = ..., /
|
||||
) -> _win32typing.PyCColorDialog: ...
|
||||
def CreateControl(
|
||||
classId: str,
|
||||
@@ -24,18 +24,19 @@ def CreateControl(
|
||||
bStorage,
|
||||
obPersist: Incomplete | None = ...,
|
||||
licKey: str | None = ...,
|
||||
/,
|
||||
) -> _win32typing.PyCWnd: ...
|
||||
def CreateControlBar() -> _win32typing.PyCControlBar: ...
|
||||
def CreateCtrlView(doc: _win32typing.PyCDocument, className: str, style: int = ...) -> _win32typing.PyCCtrlView: ...
|
||||
def CreateCtrlView(doc: _win32typing.PyCDocument, className: str, style: int = ..., /) -> _win32typing.PyCCtrlView: ...
|
||||
def CreateDC() -> None: ...
|
||||
def CreateDCFromHandle(__hwnd: int | _win32typing.PyHANDLE) -> _win32typing.PyCDC: ...
|
||||
def CreateDialog(idRes, dll: _win32typing.PyDLL | None = ...) -> _win32typing.PyCDialog: ...
|
||||
def CreateDCFromHandle(hwnd: int | _win32typing.PyHANDLE, /) -> _win32typing.PyCDC: ...
|
||||
def CreateDialog(idRes, dll: _win32typing.PyDLL | None = ..., /) -> _win32typing.PyCDialog: ...
|
||||
def CreateDialogBar() -> _win32typing.PyCDialogBar: ...
|
||||
def CreateDialogIndirect(oblist) -> _win32typing.PyCDialog: ...
|
||||
def CreateDialogIndirect(oblist, /) -> _win32typing.PyCDialog: ...
|
||||
def CreatePrintDialog(
|
||||
idRes, bPrintSetupOnly, dwFlags, parent: _win32typing.PyCWnd | None = ..., dll: _win32typing.PyDLL | None = ...
|
||||
idRes, bPrintSetupOnly, dwFlags, parent: _win32typing.PyCWnd | None = ..., dll: _win32typing.PyDLL | None = ..., /
|
||||
) -> _win32typing.PyCPrintDialog: ...
|
||||
def CreateDocTemplate(idRes) -> _win32typing.PyCDocTemplate: ...
|
||||
def CreateDocTemplate(idRes, /) -> _win32typing.PyCDocTemplate: ...
|
||||
def CreateEdit() -> _win32typing.PyCEdit: ...
|
||||
def CreateFileDialog(
|
||||
bFileOpen,
|
||||
@@ -44,59 +45,60 @@ def CreateFileDialog(
|
||||
fileName: str | None = ...,
|
||||
_filter: str | None = ...,
|
||||
parent: _win32typing.PyCWnd | None = ...,
|
||||
/,
|
||||
) -> _win32typing.PyCFileDialog: ...
|
||||
def CreateFontDialog(
|
||||
arg, font: Incomplete | None = ..., dcPrinter: _win32typing.PyCDC | None = ..., parent: _win32typing.PyCWnd | None = ...
|
||||
arg, font: Incomplete | None = ..., dcPrinter: _win32typing.PyCDC | None = ..., parent: _win32typing.PyCWnd | None = ..., /
|
||||
) -> _win32typing.PyCFontDialog: ...
|
||||
def CreateFormView(doc: _win32typing.PyCDocument, Template) -> _win32typing.PyCFormView: ...
|
||||
def CreateFormView(doc: _win32typing.PyCDocument, Template, /) -> _win32typing.PyCFormView: ...
|
||||
def CreateFrame(): ...
|
||||
def CreateTreeCtrl() -> _win32typing.PyCTreeCtrl: ...
|
||||
def CreateTreeView(doc: _win32typing.PyCDocument) -> _win32typing.PyCTreeView: ...
|
||||
def CreatePalette(lp): ...
|
||||
def CreateTreeView(doc: _win32typing.PyCDocument, /) -> _win32typing.PyCTreeView: ...
|
||||
def CreatePalette(lp, /): ...
|
||||
def CreatePopupMenu() -> _win32typing.PyCMenu: ...
|
||||
def CreateMenu() -> _win32typing.PyCMenu: ...
|
||||
def CreatePen(style, width, color): ...
|
||||
def CreatePen(style, width, color, /): ...
|
||||
def CreateProgressCtrl() -> _win32typing.PyCProgressCtrl: ...
|
||||
def CreatePropertyPage(resource: _win32typing.PyResourceId, caption: int = ...) -> _win32typing.PyCPropertyPage: ...
|
||||
def CreatePropertyPageIndirect(resourcelist: _win32typing.PyDialogTemplate, caption=...) -> _win32typing.PyCPropertyPage: ...
|
||||
def CreatePropertyPage(resource: _win32typing.PyResourceId, caption: int = ..., /) -> _win32typing.PyCPropertyPage: ...
|
||||
def CreatePropertyPageIndirect(resourcelist: _win32typing.PyDialogTemplate, caption=..., /) -> _win32typing.PyCPropertyPage: ...
|
||||
def CreatePropertySheet(
|
||||
caption: _win32typing.PyResourceId, parent: _win32typing.PyCWnd | None = ..., select=...
|
||||
caption: _win32typing.PyResourceId, parent: _win32typing.PyCWnd | None = ..., select=..., /
|
||||
) -> _win32typing.PyCPropertySheet: ...
|
||||
def CreateRgn() -> _win32typing.PyCRgn: ...
|
||||
def CreateRichEditCtrl() -> _win32typing.PyCRichEditCtrl: ...
|
||||
def CreateRichEditDocTemplate(idRes) -> _win32typing.PyCRichEditDocTemplate: ...
|
||||
def CreateRichEditView(doc: _win32typing.PyCDocument | None = ...) -> _win32typing.PyCRichEditView: ...
|
||||
def CreateRichEditDocTemplate(idRes, /) -> _win32typing.PyCRichEditDocTemplate: ...
|
||||
def CreateRichEditView(doc: _win32typing.PyCDocument | None = ..., /) -> _win32typing.PyCRichEditView: ...
|
||||
def CreateSliderCtrl() -> _win32typing.PyCSliderCtrl: ...
|
||||
def CreateSplitter() -> _win32typing.PyCSplitterWnd: ...
|
||||
def CreateStatusBar(parent: _win32typing.PyCWnd, arg, arg1, ctrlStype=...) -> _win32typing.PyCStatusBar: ...
|
||||
def CreateStatusBar(parent: _win32typing.PyCWnd, arg, arg1, ctrlStype=..., /) -> _win32typing.PyCStatusBar: ...
|
||||
def CreateStatusBarCtrl() -> _win32typing.PyCStatusBarCtrl: ...
|
||||
def CreateFont(properties) -> _win32typing.PyCFont: ...
|
||||
def CreateToolBar(parent: _win32typing.PyCWnd, style, arg) -> _win32typing.PyCToolBar: ...
|
||||
def CreateFont(properties, /) -> _win32typing.PyCFont: ...
|
||||
def CreateToolBar(parent: _win32typing.PyCWnd, style, arg, /) -> _win32typing.PyCToolBar: ...
|
||||
def CreateToolBarCtrl() -> _win32typing.PyCToolBarCtrl: ...
|
||||
def CreateToolTipCtrl() -> _win32typing.PyCToolTipCtrl: ...
|
||||
def CreateThread() -> _win32typing.PyCWinThread: ...
|
||||
def CreateView(doc: _win32typing.PyCDocument) -> _win32typing.PyCScrollView: ...
|
||||
def CreateEditView(doc: _win32typing.PyCDocument) -> _win32typing.PyCEditView: ...
|
||||
def CreateView(doc: _win32typing.PyCDocument, /) -> _win32typing.PyCScrollView: ...
|
||||
def CreateEditView(doc: _win32typing.PyCDocument, /) -> _win32typing.PyCEditView: ...
|
||||
def CreateDebuggerThread() -> None: ...
|
||||
def CreateWindowFromHandle(hwnd: int) -> _win32typing.PyCWnd: ...
|
||||
def CreateWindowFromHandle(hwnd: int, /) -> _win32typing.PyCWnd: ...
|
||||
def CreateWnd() -> _win32typing.PyCWnd: ...
|
||||
def DestroyDebuggerThread() -> None: ...
|
||||
def DoWaitCursor(code) -> None: ...
|
||||
def DoWaitCursor(code, /) -> None: ...
|
||||
def DisplayTraceback() -> None: ...
|
||||
def Enable3dControls(): ...
|
||||
def FindWindow(className: str, windowName: str) -> _win32typing.PyCWnd: ...
|
||||
def FindWindow(className: str, windowName: str, /) -> _win32typing.PyCWnd: ...
|
||||
def FindWindowEx(
|
||||
parentWindow: _win32typing.PyCWnd, childAfter: _win32typing.PyCWnd, className: str, windowName: str
|
||||
parentWindow: _win32typing.PyCWnd, childAfter: _win32typing.PyCWnd, className: str, windowName: str, /
|
||||
) -> _win32typing.PyCWnd: ...
|
||||
def FullPath(path: str) -> str: ...
|
||||
def FullPath(path: str, /) -> str: ...
|
||||
def GetActiveWindow() -> _win32typing.PyCWnd: ...
|
||||
def GetApp() -> _win32typing.PyCWinApp: ...
|
||||
def GetAppName(): ...
|
||||
def GetAppRegistryKey() -> None: ...
|
||||
def GetBytes(address, size) -> str: ...
|
||||
def GetBytes(address, size, /) -> str: ...
|
||||
def GetCommandLine() -> str: ...
|
||||
def GetDeviceCaps(hdc, index): ...
|
||||
def GetFileTitle(fileName: str) -> str: ...
|
||||
def GetDeviceCaps(hdc, index, /): ...
|
||||
def GetFileTitle(fileName: str, /) -> str: ...
|
||||
def GetFocus() -> _win32typing.PyCWnd: ...
|
||||
def GetForegroundWindow() -> _win32typing.PyCWnd: ...
|
||||
def GetHalftoneBrush() -> _win32typing.PyCBrush: ...
|
||||
@@ -104,7 +106,7 @@ def GetInitialStateRequest(): ...
|
||||
def GetMainFrame() -> _win32typing.PyCWnd: ...
|
||||
def GetName() -> str: ...
|
||||
def GetProfileFileName() -> str: ...
|
||||
def GetProfileVal(section: str, entry: str, defValue: str) -> str: ...
|
||||
def GetProfileVal(section: str, entry: str, defValue: str, /) -> str: ...
|
||||
def GetResource() -> _win32typing.PyDLL: ...
|
||||
def GetThread() -> _win32typing.PyCWinApp: ...
|
||||
def GetType(): ...
|
||||
@@ -112,41 +114,41 @@ def InitRichEdit() -> str: ...
|
||||
def InstallCallbackCaller(): ...
|
||||
def IsDebug() -> int: ...
|
||||
def IsWin32s() -> int: ...
|
||||
def IsObject(__o: object) -> bool: ...
|
||||
def LoadDialogResource(idRes, dll: _win32typing.PyDLL | None = ...): ...
|
||||
def LoadLibrary(fileName: str) -> _win32typing.PyDLL: ...
|
||||
def LoadMenu(_id, dll: _win32typing.PyDLL | None = ...) -> _win32typing.PyCMenu: ...
|
||||
def LoadStdProfileSettings(maxFiles) -> None: ...
|
||||
def LoadString(stringId) -> str: ...
|
||||
def MessageBox(message: str, arg, title: str | None = ...): ...
|
||||
def OutputDebugString(msg: str) -> None: ...
|
||||
def IsObject(o: object, /) -> bool: ...
|
||||
def LoadDialogResource(idRes, dll: _win32typing.PyDLL | None = ..., /): ...
|
||||
def LoadLibrary(fileName: str, /) -> _win32typing.PyDLL: ...
|
||||
def LoadMenu(_id, dll: _win32typing.PyDLL | None = ..., /) -> _win32typing.PyCMenu: ...
|
||||
def LoadStdProfileSettings(maxFiles, /) -> None: ...
|
||||
def LoadString(stringId, /) -> str: ...
|
||||
def MessageBox(message: str, arg, title: str | None = ..., /): ...
|
||||
def OutputDebugString(msg: str, /) -> None: ...
|
||||
def EnableControlContainer(): ...
|
||||
def PrintTraceback(tb, output) -> None: ...
|
||||
def PumpWaitingMessages(__firstMessage: int = ..., __lastMessage: int = ...) -> int: ...
|
||||
def RegisterWndClass(style, hCursor: int = ..., hBrush: int = ..., hIcon=...) -> str: ...
|
||||
def RemoveRecentFile(index: int = ...) -> None: ...
|
||||
def PrintTraceback(tb, output, /) -> None: ...
|
||||
def PumpWaitingMessages(firstMessage: int = ..., lastMessage: int = ..., /) -> int: ...
|
||||
def RegisterWndClass(style, hCursor: int = ..., hBrush: int = ..., hIcon=..., /) -> str: ...
|
||||
def RemoveRecentFile(index: int = ..., /) -> None: ...
|
||||
def SetAppHelpPath(): ...
|
||||
def SetAppName(appName: str): ...
|
||||
def SetCurrentInstanceHandle(newVal): ...
|
||||
def SetCurrentResourceHandle(newVal): ...
|
||||
def SetDialogBkColor(arg, arg1): ...
|
||||
def SetProfileFileName(filename: str) -> None: ...
|
||||
def SetRegistryKey(key: str) -> None: ...
|
||||
def SetResource(dll) -> _win32typing.PyDLL: ...
|
||||
def SetStatusText(msg: str, bForce: int = ...) -> None: ...
|
||||
def SetAppName(appName: str, /): ...
|
||||
def SetCurrentInstanceHandle(newVal, /): ...
|
||||
def SetCurrentResourceHandle(newVal, /): ...
|
||||
def SetDialogBkColor(arg, arg1, /): ...
|
||||
def SetProfileFileName(filename: str, /) -> None: ...
|
||||
def SetRegistryKey(key: str, /) -> None: ...
|
||||
def SetResource(dll, /) -> _win32typing.PyDLL: ...
|
||||
def SetStatusText(msg: str, bForce: int = ..., /) -> None: ...
|
||||
def StartDebuggerPump() -> None: ...
|
||||
def StopDebuggerPump() -> None: ...
|
||||
def TranslateMessage(): ...
|
||||
def TranslateVirtualKey(vk) -> str: ...
|
||||
def WinHelp(arg, data: str) -> None: ...
|
||||
def WriteProfileVal(section: str, entry: str, value: str) -> None: ...
|
||||
def AddToRecentFileList(*args, **kwargs): ... # incomplete
|
||||
def CreateImageList(*args, **kwargs): ... # incomplete
|
||||
def CreateListCtrl(*args, **kwargs): ... # incomplete
|
||||
def CreateListView(*args, **kwargs): ... # incomplete
|
||||
def CreateRectRgn(*args, **kwargs): ... # incomplete
|
||||
def GetRecentFileList(*args, **kwargs): ... # incomplete
|
||||
def OutputDebug(*args, **kwargs): ... # incomplete
|
||||
def TranslateVirtualKey(vk, /) -> str: ...
|
||||
def WinHelp(arg, data: str, /) -> None: ...
|
||||
def WriteProfileVal(section: str, entry: str, value: str, /) -> None: ...
|
||||
def AddToRecentFileList(*args): ... # incomplete
|
||||
def CreateImageList(*args): ... # incomplete
|
||||
def CreateListCtrl(*args): ... # incomplete
|
||||
def CreateListView(*args): ... # incomplete
|
||||
def CreateRectRgn(*args): ... # incomplete
|
||||
def GetRecentFileList(*args): ... # incomplete
|
||||
def OutputDebug(*args): ... # incomplete
|
||||
|
||||
AFX_IDW_PANE_FIRST: int
|
||||
AFX_IDW_PANE_LAST: int
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
import _win32typing
|
||||
|
||||
def AfxOleInit(enabled) -> None: ...
|
||||
def AfxOleInit(enabled, /) -> None: ...
|
||||
def CreateInsertDialog() -> _win32typing.PyCOleInsertDialog: ...
|
||||
def CreateOleClientItem() -> _win32typing.PyCOleClientItem: ...
|
||||
def CreateOleDocument(template: _win32typing.PyCDocTemplate, fileName: str | None = ...) -> _win32typing.PyCOleDocument: ...
|
||||
def CreateOleDocument(template: _win32typing.PyCDocTemplate, fileName: str | None = ..., /) -> _win32typing.PyCOleDocument: ...
|
||||
def DaoGetEngine() -> _win32typing.PyIDispatch: ...
|
||||
def GetIDispatchForWindow() -> _win32typing.PyIDispatch: ...
|
||||
def OleGetUserCtrl(): ...
|
||||
def OleSetUserCtrl(bUserCtrl): ...
|
||||
def SetMessagePendingDelay(delay) -> None: ...
|
||||
def EnableNotRespondingDialog(enabled) -> None: ...
|
||||
def EnableBusyDialog(*args, **kwargs): ... # incomplete
|
||||
def OleSetUserCtrl(bUserCtrl, /): ...
|
||||
def SetMessagePendingDelay(delay, /) -> None: ...
|
||||
def EnableNotRespondingDialog(enabled, /) -> None: ...
|
||||
def EnableBusyDialog(*args): ... # incomplete
|
||||
|
||||
COleClientItem_activeState: int
|
||||
COleClientItem_activeUIState: int
|
||||
|
||||
@@ -5,19 +5,20 @@ import _win32typing
|
||||
def CeRapiInit() -> None: ...
|
||||
def CeRapiUninit() -> None: ...
|
||||
def CreateProcess(
|
||||
__appName: str | None,
|
||||
__commandLine: str,
|
||||
__processAttributes: _win32typing.PySECURITY_ATTRIBUTES | None,
|
||||
__threadAttributes: _win32typing.PySECURITY_ATTRIBUTES | None,
|
||||
__bInheritHandles: int | bool,
|
||||
__dwCreationFlags: int,
|
||||
__newEnvironment: dict[str, str] | None,
|
||||
__currentDirectory: str | None,
|
||||
__startupinfo: _win32typing.PySTARTUPINFO,
|
||||
appName: str | None,
|
||||
commandLine: str,
|
||||
processAttributes: _win32typing.PySECURITY_ATTRIBUTES | None,
|
||||
threadAttributes: _win32typing.PySECURITY_ATTRIBUTES | None,
|
||||
bInheritHandles: int | bool,
|
||||
dwCreationFlags: int,
|
||||
newEnvironment: dict[str, str] | None,
|
||||
currentDirectory: str | None,
|
||||
startupinfo: _win32typing.PySTARTUPINFO,
|
||||
/,
|
||||
) -> tuple[int, int, Incomplete, Incomplete]: ...
|
||||
def CeRapiInitEx(): ...
|
||||
def CeCopyFile(_from: str, to: str, bFailIfExists) -> None: ...
|
||||
def CeCheckPassword(password: str) -> None: ...
|
||||
def CeCopyFile(_from: str, to: str, bFailIfExists, /) -> None: ...
|
||||
def CeCheckPassword(password: str, /) -> None: ...
|
||||
def CeCreateFile(
|
||||
fileName: str,
|
||||
desiredAccess,
|
||||
@@ -26,11 +27,12 @@ def CeCreateFile(
|
||||
creationDisposition,
|
||||
flagsAndAttributes,
|
||||
hTemplateFile: int,
|
||||
/,
|
||||
) -> _win32typing.PyCEHANDLE: ...
|
||||
def CeDeleteFile(fileName: str) -> None: ...
|
||||
def CeMoveFile(existingFileName: str, newFileName: str) -> None: ...
|
||||
def CeCreateDirectory(name: str, sa: _win32typing.PySECURITY_ATTRIBUTES) -> None: ...
|
||||
def CeRemoveDirectory(lpPathName: str) -> None: ...
|
||||
def CeDeleteFile(fileName: str, /) -> None: ...
|
||||
def CeMoveFile(existingFileName: str, newFileName: str, /) -> None: ...
|
||||
def CeCreateDirectory(name: str, sa: _win32typing.PySECURITY_ATTRIBUTES, /) -> None: ...
|
||||
def CeRemoveDirectory(lpPathName: str, /) -> None: ...
|
||||
def CeGetTempPath() -> str: ...
|
||||
def CeGetSystemInfo(): ...
|
||||
def CeGetDesktopDeviceCaps(): ...
|
||||
@@ -42,12 +44,12 @@ def CeSHCreateShortcut() -> None: ...
|
||||
def CeSHGetShortcutTarget(): ...
|
||||
def CeGetVersionEx() -> tuple[Incomplete, Incomplete, Incomplete, Incomplete, str]: ...
|
||||
def CeGlobalMemoryStatus(): ...
|
||||
def FindFiles(fileSpec: str): ...
|
||||
def CeGetFileAttributes(fileName: str): ...
|
||||
def CeSetFileAttributes(filename: str, newAttributes) -> None: ...
|
||||
def FindFiles(fileSpec: str, /): ...
|
||||
def CeGetFileAttributes(fileName: str, /): ...
|
||||
def CeSetFileAttributes(filename: str, newAttributes, /) -> None: ...
|
||||
def CeGetFileSize(): ...
|
||||
def CeReadFile(hFile: int, bufSize) -> str: ...
|
||||
def WriteFile(__hFile: int, __data: str | bytes | _win32typing.PyOVERLAPPEDReadBuffer) -> tuple[int, int]: ...
|
||||
def CeReadFile(hFile: int, bufSize, /) -> str: ...
|
||||
def WriteFile(hFile: int, data: str | bytes | _win32typing.PyOVERLAPPEDReadBuffer, /) -> tuple[int, int]: ...
|
||||
|
||||
CSIDL_BITBUCKET = ...
|
||||
CSIDL_COMMON_DESKTOPDIRECTORY = ...
|
||||
|
||||
@@ -11,13 +11,13 @@ class error(Exception):
|
||||
winerror: int
|
||||
funcname: str
|
||||
strerror: str
|
||||
def __init__(self, winerror: int, funcname: str, strerror: str): ...
|
||||
def __init__(self, winerror: int, funcname: str, strerror: str, /): ...
|
||||
|
||||
class com_error(Exception): ...
|
||||
class UnicodeType(str): ...
|
||||
|
||||
class HANDLEType:
|
||||
def __init__(self, *args: Never, **kwargs: Never) -> NoReturn: ...
|
||||
def __init__(self, *args: Never) -> NoReturn: ...
|
||||
@property
|
||||
def handle(self) -> int: ...
|
||||
def Close(self) -> None: ...
|
||||
@@ -32,20 +32,20 @@ IIDType = _win32typing.PyIID
|
||||
|
||||
def DosDateTimeToTime() -> _win32typing.PyTime: ...
|
||||
def Unicode() -> str: ...
|
||||
def UnicodeFromRaw(_str: str) -> str: ...
|
||||
def IsTextUnicode(_str: str, flags) -> tuple[Incomplete, Incomplete]: ...
|
||||
def UnicodeFromRaw(_str: str, /) -> str: ...
|
||||
def IsTextUnicode(_str: str, flags, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def OVERLAPPED() -> _win32typing.PyOVERLAPPED: ...
|
||||
def IID(iidString: str, is_bytes: bool = ...) -> _win32typing.PyIID: ...
|
||||
def Time(timeRepr) -> _win32typing.PyTime: ...
|
||||
def IID(iidString: str, is_bytes: bool = ..., /) -> _win32typing.PyIID: ...
|
||||
def Time(timeRepr, /) -> _win32typing.PyTime: ...
|
||||
def CreateGuid() -> _win32typing.PyIID: ...
|
||||
def ACL(__bufSize: int = ...) -> _win32typing.PyACL: ...
|
||||
def SID(buffer, idAuthority, subAuthorities, bufSize=...) -> _win32typing.PySID: ...
|
||||
def ACL(bufSize: int = ..., /) -> _win32typing.PyACL: ...
|
||||
def SID(buffer, idAuthority, subAuthorities, bufSize=..., /) -> _win32typing.PySID: ...
|
||||
def SECURITY_ATTRIBUTES() -> _win32typing.PySECURITY_ATTRIBUTES: ...
|
||||
def SECURITY_DESCRIPTOR() -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def HANDLE() -> HANDLEType: ...
|
||||
def HKEY() -> _win32typing.PyHKEY: ...
|
||||
def WAVEFORMATEX() -> _win32typing.PyWAVEFORMATEX: ...
|
||||
def TimeStamp(*args, **kwargs): ... # incomplete
|
||||
def TimeStamp(*args): ... # incomplete
|
||||
|
||||
FALSE: Literal[False]
|
||||
TRUE: Literal[True]
|
||||
|
||||
@@ -2,7 +2,7 @@ RASEAPF_Logon: int
|
||||
RASEAPF_NonInteractive: int
|
||||
RASEAPF_Preview: int
|
||||
|
||||
def GetEapUserIdentity(*args, **kwargs): ... # incomplete
|
||||
def GetEapUserIdentity(*args): ... # incomplete
|
||||
|
||||
RASCS_AllDevicesConnected: int
|
||||
RASCS_AuthAck: int
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import _win32typing
|
||||
|
||||
def OpenThemeData(hwnd: int, pszClasslist: str) -> _win32typing.PyHTHEME: ...
|
||||
def CloseThemeData(hTheme: _win32typing.PyHTHEME) -> None: ...
|
||||
def DrawThemeBackground(hTheme: _win32typing.PyHTHEME, hdc, iPartId, iStateId, pRect, pClipRect) -> None: ...
|
||||
def OpenThemeData(hwnd: int, pszClasslist: str, /) -> _win32typing.PyHTHEME: ...
|
||||
def CloseThemeData(hTheme: _win32typing.PyHTHEME, /) -> None: ...
|
||||
def DrawThemeBackground(hTheme: _win32typing.PyHTHEME, hdc, iPartId, iStateId, pRect, pClipRect, /) -> None: ...
|
||||
def DrawThemeText(
|
||||
hTheme: _win32typing.PyHTHEME, hdc, iPartId, iStateId, pszText: str, dwCharCount, dwTextFlags, dwTextFlags2, pRect
|
||||
hTheme: _win32typing.PyHTHEME, hdc, iPartId, iStateId, pszText: str, dwCharCount, dwTextFlags, dwTextFlags2, pRect, /
|
||||
) -> None: ...
|
||||
def GetThemeBackgroundContentRect(hTheme: _win32typing.PyHTHEME, hdc, iPartId, iStateId, pBoundingRect): ...
|
||||
def GetThemeBackgroundExtent(hTheme: _win32typing.PyHTHEME, hdc, iPartId, iStateId, pContentRect): ...
|
||||
def GetThemeBackgroundContentRect(hTheme: _win32typing.PyHTHEME, hdc, iPartId, iStateId, pBoundingRect, /): ...
|
||||
def GetThemeBackgroundExtent(hTheme: _win32typing.PyHTHEME, hdc, iPartId, iStateId, pContentRect, /): ...
|
||||
def IsThemeActive() -> int: ...
|
||||
def IsAppThemed() -> int: ...
|
||||
def GetWindowTheme(hwnd: int) -> _win32typing.PyHTHEME: ...
|
||||
def EnableThemeDialogTexture(hdlg, dwFlags) -> None: ...
|
||||
def IsThemeDialogTextureEnabled(__hdlg: int | None) -> bool: ...
|
||||
def GetWindowTheme(hwnd: int, /) -> _win32typing.PyHTHEME: ...
|
||||
def EnableThemeDialogTexture(hdlg, dwFlags, /) -> None: ...
|
||||
def IsThemeDialogTextureEnabled(hdlg: int | None, /) -> bool: ...
|
||||
def GetThemeAppProperties(): ...
|
||||
def EnableTheming(fEnable) -> None: ...
|
||||
def SetWindowTheme(hwnd: int, pszSubAppName: str, pszSubIdlist: str) -> None: ...
|
||||
def EnableTheming(fEnable, /) -> None: ...
|
||||
def SetWindowTheme(hwnd: int, pszSubAppName: str, pszSubIdlist: str, /) -> None: ...
|
||||
def GetCurrentThemeName() -> tuple[str, str, str]: ...
|
||||
|
||||
ETDT_DISABLE: int
|
||||
|
||||
@@ -4,8 +4,8 @@ from typing_extensions import TypeAlias
|
||||
|
||||
import _win32typing
|
||||
|
||||
def odbc(connectionString: str) -> _win32typing.connection: ...
|
||||
def SQLDataSources(direction) -> tuple[Incomplete, Incomplete]: ...
|
||||
def odbc(connectionString: str, /) -> _win32typing.connection: ...
|
||||
def SQLDataSources(direction, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
|
||||
_odbcError: TypeAlias = type # noqa: Y042 # Does not exist at runtime, but odbc.odbcError is a valid type.
|
||||
DATE: str
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import _win32typing
|
||||
|
||||
def LoadPerfCounterTextStrings(__commandLine: str) -> None: ...
|
||||
def UnloadPerfCounterTextStrings(__commandLine: str) -> None: ...
|
||||
def LoadPerfCounterTextStrings(commandLine: str, /) -> None: ...
|
||||
def UnloadPerfCounterTextStrings(commandLine: str, /) -> None: ...
|
||||
def CounterDefinition() -> _win32typing.PyPERF_COUNTER_DEFINITION: ...
|
||||
def ObjectType() -> _win32typing.PyPERF_OBJECT_TYPE: ...
|
||||
def PerfMonManager(
|
||||
@@ -9,4 +9,5 @@ def PerfMonManager(
|
||||
seqPerfObTypes: list[_win32typing.PyPERF_OBJECT_TYPE],
|
||||
mappingName: str | None = ...,
|
||||
eventSourceName: str | None = ...,
|
||||
/,
|
||||
) -> _win32typing.PyPerfMonManager: ...
|
||||
|
||||
@@ -2,20 +2,20 @@ from _typeshed import Incomplete
|
||||
|
||||
def CoInitializeEx() -> None: ...
|
||||
def CoUninitialize() -> None: ...
|
||||
def RegisterServiceCtrlHandler(serviceName: str, callback, extra_args: bool = ...): ...
|
||||
def LogMsg(__errorType: int, __eventId: int, __inserts: tuple[str, str] | None = ...) -> None: ...
|
||||
def LogInfoMsg(msg: str) -> None: ...
|
||||
def LogErrorMsg(msg: str) -> None: ...
|
||||
def LogWarningMsg(msg: str) -> None: ...
|
||||
def PumpWaitingMessages(__firstMessage: int = ..., __lastMessage: int = ...) -> int: ...
|
||||
def Debugging(newVal: int = ...): ...
|
||||
def Initialize(eventSourceName: str | None = ..., eventSourceFile: str | None = ...) -> None: ...
|
||||
def RegisterServiceCtrlHandler(serviceName: str, callback, extra_args: bool = ..., /): ...
|
||||
def LogMsg(errorType: int, eventId: int, inserts: tuple[str, str] | None = ..., /) -> None: ...
|
||||
def LogInfoMsg(msg: str, /) -> None: ...
|
||||
def LogErrorMsg(msg: str, /) -> None: ...
|
||||
def LogWarningMsg(msg: str, /) -> None: ...
|
||||
def PumpWaitingMessages(firstMessage: int = ..., lastMessage: int = ..., /) -> int: ...
|
||||
def Debugging(newVal: int = ..., /): ...
|
||||
def Initialize(eventSourceName: str | None = ..., eventSourceFile: str | None = ..., /) -> None: ...
|
||||
def Finalize() -> None: ...
|
||||
def PrepareToHostSingle(klass: Incomplete | None = ...) -> None: ...
|
||||
def PrepareToHostMultiple(service_name: str, klass) -> None: ...
|
||||
def PrepareToHostSingle(klass: Incomplete | None = ..., /) -> None: ...
|
||||
def PrepareToHostMultiple(service_name: str, klass, /) -> None: ...
|
||||
def RunningAsService(): ...
|
||||
def SetEventSourceName(sourceName: str, registerNow: bool = ...) -> None: ...
|
||||
def StartServiceCtrlDispatcher(*args, **kwargs): ... # incomplete
|
||||
def SetEventSourceName(sourceName: str, registerNow: bool = ..., /) -> None: ...
|
||||
def StartServiceCtrlDispatcher(*args): ... # incomplete
|
||||
|
||||
COINIT_APARTMENTTHREADED: int
|
||||
COINIT_DISABLE_OLE1DDE: int
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def set_timer(Elapse, TimerFunc): ...
|
||||
def kill_timer(timer_id): ...
|
||||
def set_timer(Elapse, TimerFunc, /): ...
|
||||
def kill_timer(timer_id, /): ...
|
||||
|
||||
__version__: bytes
|
||||
|
||||
@@ -25,111 +25,98 @@ class _FileVersionInfo(TypedDict):
|
||||
FileSubtype: int
|
||||
FileDate: None | Incomplete
|
||||
|
||||
def AbortSystemShutdown(computerName: str) -> None: ...
|
||||
def InitiateSystemShutdown(computerName: str, message: str, timeOut, bForceClose, bRebootAfterShutdown) -> None: ...
|
||||
def Apply(exceptionHandler, func, args): ...
|
||||
def Beep(freq, dur) -> None: ...
|
||||
def BeginUpdateResource(filename: str, delete) -> int: ...
|
||||
def ChangeDisplaySettings(DevMode: _win32typing.PyDEVMODE, Flags): ...
|
||||
def ChangeDisplaySettingsEx(DeviceName: Incomplete | None = ..., DevMode: _win32typing.PyDEVMODE | None = ..., Flags=...): ...
|
||||
def ClipCursor(arg: tuple[Incomplete, Incomplete, Incomplete, Incomplete]) -> None: ...
|
||||
def CloseHandle(__handle: int) -> None: ...
|
||||
def CopyFile(src, dest: str, bFailOnExist: int = ...) -> None: ...
|
||||
def AbortSystemShutdown(computerName: str, /) -> None: ...
|
||||
def InitiateSystemShutdown(computerName: str, message: str, timeOut, bForceClose, bRebootAfterShutdown, /) -> None: ...
|
||||
def Apply(exceptionHandler, func, args, /): ...
|
||||
def Beep(freq, dur, /) -> None: ...
|
||||
def BeginUpdateResource(filename: str, delete, /) -> int: ...
|
||||
def ChangeDisplaySettings(DevMode: _win32typing.PyDEVMODE, Flags, /): ...
|
||||
def ChangeDisplaySettingsEx(DeviceName: str | None = ..., DevMode: _win32typing.PyDEVMODE | None = ..., Flags=...) -> int: ...
|
||||
def ClipCursor(arg: tuple[Incomplete, Incomplete, Incomplete, Incomplete], /) -> None: ...
|
||||
def CloseHandle(handle: int, /) -> None: ...
|
||||
def CopyFile(src, dest: str, bFailOnExist: int = ..., /) -> None: ...
|
||||
def DebugBreak() -> None: ...
|
||||
def DeleteFile(fileName: str) -> None: ...
|
||||
def DragQueryFile(hDrop, fileNum: int = ...) -> str: ...
|
||||
def DragFinish(hDrop) -> None: ...
|
||||
def DeleteFile(fileName: str, /) -> None: ...
|
||||
def DragQueryFile(hDrop, fileNum: int = ..., /) -> str: ...
|
||||
def DragFinish(hDrop, /) -> None: ...
|
||||
def DuplicateHandle(
|
||||
__hSourceProcess: int,
|
||||
__hSource: int,
|
||||
__hTargetProcessHandle: int,
|
||||
__desiredAccess: int,
|
||||
__bInheritHandle: int,
|
||||
__options: int,
|
||||
hSourceProcess: int, hSource: int, hTargetProcessHandle: int, desiredAccess: int, bInheritHandle: int, options: int, /
|
||||
) -> int: ...
|
||||
def EndUpdateResource(handle: int, discard) -> None: ...
|
||||
def EndUpdateResource(handle: int, discard, /) -> None: ...
|
||||
def EnumDisplayDevices(Device: str | None = ..., DevNum: int = ..., Flags: int = ...) -> _win32typing.PyDISPLAY_DEVICE: ...
|
||||
def EnumDisplayMonitors(
|
||||
hdc: int | None = ..., rcClip: _win32typing.PyRECT | None = ...
|
||||
) -> list[tuple[_win32typing.PyHANDLE, _win32typing.PyHANDLE, tuple[int, int, int, int]]]: ...
|
||||
def EnumDisplaySettings(DeviceName: str | None = ..., ModeNum: int = ...) -> _win32typing.PyDEVMODEW: ...
|
||||
def EnumDisplaySettingsEx(ModeNum, DeviceName: str | None = ..., Flags=...) -> _win32typing.PyDEVMODEW: ...
|
||||
def EnumDisplaySettingsEx(DeviceName: str | None = ..., ModeNum=..., Flags=...) -> _win32typing.PyDEVMODEW: ...
|
||||
def EnumResourceLanguages(
|
||||
hmodule: int, lpType: _win32typing.PyResourceId, lpName: _win32typing.PyResourceId
|
||||
hmodule: int, lpType: _win32typing.PyResourceId, lpName: _win32typing.PyResourceId, /
|
||||
) -> list[Incomplete]: ...
|
||||
def EnumResourceNames(hmodule: int, resType: _win32typing.PyResourceId) -> list[str]: ...
|
||||
def EnumResourceTypes(hmodule: int) -> list[Incomplete]: ...
|
||||
def ExpandEnvironmentStrings(_in: str) -> str: ...
|
||||
def ExitWindows(reserved1: int = ..., reserved2: int = ...) -> None: ...
|
||||
def ExitWindowsEx(flags, reserved: int = ...) -> None: ...
|
||||
def FindFiles(fileSpec: str): ...
|
||||
def FindFirstChangeNotification(pathName: str, bSubDirs, _filter): ...
|
||||
def FindNextChangeNotification(handle: int) -> None: ...
|
||||
def FindCloseChangeNotification(handle) -> None: ...
|
||||
def FindExecutable(filename: str, _dir: str) -> tuple[Incomplete, str]: ...
|
||||
def EnumResourceNames(hmodule: int, resType: _win32typing.PyResourceId, /) -> list[str]: ...
|
||||
def EnumResourceTypes(hmodule: int, /) -> list[Incomplete]: ...
|
||||
def ExpandEnvironmentStrings(_in: str, /) -> str: ...
|
||||
def ExitWindows(reserved1: int = ..., reserved2: int = ..., /) -> None: ...
|
||||
def ExitWindowsEx(flags, reserved: int = ..., /) -> None: ...
|
||||
def FindFiles(fileSpec: str, /): ...
|
||||
def FindFirstChangeNotification(pathName: str, bSubDirs, _filter, /): ...
|
||||
def FindNextChangeNotification(handle: int, /) -> None: ...
|
||||
def FindCloseChangeNotification(handle, /) -> None: ...
|
||||
def FindExecutable(filename: str, _dir: str, /) -> tuple[Incomplete, str]: ...
|
||||
def FormatMessage(
|
||||
__flags: int,
|
||||
__source: str | None = ...,
|
||||
__messageId: int = ...,
|
||||
__languageID: int = ...,
|
||||
__inserts: Iterable[str] | None = ...,
|
||||
flags: int, source: str | None = ..., messageId: int = ..., languageID: int = ..., inserts: Iterable[str] | None = ..., /
|
||||
) -> str: ...
|
||||
def FormatMessageW(
|
||||
__flags: int,
|
||||
__source: int | None = ...,
|
||||
__messageId: int = ...,
|
||||
__languageID: int = ...,
|
||||
__inserts: Iterable[str] | None = ...,
|
||||
flags: int, source: int | None = ..., messageId: int = ..., languageID: int = ..., inserts: Iterable[str] | None = ..., /
|
||||
) -> str: ...
|
||||
def FreeLibrary(hModule: int) -> None: ...
|
||||
def GenerateConsoleCtrlEvent(__controlEvent: int, __processGroupId: int) -> None: ...
|
||||
def GetAsyncKeyState(key): ...
|
||||
def FreeLibrary(hModule: int, /) -> None: ...
|
||||
def GenerateConsoleCtrlEvent(controlEvent: int, processGroupId: int, /) -> None: ...
|
||||
def GetAsyncKeyState(key, /): ...
|
||||
def GetCommandLine() -> str: ...
|
||||
def GetComputerName() -> str: ...
|
||||
def GetComputerNameEx(NameType) -> str: ...
|
||||
def GetComputerObjectName(NameFormat) -> str: ...
|
||||
def GetComputerNameEx(NameType, /) -> str: ...
|
||||
def GetComputerObjectName(NameFormat, /) -> str: ...
|
||||
def GetMonitorInfo(hMonitor: int) -> _MonitorInfo: ...
|
||||
def GetUserName() -> str: ...
|
||||
def GetUserNameEx(__NameFormat: int) -> str: ...
|
||||
def GetUserNameEx(NameFormat: int, /) -> str: ...
|
||||
def GetCursorPos() -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetCurrentThread(): ...
|
||||
def GetCurrentThreadId(): ...
|
||||
def GetCurrentProcessId(): ...
|
||||
def GetCurrentProcess() -> int: ...
|
||||
def GetConsoleTitle() -> str: ...
|
||||
def GetDateFormat(locale, flags, time: _win32typing.PyTime, _format: str) -> str: ...
|
||||
def GetDiskFreeSpace(rootPath: str): ...
|
||||
def GetDiskFreeSpaceEx(__rootPath: str) -> tuple[int, int, int]: ...
|
||||
def GetDateFormat(locale, flags, time: _win32typing.PyTime, _format: str, /) -> str: ...
|
||||
def GetDiskFreeSpace(rootPath: str, /): ...
|
||||
def GetDiskFreeSpaceEx(rootPath: str, /) -> tuple[int, int, int]: ...
|
||||
def GetDllDirectory() -> str: ...
|
||||
def GetDomainName() -> str: ...
|
||||
def GetEnvironmentVariable(variable): ...
|
||||
def GetEnvironmentVariableW(Name) -> str: ...
|
||||
def GetFileAttributes(pathName: str): ...
|
||||
def GetFileVersionInfo(__Filename: str, __SubBlock: str) -> _FileVersionInfo: ...
|
||||
def GetEnvironmentVariable(variable, /): ...
|
||||
def GetEnvironmentVariableW(Name, /) -> str: ...
|
||||
def GetFileAttributes(pathName: str, /): ...
|
||||
def GetFileVersionInfo(Filename: str, SubBlock: str, /) -> _FileVersionInfo: ...
|
||||
def GetFocus(): ...
|
||||
def GetFullPathName(fileName: str) -> str: ...
|
||||
def GetHandleInformation(__Object: int): ...
|
||||
def GetKeyboardLayout(threadId: int = ...): ...
|
||||
def GetFullPathName(fileName: str, /) -> str: ...
|
||||
def GetHandleInformation(Object: int, /): ...
|
||||
def GetKeyboardLayout(threadId: int = ..., /): ...
|
||||
def GetKeyboardLayoutName(): ...
|
||||
def GetKeyboardState() -> str: ...
|
||||
def GetKeyState(key): ...
|
||||
def GetKeyState(key, /): ...
|
||||
def GetLastError(): ...
|
||||
def GetLastInputInfo(): ...
|
||||
def GetLocalTime(): ...
|
||||
def GetLongPathName(__fileName: str) -> str: ...
|
||||
def GetLongPathNameW(fileName: str) -> str: ...
|
||||
def GetLongPathName(fileName: str, /) -> str: ...
|
||||
def GetLongPathNameW(fileName: str, /) -> str: ...
|
||||
def GetLogicalDrives(): ...
|
||||
def GetLogicalDriveStrings() -> str: ...
|
||||
def GetModuleFileName(hModule: int) -> str: ...
|
||||
def GetModuleFileNameW(hModule: int) -> str: ...
|
||||
def GetModuleHandle(__fileName: str | None = ...) -> int: ...
|
||||
def GetModuleFileName(hModule: int, /) -> str: ...
|
||||
def GetModuleFileNameW(hModule: int, /) -> str: ...
|
||||
def GetModuleHandle(fileName: str | None = ..., /) -> int: ...
|
||||
def GetPwrCapabilities(): ...
|
||||
def GetProfileSection(section: str, iniName: str | None = ...): ...
|
||||
def GetProcAddress(hModule: int, functionName: _win32typing.PyResourceId): ...
|
||||
def GetProfileVal(section: str, entry: str, defValue: str, iniName: str | None = ...) -> str: ...
|
||||
def GetShortPathName(path: str) -> str: ...
|
||||
def GetStdHandle(__handle: int) -> _win32typing.PyHANDLE: ...
|
||||
def GetSysColor(index): ...
|
||||
def GetProfileSection(section: str, iniName: str | None = ..., /): ...
|
||||
def GetProcAddress(hModule: int, functionName: _win32typing.PyResourceId, /): ...
|
||||
def GetProfileVal(section: str, entry: str, defValue: str, iniName: str | None = ..., /) -> str: ...
|
||||
def GetShortPathName(path: str, /) -> str: ...
|
||||
def GetStdHandle(handle: int, /) -> _win32typing.PyHANDLE: ...
|
||||
def GetSysColor(index, /): ...
|
||||
def GetSystemDefaultLangID(): ...
|
||||
def GetSystemDefaultLCID(): ...
|
||||
def GetSystemDirectory() -> str: ...
|
||||
@@ -137,148 +124,149 @@ def GetSystemFileCacheSize(): ...
|
||||
def SetSystemFileCacheSize(MinimumFileCacheSize, MaximumFileCacheSize, Flags=...) -> None: ...
|
||||
def GetSystemInfo(): ...
|
||||
def GetNativeSystemInfo(): ...
|
||||
def GetSystemMetrics(__index: int) -> int: ...
|
||||
def GetSystemMetrics(index: int, /) -> int: ...
|
||||
def GetSystemPowerStatus() -> dict[str, int]: ...
|
||||
def GetSystemTime(): ...
|
||||
def GetTempFileName(path: str, prefix: str, nUnique): ...
|
||||
def GetTempFileName(path: str, prefix: str, nUnique, /): ...
|
||||
def GetTempPath() -> str: ...
|
||||
def GetThreadLocale(): ...
|
||||
def GetTickCount() -> int: ...
|
||||
def GetTimeFormat(locale, flags, time: _win32typing.PyTime, _format: str) -> str: ...
|
||||
def GetTimeZoneInformation(times_as_tuples: bool = ...): ...
|
||||
def GetTimeFormat(locale, flags, time: _win32typing.PyTime, _format: str, /) -> str: ...
|
||||
def GetTimeZoneInformation(times_as_tuples: bool = ..., /): ...
|
||||
def GetVersion(): ...
|
||||
def GetVersionEx(_format: int = ...): ...
|
||||
def GetVolumeInformation(path: str): ...
|
||||
def GetVersionEx(_format: int = ..., /): ...
|
||||
def GetVolumeInformation(path: str, /): ...
|
||||
def GetWindowsDirectory() -> str: ...
|
||||
def GetWindowLong(__hwnd: int | None, __offset: int) -> int: ...
|
||||
def GetWindowLong(hwnd: int | None, offset: int, /) -> int: ...
|
||||
def GetUserDefaultLangID(): ...
|
||||
def GetUserDefaultLCID(): ...
|
||||
def GlobalMemoryStatus(): ...
|
||||
def GlobalMemoryStatusEx() -> dict[str, int]: ...
|
||||
def keybd_event(bVk, bScan, dwFlags: int = ..., dwExtraInfo: int = ...) -> None: ...
|
||||
def mouse_event(dx, dy, dwData, dwFlags: int = ..., dwExtraInfo=...) -> None: ...
|
||||
def LoadCursor(hInstance: int, cursorid: _win32typing.PyResourceId) -> int: ...
|
||||
def LoadKeyboardLayout(KLID: str, Flags: int = ...): ...
|
||||
def LoadLibrary(fileName: str): ...
|
||||
def LoadLibraryEx(fileName: str, handle: int, handle1) -> int: ...
|
||||
def LoadResource(handle: int, _type: _win32typing.PyResourceId, name: _win32typing.PyResourceId, language) -> str: ...
|
||||
def LoadString(handle: int, stringId, numChars: int = ...) -> str: ...
|
||||
def MessageBeep(arg): ...
|
||||
def MessageBox(hwnd: int, message: str, title: str, arg, arg1): ...
|
||||
def keybd_event(bVk, bScan, dwFlags: int = ..., dwExtraInfo: int = ..., /) -> None: ...
|
||||
def mouse_event(dx, dy, dwData, dwFlags: int = ..., dwExtraInfo=..., /) -> None: ...
|
||||
def LoadCursor(hInstance: int, cursorid: _win32typing.PyResourceId, /) -> int: ...
|
||||
def LoadKeyboardLayout(KLID: str, Flags: int = ..., /): ...
|
||||
def LoadLibrary(fileName: str, /): ...
|
||||
def LoadLibraryEx(fileName: str, handle: int, handle1, /) -> int: ...
|
||||
def LoadResource(handle: int, _type: _win32typing.PyResourceId, name: _win32typing.PyResourceId, language, /) -> str: ...
|
||||
def LoadString(handle: int, stringId, numChars: int = ..., /) -> str: ...
|
||||
def MessageBeep(arg, /): ...
|
||||
def MessageBox(hwnd: int, message: str, title: str, arg, arg1, /): ...
|
||||
def MonitorFromPoint(pt: tuple[Incomplete, Incomplete], Flags: int = ...) -> int: ...
|
||||
def MonitorFromRect(__rc: _win32typing.PyRECT | tuple[int, int, int, int], __Flags: int = ...) -> int: ...
|
||||
def MonitorFromRect(rc: _win32typing.PyRECT | tuple[int, int, int, int], Flags: int = ...) -> int: ...
|
||||
def MonitorFromWindow(hwnd: int, Flags: int = ...) -> int: ...
|
||||
def MoveFile(srcName: str, destName: str) -> None: ...
|
||||
def MoveFileEx(srcName: str, destName: str, flag) -> None: ...
|
||||
def OpenProcess(__reqdAccess: int, __bInherit: int | bool, __pid: int) -> int: ...
|
||||
def OutputDebugString(msg: str) -> None: ...
|
||||
def PostMessage(hwnd: int, idMessage, wParam: Incomplete | None = ..., lParam: Incomplete | None = ...) -> None: ...
|
||||
def PostQuitMessage(__exitCode: int = ...) -> None: ...
|
||||
def PostThreadMessage(tid, idMessage, wParam: Incomplete | None = ..., lParam: Incomplete | None = ...) -> None: ...
|
||||
def RegCloseKey(key: _win32typing.PyHKEY) -> None: ...
|
||||
def RegConnectRegistry(computerName: str, key): ...
|
||||
def MoveFile(srcName: str, destName: str, /) -> None: ...
|
||||
def MoveFileEx(srcName: str, destName: str, flag, /) -> None: ...
|
||||
def OpenProcess(reqdAccess: int, bInherit: int | bool, pid: int, /) -> int: ...
|
||||
def OutputDebugString(msg: str, /) -> None: ...
|
||||
def PostMessage(hwnd: int, idMessage, wParam: Incomplete | None = ..., lParam: Incomplete | None = ..., /) -> None: ...
|
||||
def PostQuitMessage(exitCode: int = ..., /) -> None: ...
|
||||
def PostThreadMessage(tid, idMessage, wParam: Incomplete | None = ..., lParam: Incomplete | None = ..., /) -> None: ...
|
||||
def RegCloseKey(key: _win32typing.PyHKEY, /) -> None: ...
|
||||
def RegConnectRegistry(computerName: str, key, /): ...
|
||||
def RegCopyTree(KeySrc: _win32typing.PyHKEY, SubKey: str, KeyDest: _win32typing.PyHKEY) -> None: ...
|
||||
def RegCreateKey(key: _win32typing.PyHKEY | int, subKey: str) -> _win32typing.PyHKEY: ...
|
||||
def RegCreateKey(key: _win32typing.PyHKEY | int, subKey: str, /) -> _win32typing.PyHKEY: ...
|
||||
def RegCreateKeyEx(
|
||||
Key: _win32typing.PyHKEY,
|
||||
SubKey: str,
|
||||
samDesired,
|
||||
Options,
|
||||
Class: str | None = ...,
|
||||
Options=...,
|
||||
SecurityAttributes: _win32typing.PySECURITY_ATTRIBUTES | None = ...,
|
||||
Transaction: int | None = ...,
|
||||
) -> tuple[_win32typing.PyHKEY, Incomplete]: ...
|
||||
def RegDeleteKey(key: _win32typing.PyHKEY, subKey: str) -> None: ...
|
||||
def RegDeleteKey(key: _win32typing.PyHKEY, subKey: str, /) -> None: ...
|
||||
def RegDeleteKeyEx(Key: _win32typing.PyHKEY, SubKey: str, samDesired: int = ..., Transaction: int | None = ...) -> None: ...
|
||||
def RegDeleteTree(Key: _win32typing.PyHKEY, SubKey: str) -> None: ...
|
||||
def RegDeleteValue(key: _win32typing.PyHKEY, value: str) -> None: ...
|
||||
def RegEnumKey(key: _win32typing.PyHKEY, index) -> str: ...
|
||||
def RegEnumKeyEx(Key: _win32typing.PyHKEY): ...
|
||||
def RegEnumKeyExW(Key: _win32typing.PyHKEY): ...
|
||||
def RegEnumValue(key: _win32typing.PyHKEY, index) -> tuple[str, Incomplete, Incomplete]: ...
|
||||
def RegFlushKey(key: _win32typing.PyHKEY) -> None: ...
|
||||
def RegGetKeySecurity(key: _win32typing.PyHKEY, security_info) -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def RegLoadKey(key: _win32typing.PyHKEY, subKey: str, filename: str) -> None: ...
|
||||
def RegOpenCurrentUser(samDesired) -> _win32typing.PyHKEY: ...
|
||||
def RegDeleteValue(key: _win32typing.PyHKEY, value: str, /) -> None: ...
|
||||
def RegEnumKey(key: _win32typing.PyHKEY, index, /) -> str: ...
|
||||
def RegEnumKeyEx(Key: _win32typing.PyHKEY, /): ...
|
||||
def RegEnumKeyExW(Key: _win32typing.PyHKEY, /): ...
|
||||
def RegEnumValue(key: _win32typing.PyHKEY, index, /) -> tuple[str, Incomplete, Incomplete]: ...
|
||||
def RegFlushKey(key: _win32typing.PyHKEY, /) -> None: ...
|
||||
def RegGetKeySecurity(key: _win32typing.PyHKEY, security_info, /) -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def RegLoadKey(key: _win32typing.PyHKEY, subKey: str, filename: str, /) -> None: ...
|
||||
def RegOpenCurrentUser(samDesired, /) -> _win32typing.PyHKEY: ...
|
||||
def RegOpenKey(
|
||||
__key: _win32typing.PyHKEY | int, __subkey: str | None, __reserved: bool = ..., __sam: int = ...
|
||||
key: _win32typing.PyHKEY | int, subkey: str | None, reserved: bool = ..., sam: int = ..., /
|
||||
) -> _win32typing.PyHKEY: ...
|
||||
def RegOpenKeyEx(__key: _win32typing.PyHKEY, __subKey: str, __sam: int, __reserved: bool = ...) -> _win32typing.PyHKEY: ...
|
||||
def RegOpenKeyEx(key: _win32typing.PyHKEY, subKey: str, sam: int, reserved: bool = ..., /) -> _win32typing.PyHKEY: ...
|
||||
def RegOpenKeyTransacted(
|
||||
Key: _win32typing.PyHKEY, SubKey: str, samDesired, Transaction: int, Options: int = ...
|
||||
) -> _win32typing.PyHKEY: ...
|
||||
def RegOverridePredefKey(Key: _win32typing.PyHKEY, NewKey: _win32typing.PyHKEY) -> None: ...
|
||||
def RegQueryValue(key: _win32typing.PyHKEY, subKey: str) -> str: ...
|
||||
def RegQueryValueEx(__key: _win32typing.PyHKEY | int, __valueName: str | None) -> tuple[str, int]: ...
|
||||
def RegQueryInfoKey(key: _win32typing.PyHKEY) -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
||||
def RegQueryInfoKeyW(Key: _win32typing.PyHKEY): ...
|
||||
def RegQueryValue(key: _win32typing.PyHKEY, subKey: str, /) -> str: ...
|
||||
def RegQueryValueEx(key: _win32typing.PyHKEY | int, valueName: str | None, /) -> tuple[str, int]: ...
|
||||
def RegQueryInfoKey(key: _win32typing.PyHKEY, /) -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
||||
def RegQueryInfoKeyW(Key: _win32typing.PyHKEY, /): ...
|
||||
def RegRestoreKey(Key: _win32typing.PyHKEY, File: str, Flags: int = ...) -> None: ...
|
||||
def RegSaveKey(key: _win32typing.PyHKEY, filename: str, sa: _win32typing.PySECURITY_ATTRIBUTES | None = ...) -> None: ...
|
||||
def RegSaveKey(key: _win32typing.PyHKEY, filename: str, sa: _win32typing.PySECURITY_ATTRIBUTES | None = ..., /) -> None: ...
|
||||
def RegSaveKeyEx(
|
||||
Key: _win32typing.PyHKEY, File: str, Flags, SecurityAttributes: _win32typing.PySECURITY_ATTRIBUTES | None = ...
|
||||
Key: _win32typing.PyHKEY, File: str, SecurityAttributes: _win32typing.PySECURITY_ATTRIBUTES | None = ..., Flags=...
|
||||
) -> None: ...
|
||||
def RegSetKeySecurity(key: _win32typing.PyHKEY, security_info, sd: _win32typing.PySECURITY_DESCRIPTOR) -> None: ...
|
||||
def RegSetValue(key: _win32typing.PyHKEY, subKey: str | None, _type, value: str) -> None: ...
|
||||
def RegSetValueEx(key: _win32typing.PyHKEY, valueName: str, reserved, _type, value) -> None: ...
|
||||
def RegUnLoadKey(key: _win32typing.PyHKEY, subKey: str) -> None: ...
|
||||
def RegisterWindowMessage(msgString: str) -> None: ...
|
||||
def RegNotifyChangeKeyValue(key: _win32typing.PyHKEY, bWatchSubTree, dwNotifyFilter, hKey: int, fAsynchronous) -> None: ...
|
||||
def SearchPath(path: str, fileName: str, fileExt: str | None = ...): ...
|
||||
def SendMessage(hwnd: int, idMessage, wParam: str | None = ..., lParam: str | None = ...) -> None: ...
|
||||
def SetConsoleCtrlHandler(__ctrlHandler: Callable[[int], bool], __bAdd: bool) -> None: ...
|
||||
def SetConsoleTitle(title: str) -> None: ...
|
||||
def SetCursorPos(arg: tuple[Incomplete, Incomplete]) -> None: ...
|
||||
def SetDllDirectory(PathName: str) -> None: ...
|
||||
def SetErrorMode(errorMode): ...
|
||||
def SetFileAttributes(pathName: str, attrs): ...
|
||||
def RegSetKeySecurity(key: _win32typing.PyHKEY, security_info, sd: _win32typing.PySECURITY_DESCRIPTOR, /) -> None: ...
|
||||
def RegSetValue(key: _win32typing.PyHKEY, subKey: str | None, _type, value: str, /) -> None: ...
|
||||
def RegSetValueEx(key: _win32typing.PyHKEY, valueName: str, reserved, _type, value, /) -> None: ...
|
||||
def RegUnLoadKey(key: _win32typing.PyHKEY, subKey: str, /) -> None: ...
|
||||
def RegisterWindowMessage(msgString: str, /) -> None: ...
|
||||
def RegNotifyChangeKeyValue(key: _win32typing.PyHKEY, bWatchSubTree, dwNotifyFilter, hKey: int, fAsynchronous, /) -> None: ...
|
||||
def SearchPath(path: str, fileName: str, fileExt: str | None = ..., /): ...
|
||||
def SendMessage(hwnd: int, idMessage, wParam: str | None = ..., lParam: str | None = ..., /) -> None: ...
|
||||
def SetConsoleCtrlHandler(ctrlHandler: Callable[[int], bool], bAdd: bool, /) -> None: ...
|
||||
def SetConsoleTitle(title: str, /) -> None: ...
|
||||
def SetCursorPos(arg: tuple[Incomplete, Incomplete], /) -> None: ...
|
||||
def SetDllDirectory(PathName: str, /) -> None: ...
|
||||
def SetErrorMode(errorMode, /): ...
|
||||
def SetFileAttributes(pathName: str, attrs, /): ...
|
||||
def SetLastError(): ...
|
||||
def SetSysColors(Elements, RgbValues) -> None: ...
|
||||
def SetLocalTime(SystemTime: _win32typing.PyTime) -> None: ...
|
||||
def SetSystemTime(year, month, dayOfWeek, day, hour, minute, second, millseconds): ...
|
||||
def SetClassLong(hwnd: int, offset, val): ...
|
||||
def SetClassWord(hwnd: int, offset, val): ...
|
||||
def SetCursor(hCursor: int) -> int: ...
|
||||
def SetEnvironmentVariable(Name, Value) -> None: ...
|
||||
def SetEnvironmentVariableW(Name, Value) -> None: ...
|
||||
def SetHandleInformation(Object: int, Mask, Flags) -> None: ...
|
||||
def SetStdHandle(handle, handle1: int) -> None: ...
|
||||
def SetSystemPowerState(Suspend, Force) -> None: ...
|
||||
def SetThreadLocale(lcid) -> None: ...
|
||||
def SetTimeZoneInformation(tzi): ...
|
||||
def SetWindowLong(__hwnd: int | None, __offset: int, __value: float) -> int: ...
|
||||
def ShellExecute(hwnd: int, op: str, file: str, params: str, _dir: str, bShow): ...
|
||||
def ShowCursor(show): ...
|
||||
def Sleep(time, bAlterable: int = ...): ...
|
||||
def TerminateProcess(__handle: int, __exitCode: int) -> None: ...
|
||||
def ToAsciiEx(vk, scancode, keyboardstate, flags: int = ..., hlayout: Incomplete | None = ...): ...
|
||||
def SetSysColors(Elements, RgbValues, /) -> None: ...
|
||||
def SetLocalTime(SystemTime: _win32typing.PyTime, /) -> None: ...
|
||||
def SetSystemTime(year, month, dayOfWeek, day, hour, minute, second, millseconds, /): ...
|
||||
def SetClassLong(hwnd: int, offset, val, /): ...
|
||||
def SetClassWord(hwnd: int, offset, val, /): ...
|
||||
def SetCursor(hCursor: int, /) -> int: ...
|
||||
def SetEnvironmentVariable(Name, Value, /) -> None: ...
|
||||
def SetEnvironmentVariableW(Name, Value, /) -> None: ...
|
||||
def SetHandleInformation(Object: int, Mask, Flags, /) -> None: ...
|
||||
def SetStdHandle(handle, handle1: int, /) -> None: ...
|
||||
def SetSystemPowerState(Suspend, Force, /) -> None: ...
|
||||
def SetThreadLocale(lcid, /) -> None: ...
|
||||
def SetTimeZoneInformation(tzi, /): ...
|
||||
def SetWindowLong(hwnd: int | None, offset: int, value: float, /) -> int: ...
|
||||
def ShellExecute(hwnd: int, op: str, file: str, params: str, _dir: str, bShow, /): ...
|
||||
def ShowCursor(show, /): ...
|
||||
def Sleep(time, bAlterable: int = ..., /): ...
|
||||
def TerminateProcess(handle: int, exitCode: int, /) -> None: ...
|
||||
def ToAsciiEx(vk, scancode, keyboardstate, flags: int = ..., hlayout: Incomplete | None = ..., /): ...
|
||||
def Unicode() -> str: ...
|
||||
def UpdateResource(
|
||||
__handle: int,
|
||||
__type: _win32typing.PyResourceId | int,
|
||||
__name: _win32typing.PyResourceId | int,
|
||||
__data: ReadableBuffer | None,
|
||||
handle: int,
|
||||
type: _win32typing.PyResourceId | int,
|
||||
name: _win32typing.PyResourceId | int,
|
||||
data: ReadableBuffer | None,
|
||||
language: int = ...,
|
||||
/,
|
||||
) -> None: ...
|
||||
def VkKeyScan(char, char1): ...
|
||||
def WinExec(cmdLine: str, arg) -> None: ...
|
||||
def WinHelp(hwnd: int, hlpFile: str, cmd, data: str | int = ...) -> None: ...
|
||||
def WriteProfileSection(section: str, data: str, iniName: str | None = ...): ...
|
||||
def WriteProfileVal(section: str, entry: str, value: str, iniName: str | None = ...) -> None: ...
|
||||
def HIBYTE(__val: int) -> int: ...
|
||||
def LOBYTE(__val: int) -> int: ...
|
||||
def HIWORD(__val: int) -> int: ...
|
||||
def LOWORD(__val: int) -> int: ...
|
||||
def RGB(red, green, blue): ...
|
||||
def MAKELANGID(PrimaryLanguage, SubLanguage): ...
|
||||
def MAKEWORD(low, high): ...
|
||||
def MAKELONG(low, high): ...
|
||||
def CommandLineToArgv(*args, **kwargs): ... # incomplete
|
||||
def GetKeyboardLayoutList(*args, **kwargs): ... # incomplete
|
||||
def MapVirtualKey(*args, **kwargs): ... # incomplete
|
||||
def MessageBoxEx(*args, **kwargs): ... # incomplete
|
||||
def OpenThread(*args, **kwargs): ... # incomplete
|
||||
def SleepEx(*args, **kwargs): ... # incomplete
|
||||
def VkKeyScanEx(*args, **kwargs): ... # incomplete
|
||||
def VkKeyScan(char, char1, /): ...
|
||||
def WinExec(cmdLine: str, arg, /) -> None: ...
|
||||
def WinHelp(hwnd: int, hlpFile: str, cmd, data: str | int = ..., /) -> None: ...
|
||||
def WriteProfileSection(section: str, data: str, iniName: str | None = ..., /): ...
|
||||
def WriteProfileVal(section: str, entry: str, value: str, iniName: str | None = ..., /) -> None: ...
|
||||
def HIBYTE(val: int, /) -> int: ...
|
||||
def LOBYTE(val: int, /) -> int: ...
|
||||
def HIWORD(val: int, /) -> int: ...
|
||||
def LOWORD(val: int, /) -> int: ...
|
||||
def RGB(red, green, blue, /): ...
|
||||
def MAKELANGID(PrimaryLanguage, SubLanguage, /): ...
|
||||
def MAKEWORD(low, high, /): ...
|
||||
def MAKELONG(low, high, /): ...
|
||||
def CommandLineToArgv(*args): ... # incomplete
|
||||
def GetKeyboardLayoutList(*args): ... # incomplete
|
||||
def MapVirtualKey(*args): ... # incomplete
|
||||
def MessageBoxEx(*args): ... # incomplete
|
||||
def OpenThread(*args): ... # incomplete
|
||||
def SleepEx(*args): ... # incomplete
|
||||
def VkKeyScanEx(*args): ... # incomplete
|
||||
|
||||
NameCanonical: int
|
||||
NameCanonicalEx: int
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def ChangeClipboardChain(hWndRemove: int, hWndNewNext: int): ...
|
||||
def ChangeClipboardChain(hWndRemove: int, hWndNewNext: int, /): ...
|
||||
def CloseClipboard(): ...
|
||||
def CountClipboardFormats(): ...
|
||||
def EmptyClipboard(): ...
|
||||
def EnumClipboardFormats(_format: int = ...): ...
|
||||
def GetClipboardData(_format) -> str: ...
|
||||
def GetClipboardDataHandle(_format): ...
|
||||
def GetClipboardFormatName(_format) -> str: ...
|
||||
def EnumClipboardFormats(_format: int = ..., /): ...
|
||||
def GetClipboardData(_format, /) -> str: ...
|
||||
def GetClipboardDataHandle(_format, /): ...
|
||||
def GetClipboardFormatName(_format, /) -> str: ...
|
||||
def GetClipboardOwner(): ...
|
||||
def GetClipboardSequenceNumber(): ...
|
||||
def GetClipboardViewer(): ...
|
||||
def GetGlobalMemory(hglobal: int) -> str: ...
|
||||
def GetGlobalMemory(hglobal: int, /) -> str: ...
|
||||
def GetOpenClipboardWindow(): ...
|
||||
def GetPriorityClipboardFormat(formats): ...
|
||||
def IsClipboardFormatAvailable(__format: int) -> int: ...
|
||||
def OpenClipboard(hWnd: int | None = ...): ...
|
||||
def RegisterClipboardFormat(name: str): ...
|
||||
def SetClipboardData(_format, hMem): ...
|
||||
def SetClipboardText(text, _format): ...
|
||||
def SetClipboardViewer(hWndNewViewer: int) -> int: ...
|
||||
def GetPriorityClipboardFormat(formats, /): ...
|
||||
def IsClipboardFormatAvailable(format: int, /) -> int: ...
|
||||
def OpenClipboard(hWnd: int | None = ..., /): ...
|
||||
def RegisterClipboardFormat(name: str, /): ...
|
||||
def SetClipboardData(_format, hMem, /): ...
|
||||
def SetClipboardText(text, _format, /): ...
|
||||
def SetClipboardViewer(hWndNewViewer: int, /) -> int: ...
|
||||
|
||||
CF_BITMAP: int
|
||||
CF_DIB: int
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
from typing import Literal, NoReturn, overload
|
||||
|
||||
import _win32typing
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def GetConsoleProcessList() -> tuple[int, ...]: ...
|
||||
def CreateConsoleScreenBuffer(
|
||||
DesiredAccess, ShareMode, Flags, SecurityAttributes: _win32typing.PySECURITY_ATTRIBUTES | None = ...
|
||||
DesiredAccess=..., ShareMode=..., SecurityAttributes: _win32typing.PySECURITY_ATTRIBUTES | None = ..., Flags=...
|
||||
) -> _win32typing.PyConsoleScreenBuffer: ...
|
||||
def GetConsoleDisplayMode(): ...
|
||||
def AttachConsole(ProcessId) -> None: ...
|
||||
@@ -14,15 +17,17 @@ def SetConsoleCP(CodePageId) -> None: ...
|
||||
def SetConsoleOutputCP(CodePageID) -> None: ...
|
||||
def GetConsoleSelectionInfo(): ...
|
||||
def AddConsoleAlias(Source, Target, ExeName) -> None: ...
|
||||
def GetConsoleAliases(ExeName): ...
|
||||
def GetConsoleAliases(ExeName: str) -> str: ...
|
||||
def GetConsoleAliasExes(): ...
|
||||
def GetConsoleWindow(): ...
|
||||
def GetNumberOfConsoleFonts(): ...
|
||||
def SetConsoleTitle(ConsoleTitle) -> None: ...
|
||||
def SetConsoleTitle(ConsoleTitle: str) -> None: ...
|
||||
def GetConsoleTitle(): ...
|
||||
def GenerateConsoleCtrlEvent(__CtrlEvent: int, __ProcessGroupId: int = ...) -> None: ...
|
||||
def GetStdHandle(__StdHandle: int) -> _win32typing.PyConsoleScreenBuffer: ...
|
||||
def GetConsoleProcessList(*args, **kwargs): ... # incomplete
|
||||
@overload
|
||||
def GenerateConsoleCtrlEvent(CtrlEvent: Literal[1], ProcessGroupId: Literal[0] = ...) -> NoReturn: ...
|
||||
@overload
|
||||
def GenerateConsoleCtrlEvent(CtrlEvent: Literal[0, 1], ProcessGroupId: int) -> None: ...
|
||||
def GetStdHandle(StdHandle: int) -> _win32typing.PyConsoleScreenBuffer: ...
|
||||
|
||||
ATTACH_PARENT_PROCESS: int
|
||||
BACKGROUND_BLUE: int
|
||||
|
||||
@@ -2,8 +2,8 @@ from _typeshed import Incomplete
|
||||
|
||||
def CredMarshalCredential(CredType, Credential: str) -> str: ...
|
||||
def CredUnmarshalCredential(MarshaledCredential: str) -> tuple[Incomplete, str]: ...
|
||||
def CredIsMarshaledCredential(MarshaledCredential: str): ...
|
||||
def CredEnumerate(Filter: str | None = ..., Flags: int = ...) -> tuple[Incomplete, ...]: ...
|
||||
def CredIsMarshaledCredential(MarshaledCredential: str) -> bool: ...
|
||||
def CredEnumerate(Filter: str | None = ..., Flags: int = ...) -> tuple[dict[str, Incomplete], ...]: ...
|
||||
def CredGetTargetInfo(TargetName: str, Flags: int = ...): ...
|
||||
def CredWriteDomainCredentials(TargetInfo, Credential, Flags: int = ...) -> None: ...
|
||||
def CredReadDomainCredentials(TargetInfo, Flags: int = ...) -> tuple[Incomplete, ...]: ...
|
||||
@@ -12,7 +12,7 @@ def CredWrite(Credential, Flags: int = ...) -> None: ...
|
||||
def CredRead(TargetName: str, Type, Flags: int = ...): ...
|
||||
def CredRename(OldTargetName: str, NewTargetName: str, Type, Flags: int = ...): ...
|
||||
def CredUICmdLinePromptForCredentials(
|
||||
TargetName: str, Flags, AuthError: int = ..., UserName: str | None = ..., Password: str | None = ..., Save: int = ...
|
||||
TargetName: str, AuthError: int = ..., UserName: str | None = ..., Password: str | None = ..., Save: int = ..., Flags=...
|
||||
) -> tuple[str, str, Incomplete]: ...
|
||||
def CredUIPromptForCredentials(
|
||||
TargetName: str,
|
||||
|
||||
@@ -23,32 +23,32 @@ def CryptGetDefaultProvider(ProvType, Flags) -> str: ...
|
||||
def CryptSetProviderEx(ProvName: str, ProvType, Flags) -> None: ...
|
||||
def CryptAcquireContext(Container: str, Provider: str, ProvType, Flags) -> _win32typing.PyCRYPTPROV: ...
|
||||
def CryptFindLocalizedName(CryptName: str) -> str: ...
|
||||
def CertEnumSystemStore(dwFlags, pvSystemStoreLocationPara: Incomplete | None = ...) -> list[Incomplete]: ...
|
||||
def CertEnumSystemStore(Flags, SystemStoreLocationPara: Incomplete | None = ...) -> list[Incomplete]: ...
|
||||
def CertEnumSystemStoreLocation(Flags: int = ...) -> list[Incomplete]: ...
|
||||
def CertEnumPhysicalStore(pvSystemStore: str, dwFlags) -> list[Incomplete]: ...
|
||||
def CertEnumPhysicalStore(SystemStore: str, Flags) -> list[Incomplete]: ...
|
||||
def CertRegisterSystemStore(SystemStore: str, Flags) -> None: ...
|
||||
def CertUnregisterSystemStore(SystemStore: str, Flags) -> None: ...
|
||||
def CertOpenStore(
|
||||
StoreProvider, MsgAndCertEncodingType, CryptProv: _win32typing.PyCRYPTPROV, Flags, Para: Incomplete | None = ...
|
||||
StoreProvider, MsgAndCertEncodingType, CryptProv: _win32typing.PyCRYPTPROV, Flags, Para: Incomplete | None
|
||||
) -> _win32typing.PyCERTSTORE: ...
|
||||
def CertOpenSystemStore(SubsystemProtocol: str, Prov: _win32typing.PyCRYPTPROV | None = ...) -> _win32typing.PyCERTSTORE: ...
|
||||
def CryptFindOIDInfo(KeyType, Key, GroupId: int = ...): ...
|
||||
def CertAlgIdToOID(AlgId) -> str: ...
|
||||
def CertOIDToAlgId(ObjId: str): ...
|
||||
def CryptGetKeyIdentifierProperty(KeyIdentifier: str, PropId, Flags: int = ..., ComputerName: str | None = ...): ...
|
||||
def CryptGetKeyIdentifierProperty(KeyIdentifier: str, PropId=..., Flags: int = ..., ComputerName: str | None = ...): ...
|
||||
def CryptEnumKeyIdentifierProperties(
|
||||
KeyIdentifier: str | None = ..., PropId: int = ..., Flags: int = ..., ComputerName: str | None = ...
|
||||
): ...
|
||||
def CryptEnumOIDInfo(GroupId: int = ...): ...
|
||||
def CertAddSerializedElementToStore(
|
||||
CertStore: _win32typing.PyCERTSTORE, Element, AddDisposition, ContextTypeFlags, Flags: int = ...
|
||||
CertStore: _win32typing.PyCERTSTORE, Element, AddDisposition, ContextTypeFlags=..., Flags: int = ...
|
||||
) -> _win32typing.PyCERT_CONTEXT: ...
|
||||
def CryptQueryObject(ObjectType, Object, ExpectedContentTypeFlags, ExpectedFormatTypeFlags, Flags: int = ...): ...
|
||||
def CryptQueryObject(ObjectType, Object, ExpectedContentTypeFlags=..., ExpectedFormatTypeFlags=..., Flags: int = ...): ...
|
||||
def CryptDecodeMessage(
|
||||
EncodedBlob,
|
||||
DecryptPara,
|
||||
MsgTypeFlags,
|
||||
VerifyPara: Incomplete | None = ...,
|
||||
MsgTypeFlags=...,
|
||||
SignerIndex: int = ...,
|
||||
PrevInnerContentType: int = ...,
|
||||
ReturnData: bool = ...,
|
||||
@@ -69,9 +69,9 @@ def CryptVerifyMessageSignature(
|
||||
SignedBlob, SignerIndex: int = ..., VerifyPara: _win32typing.PyCRYPT_VERIFY_MESSAGE_PARA | None = ..., ReturnData: bool = ...
|
||||
) -> tuple[_win32typing.PyCERT_CONTEXT, Incomplete]: ...
|
||||
def CryptGetMessageCertificates(
|
||||
SignedBlob, MsgAndCertEncodingType, CryptProv: _win32typing.PyCRYPTPROV | None = ..., Flags: int = ...
|
||||
SignedBlob, MsgAndCertEncodingType=..., CryptProv: _win32typing.PyCRYPTPROV | None = ..., Flags: int = ...
|
||||
) -> _win32typing.PyCERTSTORE: ...
|
||||
def CryptGetMessageSignerCount(SignedBlob, MsgEncodingType): ...
|
||||
def CryptGetMessageSignerCount(SignedBlob, MsgEncodingType=...): ...
|
||||
def CryptSignMessage(
|
||||
SignPara: _win32typing.PyCRYPT_SIGN_MESSAGE_PARA, ToBeSigned: tuple[Incomplete, ...], DetachedSignature: bool = ...
|
||||
): ...
|
||||
@@ -87,11 +87,18 @@ def CryptDecryptAndVerifyMessageSignature(
|
||||
VerifyPara: _win32typing.PyCRYPT_VERIFY_MESSAGE_PARA | None = ...,
|
||||
SignerIndex: int = ...,
|
||||
): ...
|
||||
def CryptEncodeObjectEx(StructType, StructInfo, CertEncodingType, Flags: int = ..., EncodePara: Incomplete | None = ...): ...
|
||||
def CryptDecodeObjectEx(StructType, Encoded, CertEncodingType, Flags: int = ..., DecodePara: Incomplete | None = ...): ...
|
||||
def CryptEncodeObjectEx(
|
||||
StructType, StructInfo=..., Flags: int = ..., CertEncodingType=..., EncodePara: Incomplete | None = ...
|
||||
): ...
|
||||
def CryptDecodeObjectEx(StructType, Encoded, Flags: int = ..., CertEncodingType=..., DecodePara: Incomplete | None = ...): ...
|
||||
def CertNameToStr(Name, StrType, CertEncodingType): ...
|
||||
def CryptFormatObject(
|
||||
StructType, Encoded, CertEncodingType, FormatStrType: int = ..., FormatType: int = ..., FormatStruct: Incomplete | None = ...
|
||||
StructType,
|
||||
Encoded,
|
||||
FormatStrType: int = ...,
|
||||
CertEncodingType=...,
|
||||
FormatType: int = ...,
|
||||
FormatStruct: Incomplete | None = ...,
|
||||
): ...
|
||||
def PFXImportCertStore(PFX, Password, Flags) -> _win32typing.PyCERTSTORE: ...
|
||||
def PFXVerifyPassword(PFX, Password, Flags): ...
|
||||
|
||||
@@ -5,40 +5,38 @@ from win32.lib.pywintypes import error as error
|
||||
|
||||
def CancelWaitableTimer() -> None: ...
|
||||
def CreateEvent(
|
||||
__EventAttributes: _win32typing.PySECURITY_ATTRIBUTES | None,
|
||||
__bManualReset: int | bool,
|
||||
__bInitialState: int | bool,
|
||||
__Name: str | None,
|
||||
EventAttributes: _win32typing.PySECURITY_ATTRIBUTES | None,
|
||||
bManualReset: int | bool,
|
||||
bInitialState: int | bool,
|
||||
Name: str | None,
|
||||
/,
|
||||
) -> int: ...
|
||||
def CreateMutex(MutexAttributes: _win32typing.PySECURITY_ATTRIBUTES, InitialOwner, Name: str) -> int: ...
|
||||
def CreateMutex(MutexAttributes: _win32typing.PySECURITY_ATTRIBUTES, InitialOwner, Name: str, /) -> int: ...
|
||||
def CreateSemaphore(
|
||||
SemaphoreAttributes: _win32typing.PySECURITY_ATTRIBUTES, InitialCount, MaximumCount, SemaphoreName
|
||||
SemaphoreAttributes: _win32typing.PySECURITY_ATTRIBUTES, InitialCount, MaximumCount, SemaphoreName, /
|
||||
) -> int: ...
|
||||
def CreateWaitableTimer(TimerAttributes: _win32typing.PySECURITY_ATTRIBUTES, ManualReset, TimerName) -> int: ...
|
||||
def CreateWaitableTimer(TimerAttributes: _win32typing.PySECURITY_ATTRIBUTES, ManualReset, TimerName, /) -> int: ...
|
||||
def CreateWaitableTimerEx(
|
||||
__lpTimerAttributes: _win32typing.PySECURITY_ATTRIBUTES | None,
|
||||
__lpTimerName: str | None,
|
||||
__dwFlags: int,
|
||||
__dwDesiredAccess: int,
|
||||
lpTimerAttributes: _win32typing.PySECURITY_ATTRIBUTES | None, lpTimerName: str | None, dwFlags: int, dwDesiredAccess: int, /
|
||||
) -> _win32typing.PyHANDLE: ...
|
||||
def MsgWaitForMultipleObjects(__handlelist: Iterable[int], __bWaitAll: int, __milliseconds: int, __wakeMask: int) -> int: ...
|
||||
def MsgWaitForMultipleObjectsEx(handlelist: list[int], milliseconds, wakeMask, waitFlags): ...
|
||||
def OpenEvent(desiredAccess, bInheritHandle, name: str) -> int: ...
|
||||
def OpenMutex(desiredAccess, bInheritHandle, name: str) -> int: ...
|
||||
def OpenSemaphore(desiredAccess, bInheritHandle, name: str) -> int: ...
|
||||
def OpenWaitableTimer(desiredAccess, bInheritHandle, timerName) -> int: ...
|
||||
def PulseEvent(hEvent: int) -> None: ...
|
||||
def ReleaseMutex(hEvent: int) -> None: ...
|
||||
def ReleaseSemaphore(hEvent: int, lReleaseCount): ...
|
||||
def ResetEvent(__hEvent: int) -> None: ...
|
||||
def SetEvent(__hEvent: int) -> None: ...
|
||||
def SetWaitableTimer(handle: int, dueTime, period, func, param, resume_state) -> None: ...
|
||||
def WaitForMultipleObjects(handlelist: list[int], bWaitAll, milliseconds): ...
|
||||
def WaitForMultipleObjectsEx(handlelist: list[int], bWaitAll, milliseconds, bAlertable): ...
|
||||
def WaitForSingleObject(__hHandle: int, __milliseconds: int) -> int: ...
|
||||
def WaitForSingleObjectEx(hHandle: int, milliseconds, bAlertable): ...
|
||||
def WaitForInputIdle(hProcess: int, milliseconds): ...
|
||||
def SignalObjectAndWait(*args, **kwargs): ... # incomplete
|
||||
def MsgWaitForMultipleObjects(handlelist: Iterable[int], bWaitAll: int, milliseconds: int, wakeMask: int, /) -> int: ...
|
||||
def MsgWaitForMultipleObjectsEx(handlelist: list[int], milliseconds, wakeMask, waitFlags, /): ...
|
||||
def OpenEvent(desiredAccess, bInheritHandle, name: str, /) -> int: ...
|
||||
def OpenMutex(desiredAccess, bInheritHandle, name: str, /) -> int: ...
|
||||
def OpenSemaphore(desiredAccess, bInheritHandle, name: str, /) -> int: ...
|
||||
def OpenWaitableTimer(desiredAccess, bInheritHandle, timerName, /) -> int: ...
|
||||
def PulseEvent(hEvent: int, /) -> None: ...
|
||||
def ReleaseMutex(hEvent: int, /) -> None: ...
|
||||
def ReleaseSemaphore(hEvent: int, lReleaseCount, /): ...
|
||||
def ResetEvent(hEvent: int, /) -> None: ...
|
||||
def SetEvent(hEvent: int, /) -> None: ...
|
||||
def SetWaitableTimer(handle: int, dueTime, period, func, param, resume_state, /) -> None: ...
|
||||
def WaitForMultipleObjects(handlelist: list[int], bWaitAll, milliseconds, /): ...
|
||||
def WaitForMultipleObjectsEx(handlelist: list[int], bWaitAll, milliseconds, bAlertable, /): ...
|
||||
def WaitForSingleObject(hHandle: int, milliseconds: int, /) -> int: ...
|
||||
def WaitForSingleObjectEx(hHandle: int, milliseconds, bAlertable, /): ...
|
||||
def WaitForInputIdle(hProcess: int, milliseconds, /): ...
|
||||
def SignalObjectAndWait(*args): ... # incomplete
|
||||
|
||||
CREATE_WAITABLE_TIMER_HIGH_RESOLUTION: int
|
||||
CREATE_WAITABLE_TIMER_MANUAL_RESET: int
|
||||
|
||||
@@ -5,28 +5,30 @@ import _win32typing
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def ReadEventLog(
|
||||
__Handle: _win32typing.PyEVTLOG_HANDLE, __Flags: int, __Offset: int, Size=...
|
||||
Handle: _win32typing.PyEVTLOG_HANDLE, Flags: int, Offset: int, Size=..., /
|
||||
) -> list[_win32typing.PyEventLogRecord]: ...
|
||||
def ClearEventLog(handle: _win32typing.PyEVTLOG_HANDLE, eventLogName: str) -> None: ...
|
||||
def BackupEventLog(handle, eventLogName: str) -> None: ...
|
||||
def CloseEventLog(__handle: _win32typing.PyEVTLOG_HANDLE) -> None: ...
|
||||
def DeregisterEventSource(handle) -> None: ...
|
||||
def NotifyChangeEventLog(handle, handle1) -> None: ...
|
||||
def GetNumberOfEventLogRecords(handle: _win32typing.PyEVTLOG_HANDLE) -> int: ...
|
||||
def ClearEventLog(handle: _win32typing.PyEVTLOG_HANDLE, eventLogName: str, /) -> None: ...
|
||||
def BackupEventLog(handle, eventLogName: str, /) -> None: ...
|
||||
def CloseEventLog(handle: _win32typing.PyEVTLOG_HANDLE, /) -> None: ...
|
||||
def DeregisterEventSource(handle, /) -> None: ...
|
||||
def NotifyChangeEventLog(handle, handle1, /) -> None: ...
|
||||
def GetNumberOfEventLogRecords(handle: _win32typing.PyEVTLOG_HANDLE, /) -> int: ...
|
||||
def GetOldestEventLogRecord(): ...
|
||||
def OpenEventLog(__serverName: str | None, __sourceName: str) -> _win32typing.PyEVTLOG_HANDLE: ...
|
||||
def RegisterEventSource(__serverName: str | None, __sourceName: str): ...
|
||||
def OpenBackupEventLog(serverName: str, fileName: str) -> _win32typing.PyEVTLOG_HANDLE: ...
|
||||
def OpenEventLog(serverName: str | None, sourceName: str, /) -> _win32typing.PyEVTLOG_HANDLE: ...
|
||||
def RegisterEventSource(serverName: str | None, sourceName: str, /): ...
|
||||
def OpenBackupEventLog(serverName: str, fileName: str, /) -> _win32typing.PyEVTLOG_HANDLE: ...
|
||||
def ReportEvent(
|
||||
__EventLog: int,
|
||||
__Type: int,
|
||||
__Category: int,
|
||||
__EventID: int,
|
||||
__UserSid: _win32typing.PySID | None,
|
||||
__Strings: Iterable[str] | None,
|
||||
__RawData: bytes | None,
|
||||
EventLog: int,
|
||||
Type: int,
|
||||
Category: int,
|
||||
EventID: int,
|
||||
UserSid: _win32typing.PySID | None,
|
||||
Strings: Iterable[str] | None,
|
||||
RawData: bytes | None,
|
||||
/,
|
||||
) -> None: ...
|
||||
def EvtOpenChannelEnum(Session: _win32typing.PyEVT_HANDLE | None = ..., Flags: int = ...) -> _win32typing.PyEVT_HANDLE: ...
|
||||
def EvtFormatMessage(Metadata, Event, Flags, ResourceId=...): ...
|
||||
def EvtNextChannelPath(ChannelEnum: _win32typing.PyEVT_HANDLE): ...
|
||||
def EvtOpenLog(Path, Flags, Session: _win32typing.PyEVT_HANDLE | None = ...) -> _win32typing.PyEVT_HANDLE: ...
|
||||
def EvtClearLog(
|
||||
@@ -38,15 +40,16 @@ def EvtExportLog(
|
||||
def EvtArchiveExportedLog(LogFilePath, Locale, Session: _win32typing.PyEVT_HANDLE | None = ..., Flags=...) -> None: ...
|
||||
def EvtGetExtendedStatus(): ...
|
||||
def EvtQuery(
|
||||
__Path: str, __Flags: int, __Query: str | None = ..., __Session: _win32typing.PyEVT_HANDLE | None = ...
|
||||
Path: str, Flags: int, Query: str | None = ..., Session: _win32typing.PyEVT_HANDLE | None = ...
|
||||
) -> _win32typing.PyEVT_HANDLE: ...
|
||||
def EvtNext(
|
||||
__ResultSet: _win32typing.PyEVT_HANDLE, __Count: int, __Timeout: int = ..., __Flags: int = ...
|
||||
ResultSet: _win32typing.PyEVT_HANDLE, Count: int, Timeout: int = ..., Flags: int = ...
|
||||
) -> tuple[_win32typing.PyEVT_HANDLE, ...]: ...
|
||||
def EvtSeek(
|
||||
ResultSet: _win32typing.PyEVT_HANDLE, Position, Flags, Bookmark: _win32typing.PyEVT_HANDLE | None = ..., Timeout: int = ...
|
||||
) -> None: ...
|
||||
def EvtRender(__Event: _win32typing.PyEVT_HANDLE, __Flags: int, Context=...): ...
|
||||
def EvtCreateRenderContext(Flags): ...
|
||||
def EvtRender(Event: _win32typing.PyEVT_HANDLE, Flags: int, Context=...): ...
|
||||
def EvtSubscribe(
|
||||
ChannelPath,
|
||||
Flags,
|
||||
@@ -71,7 +74,7 @@ def EvtOpenSession(
|
||||
def EvtOpenPublisherEnum(Session: _win32typing.PyEVT_HANDLE | None = ..., Flags: int = ...) -> _win32typing.PyEVT_HANDLE: ...
|
||||
def EvtNextPublisherId(PublisherEnum: _win32typing.PyEVT_HANDLE): ...
|
||||
def EvtOpenPublisherMetadata(
|
||||
PublisherIdentity,
|
||||
PublisherIdentity: str,
|
||||
Session: _win32typing.PyEVT_HANDLE | None = ...,
|
||||
LogFilePath: Incomplete | None = ...,
|
||||
Locale: int = ...,
|
||||
@@ -91,8 +94,6 @@ def EvtGetObjectArraySize(ObjectArray: _win32typing.PyEVT_HANDLE): ...
|
||||
def EvtGetObjectArrayProperty(
|
||||
ObjectArray: _win32typing.PyEVT_HANDLE, PropertyId, ArrayIndex, Flags=...
|
||||
) -> tuple[Incomplete, Incomplete]: ...
|
||||
def EvtCreateRenderContext(*args, **kwargs): ... # incomplete
|
||||
def EvtFormatMessage(*args, **kwargs): ... # incomplete
|
||||
|
||||
EVENTLOG_AUDIT_FAILURE: int
|
||||
EVENTLOG_AUDIT_SUCCESS: int
|
||||
|
||||
@@ -6,43 +6,44 @@ import _win32typing
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def AreFileApisANSI(): ...
|
||||
def CancelIo(handle: int) -> None: ...
|
||||
def CopyFile(_from: str, to: str, bFailIfExists) -> None: ...
|
||||
def CopyFileW(_from: str, to: str, bFailIfExists) -> None: ...
|
||||
def CreateDirectory(__name: str, __sa: _win32typing.PySECURITY_ATTRIBUTES) -> None: ...
|
||||
def CreateDirectoryW(name: str, sa: _win32typing.PySECURITY_ATTRIBUTES) -> None: ...
|
||||
def CreateDirectoryEx(templateName: str, newDirectory: str, sa: _win32typing.PySECURITY_ATTRIBUTES) -> None: ...
|
||||
def CancelIo(handle: int, /) -> None: ...
|
||||
def CopyFile(_from: str, to: str, bFailIfExists, /) -> None: ...
|
||||
def CopyFileW(_from: str, to: str, bFailIfExists, /) -> None: ...
|
||||
def CreateDirectory(name: str, sa: _win32typing.PySECURITY_ATTRIBUTES, /) -> None: ...
|
||||
def CreateDirectoryW(name: str, sa: _win32typing.PySECURITY_ATTRIBUTES, /) -> None: ...
|
||||
def CreateDirectoryEx(templateName: str, newDirectory: str, sa: _win32typing.PySECURITY_ATTRIBUTES, /) -> None: ...
|
||||
def CreateFile(
|
||||
__fileName: str,
|
||||
__desiredAccess: int,
|
||||
__shareMode: int,
|
||||
__attributes: _win32typing.PySECURITY_ATTRIBUTES | None,
|
||||
__CreationDisposition: int,
|
||||
__flagsAndAttributes: int,
|
||||
__hTemplateFile: int | None,
|
||||
fileName: str,
|
||||
desiredAccess: int,
|
||||
shareMode: int,
|
||||
attributes: _win32typing.PySECURITY_ATTRIBUTES | None,
|
||||
CreationDisposition: int,
|
||||
flagsAndAttributes: int,
|
||||
hTemplateFile: int | None,
|
||||
/,
|
||||
) -> _win32typing.PyHANDLE: ...
|
||||
def CreateIoCompletionPort(handle: int, existing: int, completionKey, numThreads) -> int: ...
|
||||
def CreateMailslot(Name, MaxMessageSize, ReadTimeout, SecurityAttributes: _win32typing.PySECURITY_ATTRIBUTES) -> int: ...
|
||||
def GetMailslotInfo(Mailslot: int) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def SetMailslotInfo(Mailslot: int, ReadTimeout) -> None: ...
|
||||
def DefineDosDevice(flags, deviceName: str, targetPath: str) -> None: ...
|
||||
def DefineDosDeviceW(flags, deviceName: str, targetPath: str) -> None: ...
|
||||
def DeleteFile(fileName: str) -> None: ...
|
||||
def CreateIoCompletionPort(handle: int, existing: int, completionKey, numThreads, /) -> int: ...
|
||||
def CreateMailslot(Name, MaxMessageSize, ReadTimeout, SecurityAttributes: _win32typing.PySECURITY_ATTRIBUTES, /) -> int: ...
|
||||
def GetMailslotInfo(Mailslot: int, /) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def SetMailslotInfo(Mailslot: int, ReadTimeout, /) -> None: ...
|
||||
def DefineDosDevice(flags, deviceName: str, targetPath: str, /) -> None: ...
|
||||
def DefineDosDeviceW(flags, deviceName: str, targetPath: str, /) -> None: ...
|
||||
def DeleteFile(fileName: str, /) -> None: ...
|
||||
def DeviceIoControl(Device: int, IoControlCode, InBuffer, OutBuffer, Overlapped: _win32typing.PyOVERLAPPED | None = ...): ...
|
||||
def FindClose(hFindFile) -> None: ...
|
||||
def FindCloseChangeNotification(hChangeHandle) -> None: ...
|
||||
def FindFirstChangeNotification(pathName: str, bWatchSubtree, notifyFilter): ...
|
||||
def FindNextChangeNotification(hChangeHandle): ...
|
||||
def FlushFileBuffers(hFile: int) -> None: ...
|
||||
def GetBinaryType(appName: str): ...
|
||||
def GetDiskFreeSpace(rootPathName: str) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def GetDiskFreeSpaceEx(__rootPathName: str) -> tuple[int, int, int]: ...
|
||||
def GetDriveType(rootPathName: str): ...
|
||||
def GetDriveTypeW(rootPathName: str): ...
|
||||
def GetFileAttributes(fileName: str): ...
|
||||
def GetFileAttributesW(fileName: str): ...
|
||||
def FindClose(hFindFile, /) -> None: ...
|
||||
def FindCloseChangeNotification(hChangeHandle, /) -> None: ...
|
||||
def FindFirstChangeNotification(pathName: str, bWatchSubtree, notifyFilter, /): ...
|
||||
def FindNextChangeNotification(hChangeHandle, /): ...
|
||||
def FlushFileBuffers(hFile: int, /) -> None: ...
|
||||
def GetBinaryType(appName: str, /): ...
|
||||
def GetDiskFreeSpace(rootPathName: str, /) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def GetDiskFreeSpaceEx(rootPathName: str, /) -> tuple[int, int, int]: ...
|
||||
def GetDriveType(rootPathName: str, /): ...
|
||||
def GetDriveTypeW(rootPathName: str, /): ...
|
||||
def GetFileAttributes(fileName: str, /): ...
|
||||
def GetFileAttributesW(fileName: str, /): ...
|
||||
def GetFileTime(
|
||||
handle: int, creationTime: _win32typing.PyTime, accessTime: _win32typing.PyTime, writeTime: _win32typing.PyTime
|
||||
handle: int, creationTime: _win32typing.PyTime, accessTime: _win32typing.PyTime, writeTime: _win32typing.PyTime, /
|
||||
) -> tuple[_win32typing.PyTime, _win32typing.PyTime, _win32typing.PyTime]: ...
|
||||
def SetFileTime(
|
||||
File: int,
|
||||
@@ -51,47 +52,47 @@ def SetFileTime(
|
||||
LastWriteTime: _win32typing.PyTime | None = ...,
|
||||
UTCTimes: bool = ...,
|
||||
) -> None: ...
|
||||
def GetFileInformationByHandle(handle: int): ...
|
||||
def GetFileInformationByHandle(handle: int, /): ...
|
||||
def GetCompressedFileSize(): ...
|
||||
def GetFileSize(): ...
|
||||
def AllocateReadBuffer(__bufSize: int) -> _win32typing.PyOVERLAPPEDReadBuffer: ...
|
||||
def AllocateReadBuffer(bufSize: int, /) -> _win32typing.PyOVERLAPPEDReadBuffer: ...
|
||||
@overload
|
||||
def ReadFile(__hFile: int, __bufSize: int) -> tuple[int, str]: ...
|
||||
def ReadFile(hFile: int, bufSize: int, /) -> tuple[int, str]: ...
|
||||
@overload
|
||||
def ReadFile(
|
||||
__hFile: int, __buffer: _win32typing.PyOVERLAPPEDReadBuffer, __overlapped: _win32typing.PyOVERLAPPED | None
|
||||
hFile: int, buffer: _win32typing.PyOVERLAPPEDReadBuffer, overlapped: _win32typing.PyOVERLAPPED | None, /
|
||||
) -> tuple[int, str]: ...
|
||||
def WriteFile(
|
||||
__hFile: int, __data: str | bytes | _win32typing.PyOVERLAPPEDReadBuffer, __ol: _win32typing.PyOVERLAPPED | None = ...
|
||||
hFile: int, data: str | bytes | _win32typing.PyOVERLAPPEDReadBuffer, ol: _win32typing.PyOVERLAPPED | None = ..., /
|
||||
) -> tuple[int, int]: ...
|
||||
def CloseHandle(__handle: int) -> None: ...
|
||||
def LockFileEx(hFile: int, _int, _int1, _int2, ol: _win32typing.PyOVERLAPPED | None = ...) -> None: ...
|
||||
def UnlockFileEx(hFile: int, _int, _int1, ol: _win32typing.PyOVERLAPPED | None = ...) -> None: ...
|
||||
def GetQueuedCompletionStatus(hPort: int, timeOut) -> tuple[Incomplete, Incomplete, Incomplete, _win32typing.PyOVERLAPPED]: ...
|
||||
def CloseHandle(handle: int, /) -> None: ...
|
||||
def LockFileEx(hFile: int, _int, _int1, _int2, ol: _win32typing.PyOVERLAPPED | None = ..., /) -> None: ...
|
||||
def UnlockFileEx(hFile: int, _int, _int1, ol: _win32typing.PyOVERLAPPED | None = ..., /) -> None: ...
|
||||
def GetQueuedCompletionStatus(hPort: int, timeOut, /) -> tuple[Incomplete, Incomplete, Incomplete, _win32typing.PyOVERLAPPED]: ...
|
||||
def PostQueuedCompletionStatus(
|
||||
handle: int, numberOfbytes: int = ..., completionKey: int = ..., overlapped: _win32typing.PyOVERLAPPED | None = ...
|
||||
handle: int, numberOfbytes: int = ..., completionKey: int = ..., overlapped: _win32typing.PyOVERLAPPED | None = ..., /
|
||||
): ...
|
||||
def GetFileType(hFile: int): ...
|
||||
def GetFileType(hFile: int, /): ...
|
||||
def GetLogicalDrives(): ...
|
||||
def GetOverlappedResult(__hFile: int, __overlapped: _win32typing.PyOVERLAPPED, __bWait: int | bool) -> int: ...
|
||||
def LockFile(hFile: int, offsetLow, offsetHigh, nNumberOfBytesToLockLow, nNumberOfBytesToLockHigh) -> None: ...
|
||||
def MoveFile(existingFileName: str, newFileName: str) -> None: ...
|
||||
def MoveFileW(existingFileName: str, newFileName: str) -> None: ...
|
||||
def MoveFileEx(existingFileName: str, newFileName: str, flags) -> None: ...
|
||||
def MoveFileExW(existingFileName: str, newFileName: str, flags) -> None: ...
|
||||
def QueryDosDevice(DeviceName: str) -> str: ...
|
||||
def GetOverlappedResult(hFile: int, overlapped: _win32typing.PyOVERLAPPED, bWait: int | bool, /) -> int: ...
|
||||
def LockFile(hFile: int, offsetLow, offsetHigh, nNumberOfBytesToLockLow, nNumberOfBytesToLockHigh, /) -> None: ...
|
||||
def MoveFile(existingFileName: str, newFileName: str, /) -> None: ...
|
||||
def MoveFileW(existingFileName: str, newFileName: str, /) -> None: ...
|
||||
def MoveFileEx(existingFileName: str, newFileName: str, flags, /) -> None: ...
|
||||
def MoveFileExW(existingFileName: str, newFileName: str, flags, /) -> None: ...
|
||||
def QueryDosDevice(DeviceName: str, /) -> str: ...
|
||||
def ReadDirectoryChangesW(
|
||||
handle: int, size, bWatchSubtree, dwNotifyFilter, overlapped: _win32typing.PyOVERLAPPED | None = ...
|
||||
handle: int, size, bWatchSubtree, dwNotifyFilter, overlapped: _win32typing.PyOVERLAPPED | None = ..., /
|
||||
) -> None: ...
|
||||
def FILE_NOTIFY_INFORMATION(buffer: str, size) -> tuple[tuple[Incomplete, Incomplete], ...]: ...
|
||||
def SetCurrentDirectory(lpPathName: str) -> None: ...
|
||||
def SetEndOfFile(hFile: int) -> None: ...
|
||||
def FILE_NOTIFY_INFORMATION(buffer: str, size, /) -> tuple[tuple[Incomplete, Incomplete], ...]: ...
|
||||
def SetCurrentDirectory(lpPathName: str, /) -> None: ...
|
||||
def SetEndOfFile(hFile: int, /) -> None: ...
|
||||
def SetFileApisToANSI() -> None: ...
|
||||
def SetFileApisToOEM() -> None: ...
|
||||
def SetFileAttributes(__filename: str, __newAttributes: int) -> None: ...
|
||||
def SetFilePointer(handle: int, offset, moveMethod) -> None: ...
|
||||
def SetVolumeLabel(rootPathName: str, volumeName: str) -> None: ...
|
||||
def UnlockFile(hFile: int, offsetLow, offsetHigh, nNumberOfBytesToUnlockLow, nNumberOfBytesToUnlockHigh) -> None: ...
|
||||
def SetFileAttributes(filename: str, newAttributes: int, /) -> None: ...
|
||||
def SetFilePointer(handle: int, offset, moveMethod, /) -> None: ...
|
||||
def SetVolumeLabel(rootPathName: str, volumeName: str, /) -> None: ...
|
||||
def UnlockFile(hFile: int, offsetLow, offsetHigh, nNumberOfBytesToUnlockLow, nNumberOfBytesToUnlockHigh, /) -> None: ...
|
||||
def TransmitFile(
|
||||
Socket,
|
||||
File: int,
|
||||
@@ -105,32 +106,32 @@ def TransmitFile(
|
||||
def ConnectEx(
|
||||
s, name, Overlapped: _win32typing.PyOVERLAPPED, SendBuffer: Incomplete | None = ...
|
||||
) -> tuple[Incomplete, Incomplete]: ...
|
||||
def AcceptEx(slistening, sAccepting, buffer, ol: _win32typing.PyOVERLAPPED) -> None: ...
|
||||
def CalculateSocketEndPointSize(socket): ...
|
||||
def AcceptEx(slistening, sAccepting, buffer, ol: _win32typing.PyOVERLAPPED, /) -> None: ...
|
||||
def CalculateSocketEndPointSize(socket, /): ...
|
||||
def GetAcceptExSockaddrs(
|
||||
sAccepting, buffer: _win32typing.PyOVERLAPPEDReadBuffer
|
||||
sAccepting, buffer: _win32typing.PyOVERLAPPEDReadBuffer, /
|
||||
) -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
||||
def WSAEventSelect(__socket: socket, __hEvent: int, __networkEvents: int) -> None: ...
|
||||
def WSAEnumNetworkEvents(__s: socket, __hEvent: int) -> dict[int, int]: ...
|
||||
def WSAAsyncSelect(socket, hwnd: int, _int, networkEvents) -> None: ...
|
||||
def WSASend(s, buffer: str, ol: _win32typing.PyOVERLAPPED, dwFlags) -> tuple[Incomplete, Incomplete]: ...
|
||||
def WSARecv(s, buffer, ol: _win32typing.PyOVERLAPPED, dwFlags) -> tuple[Incomplete, Incomplete]: ...
|
||||
def BuildCommDCB(_def: str, dcb: _win32typing.PyDCB) -> _win32typing.PyDCB: ...
|
||||
def ClearCommError(__handle: int) -> tuple[Incomplete, _win32typing.PyCOMSTAT]: ...
|
||||
def EscapeCommFunction(handle: int) -> None: ...
|
||||
def GetCommState(handle: int) -> _win32typing.PyDCB: ...
|
||||
def SetCommState(handle: int, dcb: _win32typing.PyDCB) -> None: ...
|
||||
def ClearCommBreak(handle: int) -> None: ...
|
||||
def GetCommMask(handle: int): ...
|
||||
def SetCommMask(handle: int, val): ...
|
||||
def GetCommModemStatus(handle: int): ...
|
||||
def GetCommTimeouts(handle: int): ...
|
||||
def SetCommTimeouts(handle: int, val): ...
|
||||
def PurgeComm(handle: int, action) -> None: ...
|
||||
def SetCommBreak(handle: int) -> None: ...
|
||||
def SetupComm(handle: int, dwInQueue, dwOutQueue) -> None: ...
|
||||
def TransmitCommChar(handle: int, cChar) -> None: ...
|
||||
def WaitCommEvent(handle: int, overlapped: _win32typing.PyOVERLAPPED) -> None: ...
|
||||
def WSAEventSelect(socket: socket, hEvent: int, networkEvents: int, /) -> None: ...
|
||||
def WSAEnumNetworkEvents(s: socket, hEvent: int, /) -> dict[int, int]: ...
|
||||
def WSAAsyncSelect(socket, hwnd: int, _int, networkEvents, /) -> None: ...
|
||||
def WSASend(s, buffer: str, ol: _win32typing.PyOVERLAPPED, dwFlags, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def WSARecv(s, buffer, ol: _win32typing.PyOVERLAPPED, dwFlags, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def BuildCommDCB(_def: str, dcb: _win32typing.PyDCB, /) -> _win32typing.PyDCB: ...
|
||||
def ClearCommError(handle: int, /) -> tuple[Incomplete, _win32typing.PyCOMSTAT]: ...
|
||||
def EscapeCommFunction(handle: int, /) -> None: ...
|
||||
def GetCommState(handle: int, /) -> _win32typing.PyDCB: ...
|
||||
def SetCommState(handle: int, dcb: _win32typing.PyDCB, /) -> None: ...
|
||||
def ClearCommBreak(handle: int, /) -> None: ...
|
||||
def GetCommMask(handle: int, /): ...
|
||||
def SetCommMask(handle: int, val, /): ...
|
||||
def GetCommModemStatus(handle: int, /): ...
|
||||
def GetCommTimeouts(handle: int, /): ...
|
||||
def SetCommTimeouts(handle: int, val, /): ...
|
||||
def PurgeComm(handle: int, action, /) -> None: ...
|
||||
def SetCommBreak(handle: int, /) -> None: ...
|
||||
def SetupComm(handle: int, dwInQueue, dwOutQueue, /) -> None: ...
|
||||
def TransmitCommChar(handle: int, cChar, /) -> None: ...
|
||||
def WaitCommEvent(handle: int, overlapped: _win32typing.PyOVERLAPPED, /) -> None: ...
|
||||
def SetVolumeMountPoint(VolumeMountPoint: str, VolumeName: str) -> str: ...
|
||||
def DeleteVolumeMountPoint(VolumeMountPoint: str) -> None: ...
|
||||
def GetVolumeNameForVolumeMountPoint(VolumeMountPoint: str) -> str: ...
|
||||
@@ -143,14 +144,14 @@ def CreateHardLink(
|
||||
Transaction: int | None = ...,
|
||||
) -> None: ...
|
||||
def CreateSymbolicLink(SymlinkFileName: str, TargetFileName: str, Flags: int = ..., Transaction: int | None = ...) -> None: ...
|
||||
def EncryptFile(filename: str) -> None: ...
|
||||
def DecryptFile(filename: str) -> None: ...
|
||||
def EncryptionDisable(DirName: str, Disable) -> None: ...
|
||||
def FileEncryptionStatus(FileName: str): ...
|
||||
def QueryUsersOnEncryptedFile(FileName: str) -> tuple[_win32typing.PySID, str, Incomplete]: ...
|
||||
def QueryRecoveryAgentsOnEncryptedFile(FileName: str) -> tuple[_win32typing.PySID, str, Incomplete]: ...
|
||||
def RemoveUsersFromEncryptedFile(FileName: str, pHashes: tuple[tuple[_win32typing.PySID, str, Incomplete], ...]) -> None: ...
|
||||
def AddUsersToEncryptedFile(FileName: str, pUsers: tuple[tuple[_win32typing.PySID, str, Incomplete], ...]) -> None: ...
|
||||
def EncryptFile(filename: str, /) -> None: ...
|
||||
def DecryptFile(filename: str, /) -> None: ...
|
||||
def EncryptionDisable(DirName: str, Disable, /) -> None: ...
|
||||
def FileEncryptionStatus(FileName: str, /): ...
|
||||
def QueryUsersOnEncryptedFile(FileName: str, /) -> tuple[_win32typing.PySID, str, Incomplete]: ...
|
||||
def QueryRecoveryAgentsOnEncryptedFile(FileName: str, /) -> tuple[_win32typing.PySID, str, Incomplete]: ...
|
||||
def RemoveUsersFromEncryptedFile(FileName: str, pHashes: tuple[tuple[_win32typing.PySID, str, Incomplete], ...], /) -> None: ...
|
||||
def AddUsersToEncryptedFile(FileName: str, pUsers: tuple[tuple[_win32typing.PySID, str, Incomplete], ...], /) -> None: ...
|
||||
def DuplicateEncryptionInfoFile(
|
||||
SrcFileName: str,
|
||||
DstFileName: str,
|
||||
@@ -159,13 +160,13 @@ def DuplicateEncryptionInfoFile(
|
||||
SecurityAttributes: _win32typing.PySECURITY_ATTRIBUTES | None = ...,
|
||||
) -> None: ...
|
||||
def BackupRead(
|
||||
hFile: int, NumberOfBytesToRead, Buffer, bAbort, bProcessSecurity, lpContext
|
||||
hFile: int, NumberOfBytesToRead, Buffer, bAbort, bProcessSecurity, lpContext, /
|
||||
) -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
||||
def BackupSeek(hFile: int, NumberOfBytesToSeek, lpContext): ...
|
||||
def BackupSeek(hFile: int, NumberOfBytesToSeek, lpContext, /): ...
|
||||
def BackupWrite(
|
||||
hFile: int, NumberOfBytesToWrite, Buffer: str, bAbort, bProcessSecurity, lpContext
|
||||
hFile: int, NumberOfBytesToWrite, Buffer: str, bAbort, bProcessSecurity, lpContext, /
|
||||
) -> tuple[Incomplete, Incomplete]: ...
|
||||
def SetFileShortName(hFile: int, ShortName) -> None: ...
|
||||
def SetFileShortName(hFile: int, ShortName, /) -> None: ...
|
||||
def CopyFileEx(
|
||||
ExistingFileName,
|
||||
NewFileName,
|
||||
@@ -190,11 +191,12 @@ def ReplaceFile(
|
||||
ReplaceFlags: int = ...,
|
||||
Exclude: Incomplete | None = ...,
|
||||
Reserved: Incomplete | None = ...,
|
||||
/,
|
||||
) -> None: ...
|
||||
def OpenEncryptedFileRaw(FileName, Flags): ...
|
||||
def ReadEncryptedFileRaw(ExportCallback, CallbackContext, Context) -> None: ...
|
||||
def WriteEncryptedFileRaw(ImportCallback, CallbackContext, Context) -> None: ...
|
||||
def CloseEncryptedFileRaw(Context) -> None: ...
|
||||
def OpenEncryptedFileRaw(FileName, Flags, /): ...
|
||||
def ReadEncryptedFileRaw(ExportCallback, CallbackContext, Context, /) -> None: ...
|
||||
def WriteEncryptedFileRaw(ImportCallback, CallbackContext, Context, /) -> None: ...
|
||||
def CloseEncryptedFileRaw(Context, /) -> None: ...
|
||||
def CreateFileW(
|
||||
FileName: str,
|
||||
DesiredAccess,
|
||||
@@ -208,7 +210,7 @@ def CreateFileW(
|
||||
ExtendedParameter: Incomplete | None = ...,
|
||||
) -> int: ...
|
||||
def DeleteFileW(FileName: str, Transaction: int | None = ...) -> None: ...
|
||||
def GetFileAttributesEx(FileName: str, InfoLevelId, Transaction: int | None = ...): ...
|
||||
def GetFileAttributesEx(FileName: str, InfoLevelId=..., Transaction: int | None = ...): ...
|
||||
def SetFileAttributesW(FileName, FileAttributes, Transaction: int | None = ...) -> None: ...
|
||||
def CreateDirectoryExW(
|
||||
TemplateDirectory: str,
|
||||
@@ -217,17 +219,19 @@ def CreateDirectoryExW(
|
||||
Transaction: int | None = ...,
|
||||
) -> None: ...
|
||||
def RemoveDirectory(PathName: str, Transaction: int | None = ...) -> None: ...
|
||||
def FindFilesW(FileName: str, Transaction: int | None = ...): ...
|
||||
def FindFilesW(
|
||||
FileName: str, Transaction: int | None = ...
|
||||
) -> list[tuple[int, Incomplete, Incomplete, Incomplete, int, int, int, int, str, str]]: ...
|
||||
def FindFilesIterator(FileName: str, Transaction: int | None = ...): ...
|
||||
def FindStreams(FileName: str, Transaction: int | None = ...) -> list[tuple[Incomplete, str]]: ...
|
||||
def FindFileNames(FileName: str, Transaction: int | None = ...) -> list[Incomplete]: ...
|
||||
def FindFileNames(FileName: str, Transaction: int | None = ...) -> list[str]: ...
|
||||
def GetFinalPathNameByHandle(File: int, Flags) -> str: ...
|
||||
def SfcGetNextProtectedFile() -> list[Incomplete]: ...
|
||||
def SfcIsFileProtected(ProtFileName: str): ...
|
||||
def GetLongPathName(__ShortPath: str, __Transaction: int | None = ...) -> str: ...
|
||||
def SfcIsFileProtected(ProtFileName: str, /): ...
|
||||
def GetLongPathName(ShortPath: str, Transaction: int | None = ...) -> str: ...
|
||||
def GetFullPathName(FileName, Transaction: int | None = ...): ...
|
||||
def Wow64DisableWow64FsRedirection(): ...
|
||||
def Wow64RevertWow64FsRedirection(OldValue) -> None: ...
|
||||
def Wow64RevertWow64FsRedirection(OldValue, /) -> None: ...
|
||||
def GetFileInformationByHandleEx(File: int, FileInformationClass): ...
|
||||
def SetFileInformationByHandle(File: int, FileInformationClass, Information) -> None: ...
|
||||
def ReOpenFile(OriginalFile: int, DesiredAccess, ShareMode, Flags) -> int: ...
|
||||
@@ -239,8 +243,8 @@ def OpenFileById(
|
||||
Flags,
|
||||
SecurityAttributes: _win32typing.PySECURITY_ATTRIBUTES | None = ...,
|
||||
) -> int: ...
|
||||
def DCB(*args, **kwargs): ... # incomplete
|
||||
def GetFileAttributesExW(*args, **kwargs): ... # incomplete
|
||||
def DCB(*args): ... # incomplete
|
||||
def GetFileAttributesExW(*args): ... # incomplete
|
||||
def OVERLAPPED() -> _win32typing.PyOVERLAPPED: ...
|
||||
|
||||
CALLBACK_CHUNK_FINISHED: int
|
||||
@@ -444,4 +448,4 @@ INVALID_HANDLE_VALUE: int
|
||||
UNICODE: int
|
||||
|
||||
# win32pipe.FDCreatePipe is the only known public method to expose this. But it opens both read and write handles.
|
||||
def _open_osfhandle(osfhandle: _win32typing.PyHANDLE, flags: int) -> int: ...
|
||||
def _open_osfhandle(osfhandle: _win32typing.PyHANDLE, flags: int, /) -> int: ...
|
||||
|
||||
@@ -7,117 +7,129 @@ from win32.lib.pywintypes import error as error
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
def EnumFontFamilies(hdc: int, Family: str, EnumFontFamProc, Param): ...
|
||||
def set_logger(logger) -> None: ...
|
||||
def EnumFontFamilies(hdc: int, Family: str, EnumFontFamProc, Param, /): ...
|
||||
def set_logger(logger, /) -> None: ...
|
||||
def LOGFONT() -> _win32typing.PyLOGFONT: ...
|
||||
def CreateFontIndirect(lplf: _win32typing.PyLOGFONT): ...
|
||||
def GetObject(handle: int): ...
|
||||
def GetObjectType(h: int): ...
|
||||
def PyGetMemory(__addr: int, __len: int): ...
|
||||
def PyGetString(addr, _len=...) -> str: ...
|
||||
def PySetString(addr, String, maxLen): ...
|
||||
def PySetMemory(addr, String): ...
|
||||
def PyGetArraySignedLong(array, index): ...
|
||||
def PyGetBufferAddressAndLen(obj): ...
|
||||
def FlashWindow(hwnd: int, bInvert): ...
|
||||
def FlashWindowEx(hwnd: int, dwFlags, uCount, dwTimeout): ...
|
||||
def GetWindowLong(hwnd: int, index): ...
|
||||
def GetClassLong(hwnd: int, index): ...
|
||||
def SetWindowLong(hwnd: int, index, value): ...
|
||||
def CallWindowProc(wndproc, hwnd: int, msg, wparam, lparam): ...
|
||||
def CreateFontIndirect(lplf: _win32typing.PyLOGFONT, /): ...
|
||||
def GetObject(handle: int, /): ...
|
||||
def GetObjectType(h: int, /): ...
|
||||
def PyGetMemory(addr: int, len: int, /): ...
|
||||
def PyGetString(addr, _len=..., /) -> str: ...
|
||||
def PySetString(addr, String, maxLen, /): ...
|
||||
def PySetMemory(addr, String, /): ...
|
||||
def PyGetArraySignedLong(array, index, /): ...
|
||||
def PyGetBufferAddressAndLen(obj, /): ...
|
||||
def FlashWindow(hwnd: int, bInvert, /): ...
|
||||
def FlashWindowEx(hwnd: int, dwFlags, uCount, dwTimeout, /): ...
|
||||
def GetWindowLong(hwnd: int, index, /): ...
|
||||
def GetClassLong(hwnd: int, index, /): ...
|
||||
def SetWindowLong(hwnd: int, index, value, /): ...
|
||||
def CallWindowProc(wndproc, hwnd: int, msg, wparam, lparam, /): ...
|
||||
def CascadeWindows(
|
||||
__hwndObject: _win32typing.PyHANDLE | int | None,
|
||||
__how: int,
|
||||
__rectObject: _win32typing.PyRECT | tuple[int, int, int, int] | int | None = None,
|
||||
__childrenObject: tuple[_win32typing.PyHANDLE | int, ...] | None = None,
|
||||
hwndObject: _win32typing.PyHANDLE | int | None,
|
||||
how: int,
|
||||
rectObject: _win32typing.PyRECT | tuple[int, int, int, int] | int | None = None,
|
||||
childrenObject: tuple[_win32typing.PyHANDLE | int, ...] | None = None,
|
||||
/,
|
||||
) -> int: ...
|
||||
def SendMessage(
|
||||
__hwnd: int | None, __message: int, __wparam: int | None = ..., __lparam: ReadableBuffer | float | None = ...
|
||||
hwnd: int | None, message: int, wparam: int | None = ..., lparam: ReadableBuffer | float | None = ..., /
|
||||
) -> int: ...
|
||||
def SendMessageTimeout(
|
||||
__hwnd: int,
|
||||
__message: int,
|
||||
__wparam: ReadableBuffer | float | None,
|
||||
__lparam: ReadableBuffer | float | None,
|
||||
__flags: int,
|
||||
__timeout: int,
|
||||
hwnd: int,
|
||||
message: int,
|
||||
wparam: ReadableBuffer | float | None,
|
||||
lparam: ReadableBuffer | float | None,
|
||||
flags: int,
|
||||
timeout: int,
|
||||
/,
|
||||
) -> tuple[int, int]: ...
|
||||
def PostMessage(
|
||||
__hwnd: int | None, __message: int, __wparam: int | None = ..., __lparam: ReadableBuffer | float | None = ...
|
||||
hwnd: int | None, message: int, wparam: int | None = ..., lparam: ReadableBuffer | float | None = ..., /
|
||||
) -> None: ...
|
||||
def PostThreadMessage(threadId, message, wparam, lparam) -> None: ...
|
||||
def ReplyMessage(result): ...
|
||||
def ResetDC(__hdc: int, __devmode: _win32typing.PyDEVMODE | _win32typing.PyDEVMODEW) -> int: ...
|
||||
def RegisterWindowMessage(name: str): ...
|
||||
def PostThreadMessage(threadId, message, wparam, lparam, /) -> None: ...
|
||||
def ReplyMessage(result, /): ...
|
||||
def ResetDC(hdc: int, devmode: _win32typing.PyDEVMODE | _win32typing.PyDEVMODEW, /) -> int: ...
|
||||
def RegisterWindowMessage(name: str, /): ...
|
||||
def DefWindowProc(
|
||||
hwnd: int | None, message: int, wparam: ReadableBuffer | float | None, lparam: ReadableBuffer | float | None
|
||||
hwnd: int | None, message: int, wparam: ReadableBuffer | float | None, lparam: ReadableBuffer | float | None, /
|
||||
) -> int: ...
|
||||
def EnumWindows(__callback: Callable[[int, _T], object], __extra: _T) -> None: ...
|
||||
def EnumThreadWindows(dwThreadId, __callback: Callable[[int, _T], object], __extra: _T) -> None: ...
|
||||
def EnumChildWindows(__hwnd: int | None, __callback: Callable[[int, _T], object], __extra: _T) -> None: ...
|
||||
def DialogBox(hInstance: int, TemplateName: _win32typing.PyResourceId, hWndParent: int, DialogFunc, InitParam: int = ...): ...
|
||||
def EnumWindows(callback: Callable[[int, _T], object], extra: _T, /) -> None: ...
|
||||
def EnumThreadWindows(dwThreadId, callback: Callable[[int, _T], object], extra: _T, /) -> None: ...
|
||||
def EnumChildWindows(hwnd: int | None, callback: Callable[[int, _T], object], extra: _T, /) -> None: ...
|
||||
def DialogBox(hInstance: int, TemplateName: _win32typing.PyResourceId, hWndParent: int, DialogFunc, InitParam: int = ..., /): ...
|
||||
def DialogBoxParam(): ...
|
||||
def DialogBoxIndirect(
|
||||
hInstance: int, controllist: _win32typing.PyDialogTemplate, hWndParent: int, DialogFunc, InitParam: int = ...
|
||||
hInstance: int, controllist: _win32typing.PyDialogTemplate, hWndParent: int, DialogFunc, InitParam: int = ..., /
|
||||
): ...
|
||||
def DialogBoxIndirectParam(): ...
|
||||
def CreateDialogIndirect(
|
||||
hInstance: int, controllist: _win32typing.PyDialogTemplate, hWndParent: int, DialogFunc, InitParam: int = ...
|
||||
hInstance: int, controllist: _win32typing.PyDialogTemplate, hWndParent: int, DialogFunc, InitParam: int = ..., /
|
||||
): ...
|
||||
def EndDialog(hwnd: int, result) -> None: ...
|
||||
def GetDlgItem(hDlg: int, IDDlgItem): ...
|
||||
def GetDlgItemInt(hDlg: int, IDDlgItem, Signed) -> None: ...
|
||||
def SetDlgItemInt(hDlg: int, IDDlgItem, Value, Signed) -> None: ...
|
||||
def GetDlgCtrlID(hwnd: int): ...
|
||||
def GetDlgItemText(hDlg: int, IDDlgItem) -> str: ...
|
||||
def SetDlgItemText(hDlg: int, IDDlgItem, String) -> None: ...
|
||||
def GetNextDlgTabItem(hDlg, hCtl, bPrevious): ...
|
||||
def GetNextDlgGroupItem(hDlg, hCtl, bPrevious): ...
|
||||
def EndDialog(hwnd: int, result, /) -> None: ...
|
||||
def GetDlgItem(hDlg: int, IDDlgItem, /): ...
|
||||
def GetDlgItemInt(hDlg: int, IDDlgItem, Signed, /) -> None: ...
|
||||
def SetDlgItemInt(hDlg: int, IDDlgItem, Value, Signed, /) -> None: ...
|
||||
def GetDlgCtrlID(hwnd: int, /): ...
|
||||
def GetDlgItemText(hDlg: int, IDDlgItem, /) -> str: ...
|
||||
def SetDlgItemText(hDlg: int, IDDlgItem, String, /) -> None: ...
|
||||
def GetNextDlgTabItem(hDlg, hCtl, bPrevious, /): ...
|
||||
def GetNextDlgGroupItem(hDlg, hCtl, bPrevious, /): ...
|
||||
def SetWindowText() -> None: ...
|
||||
def GetWindowText(hwnd: int) -> str: ...
|
||||
def GetWindowText(hwnd: int, /) -> str: ...
|
||||
def InitCommonControls() -> None: ...
|
||||
def InitCommonControlsEx(flag) -> None: ...
|
||||
def LoadCursor(hinstance, resid): ...
|
||||
def SetCursor(hcursor): ...
|
||||
def InitCommonControlsEx(flag, /) -> None: ...
|
||||
def LoadCursor(hinstance, resid, /): ...
|
||||
def SetCursor(hcursor, /): ...
|
||||
def GetCursor(): ...
|
||||
def GetCursorInfo() -> tuple[int, int, int, int]: ...
|
||||
def CreateAcceleratorTable(accels: tuple[tuple[Incomplete, Incomplete, Incomplete], ...]): ...
|
||||
def LoadMenu(hinstance, resource_id: str): ...
|
||||
def CreateAcceleratorTable(accels: tuple[tuple[Incomplete, Incomplete, Incomplete], ...], /): ...
|
||||
def LoadMenu(hinstance, resource_id: str, /): ...
|
||||
def DestroyMenu() -> None: ...
|
||||
def SetMenu(hwnd: int, hmenu) -> None: ...
|
||||
def GetMenu(__hwnd: int) -> int: ...
|
||||
def LoadIcon(__hinstance: int, __resource_id_or_name: str | int) -> _win32typing.PyWNDCLASS: ...
|
||||
def CopyIcon(hicon): ...
|
||||
def DrawIcon(hDC, X, Y, hicon) -> None: ...
|
||||
def SetMenu(hwnd: int, hmenu, /) -> None: ...
|
||||
def GetMenu(hwnd: int, /) -> int: ...
|
||||
def LoadIcon(hinstance: int, resource_id_or_name: str | int, /) -> _win32typing.PyWNDCLASS: ...
|
||||
def CopyIcon(hicon, /): ...
|
||||
def DrawIcon(hDC, X, Y, hicon, /) -> None: ...
|
||||
def DrawIconEx(
|
||||
hDC, xLeft, yTop, hIcon, cxWidth, cyWidth, istepIfAniCur, hbrFlickerFreeDraw: _win32typing.PyGdiHANDLE, diFlags
|
||||
hDC, xLeft, yTop, hIcon, cxWidth, cyWidth, istepIfAniCur, hbrFlickerFreeDraw: _win32typing.PyGdiHANDLE, diFlags, /
|
||||
) -> None: ...
|
||||
def CreateIconIndirect(iconinfo: _win32typing.PyICONINFO): ...
|
||||
def CreateIconFromResource(bits: str, fIcon, ver: int = ...) -> int: ...
|
||||
def LoadImage(
|
||||
__hinst: int, __name: str, __type: int, __cxDesired: int, __cyDesired: int, __fuLoad: int
|
||||
) -> _win32typing.PyGdiHANDLE: ...
|
||||
def DeleteObject(__handle: int | _win32typing.PyGdiHANDLE) -> None: ...
|
||||
def CreateIconIndirect(iconinfo: _win32typing.PyICONINFO, /): ...
|
||||
def CreateIconFromResource(bits: str, fIcon, ver: int = ..., /) -> int: ...
|
||||
def LoadImage(hinst: int, name: str, type: int, cxDesired: int, cyDesired: int, fuLoad: int, /) -> _win32typing.PyGdiHANDLE: ...
|
||||
def DeleteObject(handle: int | _win32typing.PyGdiHANDLE, /) -> None: ...
|
||||
def BitBlt(
|
||||
__hdcDest: int | _win32typing.PyGdiHANDLE,
|
||||
__x: int,
|
||||
__y: int,
|
||||
__width: int,
|
||||
__height: int,
|
||||
__hdcSrc: int | _win32typing.PyGdiHANDLE | None,
|
||||
__nXSrc: int,
|
||||
__nYSrc: int,
|
||||
__dwRop: int,
|
||||
hdcDest: int | _win32typing.PyGdiHANDLE,
|
||||
x: int,
|
||||
y: int,
|
||||
width: int,
|
||||
height: int,
|
||||
hdcSrc: int | _win32typing.PyGdiHANDLE | None,
|
||||
nXSrc: int,
|
||||
nYSrc: int,
|
||||
dwRop: int,
|
||||
/,
|
||||
) -> None: ...
|
||||
def StretchBlt(hdcDest, x, y, width, height, hdcSrc, nXSrc, nYSrc, nWidthSrc, nHeightSrc, dwRop) -> None: ...
|
||||
def PatBlt(hdc: int, XLeft, YLeft, Width, Height, Rop) -> None: ...
|
||||
def SetStretchBltMode(hdc: int, StretchMode): ...
|
||||
def GetStretchBltMode(hdc: int): ...
|
||||
def StretchBlt(hdcDest, x, y, width, height, hdcSrc, nXSrc, nYSrc, nWidthSrc, nHeightSrc, dwRop, /) -> None: ...
|
||||
def PatBlt(hdc: int, XLeft, YLeft, Width, Height, Rop, /) -> None: ...
|
||||
def SetStretchBltMode(hdc: int, StretchMode, /): ...
|
||||
def GetStretchBltMode(hdc: int, /): ...
|
||||
def TransparentBlt(
|
||||
Dest: int, XOriginDest, YOriginDest, WidthDest, HeightDest, Src: int, XOriginSrc, YOriginSrc, WidthSrc, HeightSrc, Transparent
|
||||
Dest: int,
|
||||
XOriginDest,
|
||||
YOriginDest,
|
||||
WidthDest,
|
||||
HeightDest,
|
||||
Src: int,
|
||||
XOriginSrc,
|
||||
YOriginSrc,
|
||||
WidthSrc,
|
||||
HeightSrc,
|
||||
Transparent,
|
||||
/,
|
||||
) -> None: ...
|
||||
def MaskBlt(
|
||||
Dest: int, XDest, YDest, Width, Height, Src: int, XSrc, YSrc, Mask: _win32typing.PyGdiHANDLE, xMask, yMask, Rop
|
||||
Dest: int, XDest, YDest, Width, Height, Src: int, XSrc, YSrc, Mask: _win32typing.PyGdiHANDLE, xMask, yMask, Rop, /
|
||||
) -> None: ...
|
||||
def AlphaBlend(
|
||||
Dest: int,
|
||||
@@ -131,172 +143,170 @@ def AlphaBlend(
|
||||
WidthSrc,
|
||||
HeightSrc,
|
||||
blendFunction: _win32typing.PyBLENDFUNCTION,
|
||||
/,
|
||||
) -> None: ...
|
||||
def MessageBox(parent, text: str, caption: str, flags): ...
|
||||
def MessageBeep(_type) -> None: ...
|
||||
def MessageBox(parent, text: str, caption: str, flags, /): ...
|
||||
def MessageBeep(_type, /) -> None: ...
|
||||
def CreateWindow(
|
||||
__className: str | _win32typing.PyResourceId,
|
||||
__windowTitle: str | None,
|
||||
__style: int,
|
||||
__x: int,
|
||||
__y: int,
|
||||
__width: int,
|
||||
__height: int,
|
||||
__parent: int,
|
||||
__menu: int,
|
||||
__hinstance: int,
|
||||
__reserved: Incomplete | None,
|
||||
className: str | _win32typing.PyResourceId,
|
||||
windowTitle: str | None,
|
||||
style: int,
|
||||
x: int,
|
||||
y: int,
|
||||
width: int,
|
||||
height: int,
|
||||
parent: int,
|
||||
menu: int,
|
||||
hinstance: int,
|
||||
reserved: Incomplete | None,
|
||||
/,
|
||||
) -> int: ...
|
||||
def DestroyWindow(_hwnd: int) -> None: ...
|
||||
def EnableWindow(hWnd: int, bEnable): ...
|
||||
def FindWindow(__ClassName: _win32typing.PyResourceId | str | None, __WindowName: str | None) -> int: ...
|
||||
def DestroyWindow(_hwnd: int, /) -> None: ...
|
||||
def EnableWindow(hWnd: int, bEnable, /): ...
|
||||
def FindWindow(ClassName: _win32typing.PyResourceId | str | None, WindowName: str | None, /) -> int: ...
|
||||
def FindWindowEx(
|
||||
__Parent: int | None, __ChildAfter: int | None, __ClassName: _win32typing.PyResourceId | str | None, __WindowName: str | None
|
||||
Parent: int | None, ChildAfter: int | None, ClassName: _win32typing.PyResourceId | str | None, WindowName: str | None, /
|
||||
) -> int: ...
|
||||
def DragAcceptFiles(hwnd: int, fAccept) -> None: ...
|
||||
def DragDetect(hwnd: int, point: tuple[Incomplete, Incomplete]) -> None: ...
|
||||
def SetDoubleClickTime(newVal) -> None: ...
|
||||
def DragAcceptFiles(hwnd: int, fAccept, /) -> None: ...
|
||||
def DragDetect(hwnd: int, point: tuple[Incomplete, Incomplete], /) -> None: ...
|
||||
def SetDoubleClickTime(newVal, /) -> None: ...
|
||||
def GetDoubleClickTime(): ...
|
||||
def HideCaret(hWnd: int) -> None: ...
|
||||
def SetCaretPos(x, y) -> None: ...
|
||||
def HideCaret(hWnd: int, /) -> None: ...
|
||||
def SetCaretPos(x, y, /) -> None: ...
|
||||
def GetCaretPos() -> tuple[Incomplete, Incomplete]: ...
|
||||
def ShowCaret(hWnd: int) -> None: ...
|
||||
def ShowWindow(__hWnd: int | None, __cmdShow: int) -> int: ...
|
||||
def IsWindowVisible(__hwnd: int | None) -> int: ...
|
||||
def IsWindowEnabled(__hwnd: int | None) -> int: ...
|
||||
def SetFocus(hwnd: int) -> None: ...
|
||||
def ShowCaret(hWnd: int, /) -> None: ...
|
||||
def ShowWindow(hWnd: int | None, cmdShow: int, /) -> int: ...
|
||||
def IsWindowVisible(hwnd: int | None, /) -> int: ...
|
||||
def IsWindowEnabled(hwnd: int | None, /) -> int: ...
|
||||
def SetFocus(hwnd: int, /) -> None: ...
|
||||
def GetFocus() -> None: ...
|
||||
def UpdateWindow(__hwnd: int) -> None: ...
|
||||
def BringWindowToTop(hwnd: int) -> None: ...
|
||||
def SetActiveWindow(hwnd: int): ...
|
||||
def UpdateWindow(hwnd: int, /) -> None: ...
|
||||
def BringWindowToTop(hwnd: int, /) -> None: ...
|
||||
def SetActiveWindow(hwnd: int, /): ...
|
||||
def GetActiveWindow(): ...
|
||||
def SetForegroundWindow(__hwnd: int) -> None: ...
|
||||
def SetForegroundWindow(hwnd: int, /) -> None: ...
|
||||
def GetForegroundWindow() -> int: ...
|
||||
def GetClientRect(hwnd: int) -> tuple[int, int, int, int]: ...
|
||||
def GetDC(hwnd: int): ...
|
||||
def SaveDC(hdc: int): ...
|
||||
def RestoreDC(hdc: int, SavedDC) -> None: ...
|
||||
def DeleteDC(__hdc: int | _win32typing.PyHANDLE) -> None: ...
|
||||
def CreateCompatibleDC(__dc: int | _win32typing.PyHANDLE | None) -> int: ...
|
||||
def CreateCompatibleBitmap(
|
||||
__hdc: int | _win32typing.PyHANDLE | None, __width: int, __height: int
|
||||
) -> _win32typing.PyGdiHANDLE: ...
|
||||
def CreateBitmap(
|
||||
__width: int, __height: int, __cPlanes: int, __cBitsPerPixel: int, __bitmap_bits: None
|
||||
) -> _win32typing.PyGdiHANDLE: ...
|
||||
def SelectObject(__hdc: int | _win32typing.PyHANDLE | None, __object: int | _win32typing.PyHANDLE | None) -> int: ...
|
||||
def GetCurrentObject(hdc: int, ObjectType) -> int: ...
|
||||
def GetWindowRect(__hwnd: int | _win32typing.PyHANDLE) -> tuple[int, int, int, int]: ...
|
||||
def GetStockObject(Object) -> int: ...
|
||||
def PostQuitMessage(__rc: int) -> None: ...
|
||||
def GetClientRect(hwnd: int, /) -> tuple[int, int, int, int]: ...
|
||||
def GetDC(hwnd: int, /): ...
|
||||
def SaveDC(hdc: int, /): ...
|
||||
def RestoreDC(hdc: int, SavedDC, /) -> None: ...
|
||||
def DeleteDC(hdc: int | _win32typing.PyHANDLE, /) -> None: ...
|
||||
def CreateCompatibleDC(dc: int | _win32typing.PyHANDLE | None, /) -> int: ...
|
||||
def CreateCompatibleBitmap(hdc: int | _win32typing.PyHANDLE | None, width: int, height: int, /) -> _win32typing.PyGdiHANDLE: ...
|
||||
def CreateBitmap(width: int, height: int, cPlanes: int, cBitsPerPixel: int, bitmap_bits: None, /) -> _win32typing.PyGdiHANDLE: ...
|
||||
def SelectObject(hdc: int | _win32typing.PyHANDLE | None, object: int | _win32typing.PyHANDLE | None, /) -> int: ...
|
||||
def GetCurrentObject(hdc: int, ObjectType, /) -> int: ...
|
||||
def GetWindowRect(hwnd: int | _win32typing.PyHANDLE, /) -> tuple[int, int, int, int]: ...
|
||||
def GetStockObject(Object, /) -> int: ...
|
||||
def PostQuitMessage(rc: int, /) -> None: ...
|
||||
def WaitMessage() -> None: ...
|
||||
def SetWindowPos(__hWnd: int, __InsertAfter: int | None, __X: int, __Y: int, __cx: int, __cy: int, __Flags: int) -> None: ...
|
||||
def GetWindowPlacement(__hwnd: int) -> tuple[int, int, tuple[int, int], tuple[int, int], tuple[int, int, int, int]]: ...
|
||||
def SetWindowPlacement(hWnd: int, placement) -> None: ...
|
||||
def RegisterClass(__wndClass: _win32typing.PyWNDCLASS) -> _win32typing.PyResourceId: ...
|
||||
def UnregisterClass(__atom: _win32typing.PyResourceId, __hinst: int) -> None: ...
|
||||
def SetWindowPos(hWnd: int, InsertAfter: int | None, X: int, Y: int, cx: int, cy: int, Flags: int, /) -> None: ...
|
||||
def GetWindowPlacement(hwnd: int, /) -> tuple[int, int, tuple[int, int], tuple[int, int], tuple[int, int, int, int]]: ...
|
||||
def SetWindowPlacement(hWnd: int, placement, /) -> None: ...
|
||||
def RegisterClass(wndClass: _win32typing.PyWNDCLASS, /) -> _win32typing.PyResourceId: ...
|
||||
def UnregisterClass(atom: _win32typing.PyResourceId, hinst: int, /) -> None: ...
|
||||
def PumpMessages() -> None: ...
|
||||
def PumpWaitingMessages(__firstMessage: int = ..., __lastMessage: int = ...) -> int: ...
|
||||
def GetMessage(hwnd: int, _min, _max): ...
|
||||
def TranslateMessage(msg): ...
|
||||
def DispatchMessage(msg): ...
|
||||
def TranslateAccelerator(hwnd: int, haccel, msg): ...
|
||||
def PeekMessage(hwnd: int, filterMin, filterMax, removalOptions): ...
|
||||
def Shell_NotifyIcon(__Message: int, __nid: _win32typing.PyNOTIFYICONDATA) -> None: ...
|
||||
def GetSystemMenu(hwnd: int, bRevert): ...
|
||||
def DrawMenuBar(hwnd: int) -> None: ...
|
||||
def MoveWindow(__hwnd: int, __x: int, __y: int, __width: int, __height: int, __bRepaint: bool) -> None: ...
|
||||
def PumpWaitingMessages(firstMessage: int = ..., lastMessage: int = ..., /) -> int: ...
|
||||
def GetMessage(hwnd: int, _min, _max, /): ...
|
||||
def TranslateMessage(msg, /): ...
|
||||
def DispatchMessage(msg, /): ...
|
||||
def TranslateAccelerator(hwnd: int, haccel, msg, /): ...
|
||||
def PeekMessage(hwnd: int, filterMin, filterMax, removalOptions, /): ...
|
||||
def Shell_NotifyIcon(Message: int, nid: _win32typing.PyNOTIFYICONDATA, /) -> None: ...
|
||||
def GetSystemMenu(hwnd: int, bRevert, /): ...
|
||||
def DrawMenuBar(hwnd: int, /) -> None: ...
|
||||
def MoveWindow(hwnd: int, x: int, y: int, width: int, height: int, bRepaint: bool, /) -> None: ...
|
||||
def CloseWindow() -> None: ...
|
||||
def DeleteMenu(hmenu, position, flags) -> None: ...
|
||||
def RemoveMenu(hmenu, position, flags) -> None: ...
|
||||
def DeleteMenu(hmenu, position, flags, /) -> None: ...
|
||||
def RemoveMenu(hmenu, position, flags, /) -> None: ...
|
||||
def CreateMenu(): ...
|
||||
def CreatePopupMenu(): ...
|
||||
def TrackPopupMenu(hmenu, flags, x, y, reserved, hwnd: int, prcRect: _win32typing.PyRECT): ...
|
||||
def TrackPopupMenu(hmenu, flags, x, y, reserved, hwnd: int, prcRect: _win32typing.PyRECT, /): ...
|
||||
def CommDlgExtendedError(): ...
|
||||
def ExtractIcon(hinstance, moduleName: str, index): ...
|
||||
def ExtractIconEx(moduleName: str, index, numIcons: int = ...): ...
|
||||
def DestroyIcon(hicon) -> None: ...
|
||||
def GetIconInfo(hicon: int) -> _win32typing.PyICONINFO: ...
|
||||
def ScreenToClient(hWnd: int, Point: tuple[Incomplete, Incomplete]) -> tuple[Incomplete, Incomplete]: ...
|
||||
def ClientToScreen(hWnd: int, Point: tuple[Incomplete, Incomplete]) -> tuple[Incomplete, Incomplete]: ...
|
||||
def PaintDesktop(hdc: int) -> None: ...
|
||||
def RedrawWindow(hWnd: int, rcUpdate: tuple[int, int, int, int], hrgnUpdate: _win32typing.PyGdiHANDLE, flags) -> None: ...
|
||||
def GetTextExtentPoint32(hdc: int, _str: str) -> tuple[Incomplete, Incomplete]: ...
|
||||
def ExtractIcon(hinstance, moduleName: str, index, /): ...
|
||||
def ExtractIconEx(moduleName: str, index, numIcons: int = ..., /): ...
|
||||
def DestroyIcon(hicon, /) -> None: ...
|
||||
def GetIconInfo(hicon: int, /) -> _win32typing.PyICONINFO: ...
|
||||
def ScreenToClient(hWnd: int, Point: tuple[Incomplete, Incomplete], /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def ClientToScreen(hWnd: int, Point: tuple[Incomplete, Incomplete], /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def PaintDesktop(hdc: int, /) -> None: ...
|
||||
def RedrawWindow(hWnd: int, rcUpdate: tuple[int, int, int, int], hrgnUpdate: _win32typing.PyGdiHANDLE, flags, /) -> None: ...
|
||||
def GetTextExtentPoint32(hdc: int, _str: str, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetTextMetrics(): ...
|
||||
def GetTextCharacterExtra(hdc: int): ...
|
||||
def SetTextCharacterExtra(hdc: int, CharExtra): ...
|
||||
def GetTextAlign(hdc: int): ...
|
||||
def SetTextAlign(hdc: int, Mode): ...
|
||||
def GetTextFace(hdc: int) -> str: ...
|
||||
def GetMapMode(hdc: int): ...
|
||||
def SetMapMode(hdc: int, MapMode): ...
|
||||
def GetGraphicsMode(hdc: int): ...
|
||||
def SetGraphicsMode(hdc: int, Mode): ...
|
||||
def GetLayout(hdc: int): ...
|
||||
def SetLayout(hdc: int, Layout): ...
|
||||
def GetPolyFillMode(hdc: int): ...
|
||||
def SetPolyFillMode(hdc: int, PolyFillMode): ...
|
||||
def GetWorldTransform(hdc: int) -> _win32typing.PyXFORM: ...
|
||||
def SetWorldTransform(hdc: int, Xform: _win32typing.PyXFORM) -> None: ...
|
||||
def ModifyWorldTransform(hdc: int, Xform: _win32typing.PyXFORM, Mode) -> None: ...
|
||||
def CombineTransform(xform1: _win32typing.PyXFORM, xform2: _win32typing.PyXFORM) -> _win32typing.PyXFORM: ...
|
||||
def GetWindowOrgEx(hdc: int) -> tuple[Incomplete, Incomplete]: ...
|
||||
def SetWindowOrgEx(hdc: int, X, Y) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetViewportOrgEx(hdc: int) -> tuple[Incomplete, Incomplete]: ...
|
||||
def SetViewportOrgEx(hdc: int, X, Y) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetWindowExtEx(hdc: int) -> tuple[Incomplete, Incomplete]: ...
|
||||
def SetWindowExtEx(hdc: int, XExtent, YExtent) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetViewportExtEx(hdc: int) -> tuple[Incomplete, Incomplete]: ...
|
||||
def SetViewportExtEx(hdc: int, XExtent, YExtent) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GradientFill(hdc, Vertex: tuple[_win32typing.PyTRIVERTEX, ...], Mesh, Mode) -> None: ...
|
||||
def GetOpenFileName(OPENFILENAME: str): ...
|
||||
def InsertMenuItem(hMenu, uItem, fByPosition, menuItem) -> None: ...
|
||||
def SetMenuItemInfo(hMenu, uItem, fByPosition, menuItem) -> None: ...
|
||||
def GetMenuItemInfo(__hMenu: int, __uItem: int, __fByPosition: bool, __menuItem: ReadableBuffer) -> None: ...
|
||||
def GetMenuItemCount(__hMenu: int | None) -> int: ...
|
||||
def GetTextCharacterExtra(hdc: int, /): ...
|
||||
def SetTextCharacterExtra(hdc: int, CharExtra, /): ...
|
||||
def GetTextAlign(hdc: int, /): ...
|
||||
def SetTextAlign(hdc: int, Mode, /): ...
|
||||
def GetTextFace(hdc: int, /) -> str: ...
|
||||
def GetMapMode(hdc: int, /): ...
|
||||
def SetMapMode(hdc: int, MapMode, /): ...
|
||||
def GetGraphicsMode(hdc: int, /): ...
|
||||
def SetGraphicsMode(hdc: int, Mode, /): ...
|
||||
def GetLayout(hdc: int, /): ...
|
||||
def SetLayout(hdc: int, Layout, /): ...
|
||||
def GetPolyFillMode(hdc: int, /): ...
|
||||
def SetPolyFillMode(hdc: int, PolyFillMode, /): ...
|
||||
def GetWorldTransform(hdc: int, /) -> _win32typing.PyXFORM: ...
|
||||
def SetWorldTransform(hdc: int, Xform: _win32typing.PyXFORM, /) -> None: ...
|
||||
def ModifyWorldTransform(hdc: int, Xform: _win32typing.PyXFORM, Mode, /) -> None: ...
|
||||
def CombineTransform(xform1: _win32typing.PyXFORM, xform2: _win32typing.PyXFORM, /) -> _win32typing.PyXFORM: ...
|
||||
def GetWindowOrgEx(hdc: int, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def SetWindowOrgEx(hdc: int, X, Y, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetViewportOrgEx(hdc: int, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def SetViewportOrgEx(hdc: int, X, Y, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetWindowExtEx(hdc: int, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def SetWindowExtEx(hdc: int, XExtent, YExtent, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetViewportExtEx(hdc: int, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def SetViewportExtEx(hdc: int, XExtent, YExtent, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GradientFill(hdc, Vertex: tuple[_win32typing.PyTRIVERTEX, ...], Mesh, Mode, /) -> None: ...
|
||||
def GetOpenFileName(OPENFILENAME: str, /): ...
|
||||
def InsertMenuItem(hMenu, uItem, fByPosition, menuItem, /) -> None: ...
|
||||
def SetMenuItemInfo(hMenu, uItem, fByPosition, menuItem, /) -> None: ...
|
||||
def GetMenuItemInfo(hMenu: int, uItem: int, fByPosition: bool, menuItem: ReadableBuffer, /) -> None: ...
|
||||
def GetMenuItemCount(hMenu: int | None, /) -> int: ...
|
||||
|
||||
# Actually returns a list of int|tuple, but lists don't support positional types
|
||||
def GetMenuItemRect(__hWnd: int | None, __hMenu: int | None, __uItem: int) -> tuple[int, tuple[int, int, int, int]]: ...
|
||||
def GetMenuState(hMenu, uID, flags): ...
|
||||
def SetMenuDefaultItem(hMenu, uItem, fByPos) -> None: ...
|
||||
def GetMenuDefaultItem(hMenu, fByPos, flags): ...
|
||||
def GetMenuItemRect(hWnd: int | None, hMenu: int | None, uItem: int, /) -> tuple[int, tuple[int, int, int, int]]: ...
|
||||
def GetMenuState(hMenu, uID, flags, /): ...
|
||||
def SetMenuDefaultItem(hMenu, uItem, fByPos, /) -> None: ...
|
||||
def GetMenuDefaultItem(hMenu, fByPos, flags, /): ...
|
||||
def AppendMenu() -> None: ...
|
||||
def InsertMenu() -> None: ...
|
||||
def EnableMenuItem() -> None: ...
|
||||
def CheckMenuItem(): ...
|
||||
def GetSubMenu(hMenu, nPos): ...
|
||||
def ModifyMenu(hMnu, uPosition, uFlags, uIDNewItem, newItem: str) -> None: ...
|
||||
def GetMenuItemID(hMenu, nPos): ...
|
||||
def GetSubMenu(hMenu, nPos, /): ...
|
||||
def ModifyMenu(hMnu, uPosition, uFlags, uIDNewItem, newItem: str, /) -> None: ...
|
||||
def GetMenuItemID(hMenu, nPos, /): ...
|
||||
def SetMenuItemBitmaps(
|
||||
hMenu, uPosition, uFlags, hBitmapUnchecked: _win32typing.PyGdiHANDLE, hBitmapChecked: _win32typing.PyGdiHANDLE
|
||||
hMenu, uPosition, uFlags, hBitmapUnchecked: _win32typing.PyGdiHANDLE, hBitmapChecked: _win32typing.PyGdiHANDLE, /
|
||||
) -> None: ...
|
||||
def CheckMenuRadioItem(hMenu, idFirst, idLast, idCheck, uFlags) -> None: ...
|
||||
def SetMenuInfo(hmenu, info) -> None: ...
|
||||
def GetMenuInfo(__hmenu: int, __info: WriteableBuffer) -> None: ...
|
||||
def DrawFocusRect(hDC: int, rc: tuple[int, int, int, int]) -> None: ...
|
||||
def DrawText(hDC: int, String, nCount, Rect: _win32typing.PyRECT, Format) -> tuple[Incomplete, _win32typing.PyRECT]: ...
|
||||
def LineTo(hdc: int, XEnd, YEnd) -> None: ...
|
||||
def Ellipse(hdc: int, LeftRect, TopRect, RightRect, BottomRect) -> None: ...
|
||||
def Pie(hdc: int, LeftRect, TopRect, RightRect, BottomRect, XRadial1, YRadial1, XRadial2, YRadial2) -> None: ...
|
||||
def Arc(hdc: int, LeftRect, TopRect, RightRect, BottomRect, XRadial1, YRadial1, XRadial2, YRadial2) -> None: ...
|
||||
def ArcTo(hdc: int, LeftRect, TopRect, RightRect, BottomRect, XRadial1, YRadial1, XRadial2, YRadial2) -> None: ...
|
||||
def AngleArc(hdc: int, Y, Y1, Radius, StartAngle: float, SweepAngle: float) -> None: ...
|
||||
def Chord(hdc: int, LeftRect, TopRect, RightRect, BottomRect, XRadial1, YRadial1, XRadial2, YRadial2) -> None: ...
|
||||
def ExtFloodFill(arg: int, XStart, YStart, Color, FillType) -> None: ...
|
||||
def SetPixel(hdc: int, X, Y, Color): ...
|
||||
def GetPixel(hdc: int, XPos, YPos): ...
|
||||
def GetROP2(hdc: int): ...
|
||||
def SetROP2(hdc: int, DrawMode): ...
|
||||
def SetPixelV(hdc: int, X, Y, Color) -> None: ...
|
||||
def MoveToEx(hdc: int, X, Y) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetCurrentPositionEx(hdc: int) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetArcDirection(hdc: int): ...
|
||||
def SetArcDirection(hdc: int, ArcDirection): ...
|
||||
def Polygon(hdc: int, Points: list[tuple[Incomplete, Incomplete]]) -> None: ...
|
||||
def Polyline(hdc: int, Points: list[tuple[Incomplete, Incomplete]]) -> None: ...
|
||||
def PolylineTo(hdc: int, Points: list[tuple[Incomplete, Incomplete]]) -> None: ...
|
||||
def PolyBezier(hdc: int, Points: list[tuple[Incomplete, Incomplete]]) -> None: ...
|
||||
def PolyBezierTo(hdc: int, Points: list[tuple[Incomplete, Incomplete]]) -> None: ...
|
||||
def CheckMenuRadioItem(hMenu, idFirst, idLast, idCheck, uFlags, /) -> None: ...
|
||||
def SetMenuInfo(hmenu, info, /) -> None: ...
|
||||
def GetMenuInfo(hmenu: int, info: WriteableBuffer, /) -> None: ...
|
||||
def DrawFocusRect(hDC: int, rc: tuple[int, int, int, int], /) -> None: ...
|
||||
def DrawText(hDC: int, String, nCount, Rect: _win32typing.PyRECT, Format, /) -> tuple[Incomplete, _win32typing.PyRECT]: ...
|
||||
def LineTo(hdc: int, XEnd, YEnd, /) -> None: ...
|
||||
def Ellipse(hdc: int, LeftRect, TopRect, RightRect, BottomRect, /) -> None: ...
|
||||
def Pie(hdc: int, LeftRect, TopRect, RightRect, BottomRect, XRadial1, YRadial1, XRadial2, YRadial2, /) -> None: ...
|
||||
def Arc(hdc: int, LeftRect, TopRect, RightRect, BottomRect, XRadial1, YRadial1, XRadial2, YRadial2, /) -> None: ...
|
||||
def ArcTo(hdc: int, LeftRect, TopRect, RightRect, BottomRect, XRadial1, YRadial1, XRadial2, YRadial2, /) -> None: ...
|
||||
def AngleArc(hdc: int, Y, Y1, Radius, StartAngle: float, SweepAngle: float, /) -> None: ...
|
||||
def Chord(hdc: int, LeftRect, TopRect, RightRect, BottomRect, XRadial1, YRadial1, XRadial2, YRadial2, /) -> None: ...
|
||||
def ExtFloodFill(arg: int, XStart, YStart, Color, FillType, /) -> None: ...
|
||||
def SetPixel(hdc: int, X, Y, Color, /): ...
|
||||
def GetPixel(hdc: int, XPos, YPos, /): ...
|
||||
def GetROP2(hdc: int, /): ...
|
||||
def SetROP2(hdc: int, DrawMode, /): ...
|
||||
def SetPixelV(hdc: int, X, Y, Color, /) -> None: ...
|
||||
def MoveToEx(hdc: int, X, Y, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetCurrentPositionEx(hdc: int, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetArcDirection(hdc: int, /): ...
|
||||
def SetArcDirection(hdc: int, ArcDirection, /): ...
|
||||
def Polygon(hdc: int, Points: list[tuple[Incomplete, Incomplete]], /) -> None: ...
|
||||
def Polyline(hdc: int, Points: list[tuple[Incomplete, Incomplete]], /) -> None: ...
|
||||
def PolylineTo(hdc: int, Points: list[tuple[Incomplete, Incomplete]], /) -> None: ...
|
||||
def PolyBezier(hdc: int, Points: list[tuple[Incomplete, Incomplete]], /) -> None: ...
|
||||
def PolyBezierTo(hdc: int, Points: list[tuple[Incomplete, Incomplete]], /) -> None: ...
|
||||
def PlgBlt(
|
||||
Dest: int,
|
||||
Point,
|
||||
@@ -308,94 +318,95 @@ def PlgBlt(
|
||||
Mask: _win32typing.PyGdiHANDLE | None = ...,
|
||||
xMask: int = ...,
|
||||
yMask: int = ...,
|
||||
/,
|
||||
) -> None: ...
|
||||
def CreatePolygonRgn(Points: list[tuple[Incomplete, Incomplete]], PolyFillMode) -> _win32typing.PyGdiHANDLE: ...
|
||||
def CreatePolygonRgn(Points: list[tuple[Incomplete, Incomplete]], PolyFillMode, /) -> _win32typing.PyGdiHANDLE: ...
|
||||
def ExtTextOut(
|
||||
hdc: int, _int, _int1, _int2, rect: _win32typing.PyRECT, string, _tuple: tuple[tuple[Incomplete, Incomplete], ...]
|
||||
hdc: int, _int, _int1, _int2, rect: _win32typing.PyRECT, string, _tuple: tuple[tuple[Incomplete, Incomplete], ...], /
|
||||
): ...
|
||||
def GetTextColor(hdc): ...
|
||||
def SetTextColor(hdc, color): ...
|
||||
def GetBkMode(hdc: int): ...
|
||||
def SetBkMode(hdc: int, BkMode): ...
|
||||
def GetBkColor(hdc: int): ...
|
||||
def SetBkColor(hdc: int, color): ...
|
||||
def DrawEdge(hdc: int, rc: _win32typing.PyRECT, edge, Flags) -> _win32typing.PyRECT: ...
|
||||
def FillRect(hDC: int, rc: _win32typing.PyRECT, hbr: _win32typing.PyGdiHANDLE) -> None: ...
|
||||
def FillRgn(hdc: int, hrgn: _win32typing.PyGdiHANDLE, hbr: _win32typing.PyGdiHANDLE) -> None: ...
|
||||
def PaintRgn(hdc: int, hrgn: _win32typing.PyGdiHANDLE) -> None: ...
|
||||
def FrameRgn(hdc: int, hrgn, hbr, Width, Height) -> None: ...
|
||||
def InvertRgn(hdc: int, hrgn) -> None: ...
|
||||
def EqualRgn(SrcRgn1, SrcRgn2): ...
|
||||
def PtInRegion(hrgn, X, Y): ...
|
||||
def PtInRect(rect: tuple[int, int, int, int], point: tuple[Incomplete, Incomplete]): ...
|
||||
def RectInRegion(hrgn, rc: _win32typing.PyRECT): ...
|
||||
def SetRectRgn(hrgn, LeftRect, TopRect, RightRect, BottomRect) -> None: ...
|
||||
def CombineRgn(Dest, Src1, Src2, CombineMode): ...
|
||||
def DrawAnimatedRects(hwnd: int, idAni, minCoords: _win32typing.PyRECT, restCoords: _win32typing.PyRECT) -> None: ...
|
||||
def CreateSolidBrush(Color) -> _win32typing.PyGdiHANDLE: ...
|
||||
def CreatePatternBrush(hbmp: _win32typing.PyGdiHANDLE) -> _win32typing.PyGdiHANDLE: ...
|
||||
def CreateHatchBrush(Style, clrref) -> _win32typing.PyGdiHANDLE: ...
|
||||
def CreatePen(PenStyle, Width, Color) -> _win32typing.PyGdiHANDLE: ...
|
||||
def GetSysColor(Index): ...
|
||||
def GetSysColorBrush(Index) -> _win32typing.PyGdiHANDLE: ...
|
||||
def InvalidateRect(hWnd: int, Rect: _win32typing.PyRECT, Erase) -> None: ...
|
||||
def FrameRect(hDC: int, rc: _win32typing.PyRECT, hbr: _win32typing.PyGdiHANDLE) -> None: ...
|
||||
def InvertRect(hDC: int, rc: _win32typing.PyRECT) -> None: ...
|
||||
def WindowFromDC(hDC: int) -> int: ...
|
||||
def GetUpdateRgn(hWnd: int, hRgn: _win32typing.PyGdiHANDLE, Erase): ...
|
||||
def GetWindowRgn(hWnd: int, hRgn: _win32typing.PyGdiHANDLE): ...
|
||||
def SetWindowRgn(hWnd: int, hRgn: _win32typing.PyGdiHANDLE, Redraw) -> None: ...
|
||||
def ValidateRgn(hWnd: int, hRgn: _win32typing.PyGdiHANDLE) -> None: ...
|
||||
def InvalidateRgn(hWnd: int, hRgn: _win32typing.PyGdiHANDLE, Erase) -> None: ...
|
||||
def GetRgnBox(hrgn: _win32typing.PyGdiHANDLE) -> tuple[Incomplete, _win32typing.PyRECT]: ...
|
||||
def OffsetRgn(hrgn: _win32typing.PyGdiHANDLE, XOffset, YOffset): ...
|
||||
def Rectangle(hdc: int, LeftRect, TopRect, RightRect, BottomRect) -> None: ...
|
||||
def RoundRect(hdc: int, LeftRect, TopRect, RightRect, BottomRect, Width, Height) -> None: ...
|
||||
def GetTextColor(hdc, /): ...
|
||||
def SetTextColor(hdc, color, /): ...
|
||||
def GetBkMode(hdc: int, /): ...
|
||||
def SetBkMode(hdc: int, BkMode, /): ...
|
||||
def GetBkColor(hdc: int, /): ...
|
||||
def SetBkColor(hdc: int, color, /): ...
|
||||
def DrawEdge(hdc: int, rc: _win32typing.PyRECT, edge, Flags, /) -> _win32typing.PyRECT: ...
|
||||
def FillRect(hDC: int, rc: _win32typing.PyRECT, hbr: _win32typing.PyGdiHANDLE, /) -> None: ...
|
||||
def FillRgn(hdc: int, hrgn: _win32typing.PyGdiHANDLE, hbr: _win32typing.PyGdiHANDLE, /) -> None: ...
|
||||
def PaintRgn(hdc: int, hrgn: _win32typing.PyGdiHANDLE, /) -> None: ...
|
||||
def FrameRgn(hdc: int, hrgn, hbr, Width, Height, /) -> None: ...
|
||||
def InvertRgn(hdc: int, hrgn, /) -> None: ...
|
||||
def EqualRgn(SrcRgn1, SrcRgn2, /): ...
|
||||
def PtInRegion(hrgn, X, Y, /): ...
|
||||
def PtInRect(rect: tuple[int, int, int, int], point: tuple[Incomplete, Incomplete], /): ...
|
||||
def RectInRegion(hrgn, rc: _win32typing.PyRECT, /): ...
|
||||
def SetRectRgn(hrgn, LeftRect, TopRect, RightRect, BottomRect, /) -> None: ...
|
||||
def CombineRgn(Dest, Src1, Src2, CombineMode, /): ...
|
||||
def DrawAnimatedRects(hwnd: int, idAni, minCoords: _win32typing.PyRECT, restCoords: _win32typing.PyRECT, /) -> None: ...
|
||||
def CreateSolidBrush(Color, /) -> _win32typing.PyGdiHANDLE: ...
|
||||
def CreatePatternBrush(hbmp: _win32typing.PyGdiHANDLE, /) -> _win32typing.PyGdiHANDLE: ...
|
||||
def CreateHatchBrush(Style, clrref, /) -> _win32typing.PyGdiHANDLE: ...
|
||||
def CreatePen(PenStyle, Width, Color, /) -> _win32typing.PyGdiHANDLE: ...
|
||||
def GetSysColor(Index, /): ...
|
||||
def GetSysColorBrush(Index, /) -> _win32typing.PyGdiHANDLE: ...
|
||||
def InvalidateRect(hWnd: int, Rect: _win32typing.PyRECT, Erase, /) -> None: ...
|
||||
def FrameRect(hDC: int, rc: _win32typing.PyRECT, hbr: _win32typing.PyGdiHANDLE, /) -> None: ...
|
||||
def InvertRect(hDC: int, rc: _win32typing.PyRECT, /) -> None: ...
|
||||
def WindowFromDC(hDC: int, /) -> int: ...
|
||||
def GetUpdateRgn(hWnd: int, hRgn: _win32typing.PyGdiHANDLE, Erase, /): ...
|
||||
def GetWindowRgn(hWnd: int, hRgn: _win32typing.PyGdiHANDLE, /): ...
|
||||
def SetWindowRgn(hWnd: int, hRgn: _win32typing.PyGdiHANDLE, Redraw, /) -> None: ...
|
||||
def ValidateRgn(hWnd: int, hRgn: _win32typing.PyGdiHANDLE, /) -> None: ...
|
||||
def InvalidateRgn(hWnd: int, hRgn: _win32typing.PyGdiHANDLE, Erase, /) -> None: ...
|
||||
def GetRgnBox(hrgn: _win32typing.PyGdiHANDLE, /) -> tuple[Incomplete, _win32typing.PyRECT]: ...
|
||||
def OffsetRgn(hrgn: _win32typing.PyGdiHANDLE, XOffset, YOffset, /): ...
|
||||
def Rectangle(hdc: int, LeftRect, TopRect, RightRect, BottomRect, /) -> None: ...
|
||||
def RoundRect(hdc: int, LeftRect, TopRect, RightRect, BottomRect, Width, Height, /) -> None: ...
|
||||
def BeginPaint() -> tuple[Incomplete, Incomplete]: ...
|
||||
def EndPaint(hwnd: int, ps) -> None: ...
|
||||
def BeginPath(hdc: int) -> None: ...
|
||||
def EndPath(hdc: int) -> None: ...
|
||||
def AbortPath(hdc: int) -> None: ...
|
||||
def CloseFigure(hdc: int) -> None: ...
|
||||
def FlattenPath(hdc: int) -> None: ...
|
||||
def FillPath(hdc: int) -> None: ...
|
||||
def WidenPath(hdc: int) -> None: ...
|
||||
def StrokePath(hdc: int) -> None: ...
|
||||
def StrokeAndFillPath(hdc: int) -> None: ...
|
||||
def GetMiterLimit(hdc: int) -> float: ...
|
||||
def SetMiterLimit(hdc: int, NewLimit: float) -> float: ...
|
||||
def PathToRegion(hdc: int) -> _win32typing.PyGdiHANDLE: ...
|
||||
def GetPath(hdc: int) -> tuple[Incomplete, Incomplete]: ...
|
||||
def CreateRoundRectRgn(LeftRect, TopRect, RightRect, BottomRect, WidthEllipse, HeightEllipse): ...
|
||||
def CreateRectRgnIndirect(rc: _win32typing.PyRECT): ...
|
||||
def CreateEllipticRgnIndirect(rc: _win32typing.PyRECT): ...
|
||||
def EndPaint(hwnd: int, ps, /) -> None: ...
|
||||
def BeginPath(hdc: int, /) -> None: ...
|
||||
def EndPath(hdc: int, /) -> None: ...
|
||||
def AbortPath(hdc: int, /) -> None: ...
|
||||
def CloseFigure(hdc: int, /) -> None: ...
|
||||
def FlattenPath(hdc: int, /) -> None: ...
|
||||
def FillPath(hdc: int, /) -> None: ...
|
||||
def WidenPath(hdc: int, /) -> None: ...
|
||||
def StrokePath(hdc: int, /) -> None: ...
|
||||
def StrokeAndFillPath(hdc: int, /) -> None: ...
|
||||
def GetMiterLimit(hdc: int, /) -> float: ...
|
||||
def SetMiterLimit(hdc: int, NewLimit: float, /) -> float: ...
|
||||
def PathToRegion(hdc: int, /) -> _win32typing.PyGdiHANDLE: ...
|
||||
def GetPath(hdc: int, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def CreateRoundRectRgn(LeftRect, TopRect, RightRect, BottomRect, WidthEllipse, HeightEllipse, /): ...
|
||||
def CreateRectRgnIndirect(rc: _win32typing.PyRECT, /): ...
|
||||
def CreateEllipticRgnIndirect(rc: _win32typing.PyRECT, /): ...
|
||||
def CreateWindowEx(
|
||||
dwExStyle, className: str, windowTitle: str, style, x, y, width, height, parent, menu, hinstance, reserved
|
||||
dwExStyle, className: str, windowTitle: str, style, x, y, width, height, parent, menu, hinstance, reserved, /
|
||||
): ...
|
||||
def GetParent(child: int) -> int: ...
|
||||
def SetParent(__child: int, __child1: int | _win32typing.PyHANDLE | None) -> int: ...
|
||||
def GetParent(child: int, /) -> int: ...
|
||||
def SetParent(child: int, child1: int | _win32typing.PyHANDLE | None, /) -> int: ...
|
||||
def GetCursorPos() -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetDesktopWindow(): ...
|
||||
def GetWindow(__hWnd: int, __uCmd: int) -> int: ...
|
||||
def GetWindowDC(__hWnd: int | _win32typing.PyHANDLE | None) -> int: ...
|
||||
def IsIconic(__hWnd: int) -> int: ...
|
||||
def IsWindow(__hWnd: int) -> int: ...
|
||||
def IsChild(__hWndParent: int, hWnd: int) -> int: ...
|
||||
def GetWindow(hWnd: int, uCmd: int, /) -> int: ...
|
||||
def GetWindowDC(hWnd: int | _win32typing.PyHANDLE | None, /) -> int: ...
|
||||
def IsIconic(hWnd: int, /) -> int: ...
|
||||
def IsWindow(hWnd: int, /) -> int: ...
|
||||
def IsChild(hWndParent: int, hWnd: int, /) -> int: ...
|
||||
def ReleaseCapture() -> None: ...
|
||||
def GetCapture(): ...
|
||||
def SetCapture() -> None: ...
|
||||
def ReleaseDC(__hWnd: int | _win32typing.PyHANDLE | None, __hDC: int | _win32typing.PyHANDLE | None) -> Literal[0, 1]: ...
|
||||
def CreateCaret(hWnd: int, hBitmap: _win32typing.PyGdiHANDLE, nWidth, nHeight) -> None: ...
|
||||
def ReleaseDC(hWnd: int | _win32typing.PyHANDLE | None, hDC: int | _win32typing.PyHANDLE | None, /) -> Literal[0, 1]: ...
|
||||
def CreateCaret(hWnd: int, hBitmap: _win32typing.PyGdiHANDLE, nWidth, nHeight, /) -> None: ...
|
||||
def DestroyCaret() -> None: ...
|
||||
def ScrollWindowEx(
|
||||
hWnd: int, dx, dy, rcScroll: _win32typing.PyRECT, rcClip: _win32typing.PyRECT, hrgnUpdate, flags
|
||||
hWnd: int, dx, dy, rcScroll: _win32typing.PyRECT, rcClip: _win32typing.PyRECT, hrgnUpdate, flags, /
|
||||
) -> tuple[Incomplete, _win32typing.PyRECT]: ...
|
||||
def SetScrollInfo(hwnd: int, nBar, scollInfo: _win32typing.PySCROLLINFO, bRedraw=...) -> None: ...
|
||||
def GetScrollInfo(hwnd: int, nBar, mask) -> _win32typing.PySCROLLINFO: ...
|
||||
def GetClassName(hwnd: int) -> str: ...
|
||||
def WindowFromPoint(point: tuple[int, int]) -> int: ...
|
||||
def ChildWindowFromPoint(hwndParent: int, point: tuple[Incomplete, Incomplete]): ...
|
||||
def CreateDC(Driver: str, Device: str, InitData: _win32typing.PyDEVMODE): ...
|
||||
def SetScrollInfo(hwnd: int, nBar, scollInfo: _win32typing.PySCROLLINFO, bRedraw=..., /) -> None: ...
|
||||
def GetScrollInfo(hwnd: int, nBar, mask, /) -> _win32typing.PySCROLLINFO: ...
|
||||
def GetClassName(hwnd: int, /) -> str: ...
|
||||
def WindowFromPoint(point: tuple[int, int], /) -> int: ...
|
||||
def ChildWindowFromPoint(hwndParent: int, point: tuple[Incomplete, Incomplete], /): ...
|
||||
def CreateDC(Driver: str, Device: str, InitData: _win32typing.PyDEVMODE, /): ...
|
||||
def GetSaveFileNameW(
|
||||
hwndOwner: int | None = ...,
|
||||
hInstance: int | None = ...,
|
||||
@@ -409,6 +420,7 @@ def GetSaveFileNameW(
|
||||
Flags: int = ...,
|
||||
DefExt: Incomplete | None = ...,
|
||||
TemplateName: _win32typing.PyResourceId | None = ...,
|
||||
/,
|
||||
) -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
||||
def GetOpenFileNameW(
|
||||
hwndOwner: int | None = ...,
|
||||
@@ -429,52 +441,52 @@ def SetLayeredWindowAttributes(hwnd: int, Key, Alpha, Flags) -> None: ...
|
||||
def GetLayeredWindowAttributes(hwnd: int) -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
||||
def UpdateLayeredWindow(
|
||||
hwnd: int,
|
||||
arg: tuple[int, int, int, int],
|
||||
hdcDst: int | None = ...,
|
||||
ptDst: tuple[Incomplete, Incomplete] | None = ...,
|
||||
size: tuple[Incomplete, Incomplete] | None = ...,
|
||||
hdcSrc: Incomplete | None = ...,
|
||||
ptSrc: tuple[Incomplete, Incomplete] | None = ...,
|
||||
Key: int = ...,
|
||||
blend: tuple[int, int, int, int] = ...,
|
||||
Flags: int = ...,
|
||||
) -> None: ...
|
||||
def AnimateWindow(hwnd: int, Time, Flags) -> None: ...
|
||||
def CreateBrushIndirect(lb: _win32typing.PyLOGBRUSH) -> _win32typing.PyGdiHANDLE: ...
|
||||
def ExtCreatePen(PenStyle, Width, lb: _win32typing.PyLOGBRUSH, Style: tuple[Incomplete, ...] | None = ...) -> int: ...
|
||||
def CreateBrushIndirect(lb: _win32typing.PyLOGBRUSH, /) -> _win32typing.PyGdiHANDLE: ...
|
||||
def ExtCreatePen(PenStyle, Width, lb: _win32typing.PyLOGBRUSH, Style: tuple[Incomplete, ...] | None = ..., /) -> int: ...
|
||||
def DrawTextW(hDC: int, String: str, Count, Rect: _win32typing.PyRECT, Format) -> tuple[Incomplete, _win32typing.PyRECT]: ...
|
||||
def EnumPropsEx(hWnd: int, EnumFunc, Param) -> None: ...
|
||||
def RegisterDeviceNotification(handle: int, _filter, flags) -> _win32typing.PyHDEVNOTIFY: ...
|
||||
def EnumPropsEx(hWnd: int, EnumFunc, Param, /) -> None: ...
|
||||
def RegisterDeviceNotification(handle: int, _filter, flags, /) -> _win32typing.PyHDEVNOTIFY: ...
|
||||
def UnregisterDeviceNotification() -> None: ...
|
||||
def RegisterHotKey(hWnd: int, _id, Modifiers, vk) -> None: ...
|
||||
def GetAncestor(__hwnd: int, __gaFlags: int) -> int: ...
|
||||
def GetTopWindow(__hWnd: int | None) -> int: ...
|
||||
def ChildWindowFromPointEx(*args, **kwargs): ... # incomplete
|
||||
def CreateDialogIndirectParam(*args, **kwargs): ... # incomplete
|
||||
def DestroyAcceleratorTable(*args, **kwargs): ... # incomplete
|
||||
def Edit_GetLine(*args, **kwargs): ... # incomplete
|
||||
def GetModuleHandle(__lpModuleName: str | None) -> int: ...
|
||||
def GetWindowTextLength(*args, **kwargs): ... # incomplete
|
||||
def HIWORD(*args, **kwargs): ... # incomplete
|
||||
def ImageList_Add(*args, **kwargs): ... # incomplete
|
||||
def ImageList_Create(*args, **kwargs): ... # incomplete
|
||||
def ImageList_Destroy(*args, **kwargs): ... # incomplete
|
||||
def ImageList_Draw(*args, **kwargs): ... # incomplete
|
||||
def ImageList_DrawEx(*args, **kwargs): ... # incomplete
|
||||
def ImageList_GetIcon(*args, **kwargs): ... # incomplete
|
||||
def ImageList_GetImageCount(*args, **kwargs): ... # incomplete
|
||||
def ImageList_LoadBitmap(*args, **kwargs): ... # incomplete
|
||||
def ImageList_LoadImage(*args, **kwargs): ... # incomplete
|
||||
def ImageList_Remove(*args, **kwargs): ... # incomplete
|
||||
def ImageList_Replace(*args, **kwargs): ... # incomplete
|
||||
def ImageList_ReplaceIcon(*args, **kwargs): ... # incomplete
|
||||
def ImageList_SetBkColor(*args, **kwargs): ... # incomplete
|
||||
def ImageList_SetOverlayImage(*args, **kwargs): ... # incomplete
|
||||
def LOWORD(*args, **kwargs): ... # incomplete
|
||||
def ListView_SortItems(*args, **kwargs): ... # incomplete
|
||||
def ListView_SortItemsEx(*args, **kwargs): ... # incomplete
|
||||
def ValidateRect(*args, **kwargs): ... # incomplete
|
||||
def RegisterHotKey(hWnd: int, _id, Modifiers, vk, /) -> None: ...
|
||||
def GetAncestor(hwnd: int, gaFlags: int, /) -> int: ...
|
||||
def GetTopWindow(hWnd: int | None, /) -> int: ...
|
||||
def ChildWindowFromPointEx(*args): ... # incomplete
|
||||
def CreateDialogIndirectParam(*args): ... # incomplete
|
||||
def DestroyAcceleratorTable(*args): ... # incomplete
|
||||
def Edit_GetLine(*args): ... # incomplete
|
||||
def GetModuleHandle(lpModuleName: str | None, /) -> int: ...
|
||||
def GetWindowTextLength(*args): ... # incomplete
|
||||
def HIWORD(*args): ... # incomplete
|
||||
def ImageList_Add(*args): ... # incomplete
|
||||
def ImageList_Create(*args): ... # incomplete
|
||||
def ImageList_Destroy(*args): ... # incomplete
|
||||
def ImageList_Draw(*args): ... # incomplete
|
||||
def ImageList_DrawEx(*args): ... # incomplete
|
||||
def ImageList_GetIcon(*args): ... # incomplete
|
||||
def ImageList_GetImageCount(*args): ... # incomplete
|
||||
def ImageList_LoadBitmap(*args): ... # incomplete
|
||||
def ImageList_LoadImage(*args): ... # incomplete
|
||||
def ImageList_Remove(*args): ... # incomplete
|
||||
def ImageList_Replace(*args): ... # incomplete
|
||||
def ImageList_ReplaceIcon(*args): ... # incomplete
|
||||
def ImageList_SetBkColor(*args): ... # incomplete
|
||||
def ImageList_SetOverlayImage(*args): ... # incomplete
|
||||
def LOWORD(*args): ... # incomplete
|
||||
def ListView_SortItems(*args): ... # incomplete
|
||||
def ListView_SortItemsEx(*args): ... # incomplete
|
||||
def ValidateRect(*args): ... # incomplete
|
||||
def WNDCLASS() -> _win32typing.PyWNDCLASS: ...
|
||||
def lpstr(*args, **kwargs): ... # incomplete
|
||||
def lpstr(*args): ... # incomplete
|
||||
|
||||
CLR_NONE: int
|
||||
ILC_COLOR: int
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import _win32typing
|
||||
|
||||
def WinHelp(hwnd: int, hlpFile: str, cmd, data: str | None = ...) -> None: ...
|
||||
def WinHelp(hwnd: int, hlpFile: str, cmd, data: str | None = ..., /) -> None: ...
|
||||
def HH_AKLINK() -> _win32typing.PyHH_AKLINK: ...
|
||||
def HH_FTS_QUERY() -> _win32typing.PyHH_FTS_QUERY: ...
|
||||
def HH_POPUP() -> _win32typing.PyHH_POPUP: ...
|
||||
@@ -8,7 +8,7 @@ def HH_WINTYPE() -> _win32typing.PyHH_WINTYPE: ...
|
||||
def NMHDR() -> _win32typing.PyNMHDR: ...
|
||||
def HHN_NOTIFY() -> _win32typing.PyHHN_NOTIFY: ...
|
||||
def HHNTRACK() -> _win32typing.PyHHNTRACK: ...
|
||||
def HtmlHelp(hwnd: int, file: str, cmd, data: str | tuple[int] | int = ...): ...
|
||||
def HtmlHelp(hwnd: int, file: str, cmd, data: str | tuple[int] | int = ..., /): ...
|
||||
|
||||
debug: int
|
||||
HH_ALINK_LOOKUP: int
|
||||
|
||||
@@ -3,12 +3,12 @@ from _typeshed import Incomplete
|
||||
import _win32typing
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def InternetSetCookie(url: str, lpszCookieName: str, data: str) -> None: ...
|
||||
def InternetGetCookie(Url: str, CookieName: str) -> str: ...
|
||||
def InternetAttemptConnect(Reserved: int = ...) -> None: ...
|
||||
def InternetCheckConnection(Url: str, Flags: int = ..., Reserved: int = ...) -> None: ...
|
||||
def InternetGoOnline(Url: str, Parent: Incomplete | None = ..., Flags: int = ...) -> None: ...
|
||||
def InternetCloseHandle(handle: _win32typing.PyHINTERNET) -> None: ...
|
||||
def InternetSetCookie(url: str, lpszCookieName: str, data: str, /) -> None: ...
|
||||
def InternetGetCookie(Url: str, CookieName: str, /) -> str: ...
|
||||
def InternetAttemptConnect(Reserved: int = ..., /) -> None: ...
|
||||
def InternetCheckConnection(Url: str, Flags: int = ..., Reserved: int = ..., /) -> None: ...
|
||||
def InternetGoOnline(Url: str, Parent: Incomplete | None = ..., Flags: int = ..., /) -> None: ...
|
||||
def InternetCloseHandle(handle: _win32typing.PyHINTERNET, /) -> None: ...
|
||||
def InternetConnect(
|
||||
Internet: _win32typing.PyHINTERNET,
|
||||
ServerName: str,
|
||||
@@ -23,18 +23,18 @@ def InternetOpen(agent: str, proxyName: str, proxyBypass: str, flags) -> None: .
|
||||
def InternetOpenUrl(
|
||||
Internet: _win32typing.PyHINTERNET, Url: str, Headers: str | None = ..., Flags: int = ..., Context: Incomplete | None = ...
|
||||
) -> _win32typing.PyHINTERNET: ...
|
||||
def InternetCanonicalizeUrl(url: str, flags: int = ...) -> str: ...
|
||||
def InternetCanonicalizeUrl(url: str, flags: int = ..., /) -> str: ...
|
||||
def InternetGetLastResponseInfo() -> tuple[Incomplete, str]: ...
|
||||
def InternetReadFile(hInternet: _win32typing.PyHINTERNET, size) -> str: ...
|
||||
def InternetWriteFile(File: _win32typing.PyHINTERNET, Buffer: str): ...
|
||||
def InternetReadFile(hInternet: _win32typing.PyHINTERNET, size, /) -> str: ...
|
||||
def InternetWriteFile(File: _win32typing.PyHINTERNET, Buffer: str, /): ...
|
||||
def FtpOpenFile(
|
||||
hConnect: _win32typing.PyHINTERNET, FileName: str, Access, Flags, Context: Incomplete | None = ...
|
||||
Connect: _win32typing.PyHINTERNET, FileName: str, Access, Flags, Context: Incomplete | None = ...
|
||||
) -> _win32typing.PyHINTERNET: ...
|
||||
def FtpCommand(
|
||||
Connect: _win32typing.PyHINTERNET, ExpectResponse, Flags, Command: str, Context: Incomplete | None = ...
|
||||
) -> _win32typing.PyHINTERNET: ...
|
||||
def InternetQueryOption(hInternet: _win32typing.PyHINTERNET, Option): ...
|
||||
def InternetSetOption(hInternet: _win32typing.PyHINTERNET, Option, Buffer) -> None: ...
|
||||
def InternetQueryOption(hInternet: _win32typing.PyHINTERNET, Option, /): ...
|
||||
def InternetSetOption(hInternet: _win32typing.PyHINTERNET, Option, Buffer, /) -> None: ...
|
||||
def FindFirstUrlCacheEntry(SearchPattern: Incomplete | None = ...) -> tuple[_win32typing.PyUrlCacheHANDLE, Incomplete]: ...
|
||||
def FindNextUrlCacheEntry(EnumHandle: _win32typing.PyUrlCacheHANDLE): ...
|
||||
def FindFirstUrlCacheEntryEx(
|
||||
@@ -42,10 +42,10 @@ def FindFirstUrlCacheEntryEx(
|
||||
) -> tuple[_win32typing.PyUrlCacheHANDLE, Incomplete]: ...
|
||||
def FindNextUrlCacheEntryEx(EnumHandle: _win32typing.PyUrlCacheHANDLE): ...
|
||||
def FindCloseUrlCache(EnumHandle: _win32typing.PyUrlCacheHANDLE) -> None: ...
|
||||
def FindFirstUrlCacheGroup(Filter) -> tuple[_win32typing.PyUrlCacheHANDLE, Incomplete]: ...
|
||||
def FindFirstUrlCacheGroup(Filter=...) -> tuple[_win32typing.PyUrlCacheHANDLE, Incomplete]: ...
|
||||
def FindNextUrlCacheGroup(Find: int): ...
|
||||
def GetUrlCacheEntryInfo(UrlName): ...
|
||||
def DeleteUrlCacheGroup(GroupId, Attributes) -> None: ...
|
||||
def DeleteUrlCacheGroup(GroupId, Attributes=...) -> None: ...
|
||||
def CreateUrlCacheGroup(Flags: int = ...): ...
|
||||
def CreateUrlCacheEntry(UrlName, ExpectedFileSize, FileExtension): ...
|
||||
def CommitUrlCacheEntry(
|
||||
@@ -58,12 +58,12 @@ def CommitUrlCacheEntry(
|
||||
OriginalUrl: Incomplete | None = ...,
|
||||
): ...
|
||||
def SetUrlCacheEntryGroup(UrlName, Flags, GroupId) -> None: ...
|
||||
def GetUrlCacheGroupAttribute(GroupId, Attributes): ...
|
||||
def GetUrlCacheGroupAttribute(GroupId, Attributes=...): ...
|
||||
def SetUrlCacheGroupAttribute(GroupId, Attributes, GroupInfo, Flags=...) -> None: ...
|
||||
def DeleteUrlCacheEntry(UrlName) -> None: ...
|
||||
def WinHttpGetDefaultProxyConfiguration(*args, **kwargs): ... # incomplete
|
||||
def WinHttpGetIEProxyConfigForCurrentUser(*args, **kwargs): ... # incomplete
|
||||
def WinHttpGetProxyForUrl(*args, **kwargs): ... # incomplete
|
||||
def WinHttpOpen(*args, **kwargs): ... # incomplete
|
||||
def DeleteUrlCacheEntry(UrlName, /) -> None: ...
|
||||
def WinHttpGetDefaultProxyConfiguration(*args): ... # incomplete
|
||||
def WinHttpGetIEProxyConfigForCurrentUser(*args): ... # incomplete
|
||||
def WinHttpGetProxyForUrl(*args): ... # incomplete
|
||||
def WinHttpOpen(*args): ... # incomplete
|
||||
|
||||
UNICODE: int
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import _win32typing
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def AssignProcessToJobObject(hJob: int, hProcess: int) -> None: ...
|
||||
def CreateJobObject(__jobAttributes: _win32typing.PySECURITY_ATTRIBUTES | None, __name: str) -> None: ...
|
||||
def OpenJobObject(desiredAccess, inheritHandles, name) -> None: ...
|
||||
def TerminateJobObject(hJob: int, exitCode) -> None: ...
|
||||
def UserHandleGrantAccess(hUserHandle: int, hJob: int, grant) -> None: ...
|
||||
def IsProcessInJob(__hProcess: int, __hJob: int): ...
|
||||
def QueryInformationJobObject(Job: int, JobObjectInfoClass): ...
|
||||
def SetInformationJobObject(Job: int, JobObjectInfoClass, JobObjectInfo) -> None: ...
|
||||
def AssignProcessToJobObject(hJob: int, hProcess: int, /) -> None: ...
|
||||
def CreateJobObject(jobAttributes: _win32typing.PySECURITY_ATTRIBUTES | None, name: str, /) -> None: ...
|
||||
def OpenJobObject(desiredAccess, inheritHandles, name, /) -> None: ...
|
||||
def TerminateJobObject(hJob: int, exitCode, /) -> None: ...
|
||||
def UserHandleGrantAccess(hUserHandle: int, hJob: int, grant, /) -> None: ...
|
||||
def IsProcessInJob(hProcess: int, hJob: int, /): ...
|
||||
def QueryInformationJobObject(Job: int, JobObjectInfoClass, /): ...
|
||||
def SetInformationJobObject(Job: int, JobObjectInfoClass, JobObjectInfo, /) -> None: ...
|
||||
|
||||
JOB_OBJECT_ALL_ACCESS: int
|
||||
JOB_OBJECT_ASSIGN_PROCESS: int
|
||||
|
||||
@@ -2,8 +2,8 @@ from _typeshed import Incomplete
|
||||
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def GetExpandedName(Source) -> str: ...
|
||||
def Close(handle) -> None: ...
|
||||
def Copy(hSrc, hDest): ...
|
||||
def Init(handle) -> None: ...
|
||||
def OpenFile(fileName: str, action) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetExpandedName(Source, /) -> str: ...
|
||||
def Close(handle, /) -> None: ...
|
||||
def Copy(hSrc, hDest, /): ...
|
||||
def Init(handle, /) -> None: ...
|
||||
def OpenFile(fileName: str, action, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
|
||||
@@ -3,85 +3,89 @@ from _typeshed import Incomplete
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def NetGetJoinInformation() -> tuple[str, Incomplete]: ...
|
||||
def NetGroupGetInfo(server: str, groupname: str, level): ...
|
||||
def NetGroupGetInfo(server: str, groupname: str, level, /): ...
|
||||
def NetGroupGetUsers(
|
||||
server: str, groupName: str, level, resumeHandle: int = ..., prefLen: int = ...
|
||||
server: str, groupName: str, level, resumeHandle: int = ..., prefLen: int = ..., /
|
||||
) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def NetGroupSetUsers(server: str, group: str, level, members: tuple[Incomplete, Incomplete]) -> None: ...
|
||||
def NetGroupSetInfo(server: str, groupname: str, level, data) -> None: ...
|
||||
def NetGroupAdd(server: str, level, data) -> None: ...
|
||||
def NetGroupAddUser(server: str, group: str, username: str) -> None: ...
|
||||
def NetGroupDel(server: str, groupname: str) -> None: ...
|
||||
def NetGroupDelUser(server: str, group: str, username: str) -> None: ...
|
||||
def NetGroupEnum(server: str, level, prefLen, resumeHandle=...) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def NetLocalGroupAddMembers(server: str, group: str, level, members: tuple[Incomplete, Incomplete]) -> None: ...
|
||||
def NetLocalGroupDelMembers(server: str, group: str, members: list[str]) -> None: ...
|
||||
def NetGroupSetUsers(server: str, group: str, level, members: tuple[Incomplete, Incomplete], /) -> None: ...
|
||||
def NetGroupSetInfo(server: str, groupname: str, level, data, /) -> None: ...
|
||||
def NetGroupAdd(server: str, level, data, /) -> None: ...
|
||||
def NetGroupAddUser(server: str, group: str, username: str, /) -> None: ...
|
||||
def NetGroupDel(server: str, groupname: str, /) -> None: ...
|
||||
def NetGroupDelUser(server: str, group: str, username: str, /) -> None: ...
|
||||
def NetGroupEnum(server: str, level, prefLen, resumeHandle=..., /) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def NetLocalGroupAddMembers(server: str, group: str, level, members: tuple[Incomplete, Incomplete], /) -> None: ...
|
||||
def NetLocalGroupDelMembers(server: str, group: str, members: list[str], /) -> None: ...
|
||||
def NetLocalGroupGetMembers(
|
||||
server: str, groupName: str, level, resumeHandle: int = ..., prefLen: int = ...
|
||||
server: str, groupName: str, level, resumeHandle: int = ..., prefLen: int = ..., /
|
||||
) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def NetLocalGroupSetMembers(server: str, group: str, level, members: tuple[Incomplete, Incomplete]) -> None: ...
|
||||
def NetMessageBufferSend(domain: str, userName: str, fromName: str, message: str) -> None: ...
|
||||
def NetMessageNameAdd(server, msgname) -> None: ...
|
||||
def NetMessageNameDel(server, msgname) -> None: ...
|
||||
def NetMessageNameEnum(Server) -> None: ...
|
||||
def NetLocalGroupSetMembers(server: str, group: str, level, members: tuple[Incomplete, Incomplete], /) -> None: ...
|
||||
def NetMessageBufferSend(domain: str, userName: str, fromName: str, message: str, /) -> None: ...
|
||||
def NetMessageNameAdd(server, msgname, /) -> None: ...
|
||||
def NetMessageNameDel(server, msgname, /) -> None: ...
|
||||
def NetMessageNameEnum(Server, /) -> None: ...
|
||||
def NetServerEnum(
|
||||
server: str, level, _type, prefLen, domain: str | None = ..., resumeHandle: int = ...
|
||||
server: str, level, _type, prefLen, domain: str | None = ..., resumeHandle: int = ..., /
|
||||
) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def NetServerGetInfo(server: str, level): ...
|
||||
def NetServerSetInfo(server: str, level, data) -> None: ...
|
||||
def NetShareAdd(server: str, level, data) -> None: ...
|
||||
def NetShareDel(server: str, shareName: str, reserved: int = ...) -> None: ...
|
||||
def NetShareCheck(server: str, deviceName: str) -> tuple[Incomplete, Incomplete]: ...
|
||||
def NetServerGetInfo(server: str, level, /): ...
|
||||
def NetServerSetInfo(server: str, level, data, /) -> None: ...
|
||||
def NetShareAdd(server: str, level, data, /) -> None: ...
|
||||
def NetShareDel(server: str, shareName: str, reserved: int = ..., /) -> None: ...
|
||||
def NetShareCheck(server: str, deviceName: str, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def NetShareEnum(
|
||||
server: str, level, prefLen, serverName, resumeHandle=...
|
||||
server: str, level, prefLen, serverName, resumeHandle=..., /
|
||||
) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def NetShareGetInfo(server: str, netname: str, level): ...
|
||||
def NetShareSetInfo(server: str, netname: str, level, data) -> None: ...
|
||||
def NetUserAdd(server: str, level, data) -> None: ...
|
||||
def NetUserChangePassword(server: str, username: str, oldPassword: str, newPassword: str) -> None: ...
|
||||
def NetUserEnum(server: str, level, arg, prefLen, resumeHandle=...) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def NetUserGetGroups(serverName: str, userName: str) -> list[tuple[Incomplete, Incomplete]]: ...
|
||||
def NetUserGetInfo(server: str, username: str, level): ...
|
||||
def NetUserGetLocalGroups(serverName: str, userName: str, flags) -> list[Incomplete]: ...
|
||||
def NetUserSetInfo(server: str, username: str, level, data) -> None: ...
|
||||
def NetUserDel(server: str, username: str) -> None: ...
|
||||
def NetUserModalsGet(server: str, level): ...
|
||||
def NetUserModalsSet(server: str, level, data) -> None: ...
|
||||
def NetWkstaUserEnum(server: str, level, prefLen, resumeHandle=...) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def NetWkstaGetInfo(server: str, level): ...
|
||||
def NetWkstaSetInfo(server: str, level, data) -> None: ...
|
||||
def NetShareGetInfo(server: str, netname: str, level, /): ...
|
||||
def NetShareSetInfo(server: str, netname: str, level, data, /) -> None: ...
|
||||
def NetUserAdd(server: str, level, data, /) -> None: ...
|
||||
def NetUserChangePassword(server: str, username: str, oldPassword: str, newPassword: str, /) -> None: ...
|
||||
def NetUserEnum(
|
||||
server: str, level, arg, prefLen, resumeHandle=..., /
|
||||
) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def NetUserGetGroups(serverName: str, userName: str, /) -> list[tuple[Incomplete, Incomplete]]: ...
|
||||
def NetUserGetInfo(server: str, username: str, level, /): ...
|
||||
def NetUserGetLocalGroups(serverName: str, userName: str, flags, /) -> list[Incomplete]: ...
|
||||
def NetUserSetInfo(server: str, username: str, level, data, /) -> None: ...
|
||||
def NetUserDel(server: str, username: str, /) -> None: ...
|
||||
def NetUserModalsGet(server: str, level, /): ...
|
||||
def NetUserModalsSet(server: str, level, data, /) -> None: ...
|
||||
def NetWkstaUserEnum(
|
||||
server: str, level, prefLen, resumeHandle=..., /
|
||||
) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def NetWkstaGetInfo(server: str, level, /): ...
|
||||
def NetWkstaSetInfo(server: str, level, data, /) -> None: ...
|
||||
def NetWkstaTransportEnum(
|
||||
server: str, level, prefLen, resumeHandle=...
|
||||
server: str, level, prefLen, resumeHandle=..., /
|
||||
) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def NetWkstaTransportAdd(server: str, level, data) -> None: ...
|
||||
def NetWkstaTransportDel(server: str, TransportName: str, ucond: int = ...) -> None: ...
|
||||
def NetServerDiskEnum(server: str, level): ...
|
||||
def NetUseAdd(server: str, level, data) -> None: ...
|
||||
def NetUseDel(server: str, useName: str, forceCond: int = ...) -> None: ...
|
||||
def NetUseEnum(server: str, level, prefLen, resumeHandle=...) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def NetUseGetInfo(server: str, usename: str, level: int = ...): ...
|
||||
def NetGetAnyDCName(server: str | None = ..., domain: str | None = ...) -> str: ...
|
||||
def NetGetDCName(server: str | None = ..., domain: str | None = ...) -> str: ...
|
||||
def NetWkstaTransportAdd(server: str, level, data, /) -> None: ...
|
||||
def NetWkstaTransportDel(server: str, TransportName: str, ucond: int = ..., /) -> None: ...
|
||||
def NetServerDiskEnum(server: str, level, /): ...
|
||||
def NetUseAdd(server: str, level, data, /) -> None: ...
|
||||
def NetUseDel(server: str, useName: str, forceCond: int = ..., /) -> None: ...
|
||||
def NetUseEnum(server: str, level, prefLen, resumeHandle=..., /) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def NetUseGetInfo(server: str, usename: str, level: int = ..., /): ...
|
||||
def NetGetAnyDCName(server: str | None = ..., domain: str | None = ..., /) -> str: ...
|
||||
def NetGetDCName(server: str | None = ..., domain: str | None = ..., /) -> str: ...
|
||||
def NetSessionEnum(
|
||||
level, server: str | None = ..., client: str | None = ..., username: str | None = ...
|
||||
level, server: str | None = ..., client: str | None = ..., username: str | None = ..., /
|
||||
) -> tuple[Incomplete, ...]: ...
|
||||
def NetSessionDel(server: str, client: str | None = ..., username: str | None = ...) -> None: ...
|
||||
def NetSessionGetInfo(level, server: str, client: str, username: str): ...
|
||||
def NetSessionDel(server: str, client: str | None = ..., username: str | None = ..., /) -> None: ...
|
||||
def NetSessionGetInfo(level, server: str, client: str, username: str, /): ...
|
||||
def NetFileEnum(
|
||||
level, servername: str | None = ..., basepath: str | None = ..., username: str | None = ...
|
||||
level, servername: str | None = ..., basepath: str | None = ..., username: str | None = ..., /
|
||||
) -> tuple[Incomplete, ...]: ...
|
||||
def NetFileClose(servername: str, fileid) -> None: ...
|
||||
def NetFileGetInfo(level, servername: str, fileid): ...
|
||||
def NetStatisticsGet(server: str, service: str, level, options): ...
|
||||
def NetServerComputerNameAdd(ServerName: str, EmulatedDomainName: str, EmulatedServerName: str) -> None: ...
|
||||
def NetServerComputerNameDel(ServerName: str, EmulatedServerName: str) -> None: ...
|
||||
def NetValidateName(Server: str, Name: str, NameType, Account: str | None = ..., Password: str | None = ...) -> None: ...
|
||||
def NetValidatePasswordPolicy(Server: str, Qualifier, ValidationType, arg) -> None: ...
|
||||
def NetLocalGroupAdd(*args, **kwargs): ... # incomplete
|
||||
def NetLocalGroupDel(*args, **kwargs): ... # incomplete
|
||||
def NetLocalGroupEnum(*args, **kwargs): ... # incomplete
|
||||
def NetLocalGroupGetInfo(*args, **kwargs): ... # incomplete
|
||||
def NetLocalGroupSetInfo(*args, **kwargs): ... # incomplete
|
||||
def NetFileClose(servername: str, fileid, /) -> None: ...
|
||||
def NetFileGetInfo(level, servername: str, fileid, /): ...
|
||||
def NetStatisticsGet(server: str, service: str, level, options, /): ...
|
||||
def NetServerComputerNameAdd(ServerName: str, EmulatedDomainName: str, EmulatedServerName: str, /) -> None: ...
|
||||
def NetServerComputerNameDel(ServerName: str, EmulatedServerName: str, /) -> None: ...
|
||||
def NetValidateName(Server: str, Name: str, NameType, Account: str | None = ..., Password: str | None = ..., /) -> None: ...
|
||||
def NetValidatePasswordPolicy(Server: str, Qualifier, ValidationType, arg, /) -> None: ...
|
||||
def NetLocalGroupAdd(*args): ... # incomplete
|
||||
def NetLocalGroupDel(*args): ... # incomplete
|
||||
def NetLocalGroupEnum(*args): ... # incomplete
|
||||
def NetLocalGroupGetInfo(*args): ... # incomplete
|
||||
def NetLocalGroupSetInfo(*args): ... # incomplete
|
||||
|
||||
SERVICE_SERVER: str
|
||||
SERVICE_WORKSTATION: str
|
||||
|
||||
@@ -2,39 +2,41 @@ from _typeshed import Incomplete
|
||||
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def AddCounter(hQuery, path: str, userData: int = ...): ...
|
||||
def AddEnglishCounter(hQuery, path: str, userData: int = ...): ...
|
||||
def RemoveCounter(handle) -> None: ...
|
||||
def EnumObjectItems(DataSource: str | None, machine: str | None, _object: str, detailLevel, flags=...): ...
|
||||
def EnumObjects(DataSource: str | None, machine: str | None, detailLevel: int, refresh: bool = ...): ...
|
||||
def OpenQuery(DataSource: Incomplete | None = ..., userData: int = ...): ...
|
||||
def CloseQuery(handle) -> None: ...
|
||||
def AddCounter(hQuery, path: str, userData: int = ..., /): ...
|
||||
def AddEnglishCounter(hQuery, path: str, userData: int = ..., /): ...
|
||||
def RemoveCounter(handle, /) -> None: ...
|
||||
def EnumObjectItems(DataSource: str | None, machine: str | None, _object: str, detailLevel, flags=..., /): ...
|
||||
def EnumObjects(DataSource: str | None, machine: str | None, detailLevel: int, refresh: bool = ..., /): ...
|
||||
def OpenQuery(DataSource: Incomplete | None = ..., userData: int = ..., /): ...
|
||||
def CloseQuery(handle, /) -> None: ...
|
||||
def MakeCounterPath(
|
||||
elements: tuple[Incomplete, Incomplete, Incomplete, Incomplete, Incomplete, Incomplete], flags=...
|
||||
elements: tuple[Incomplete, Incomplete, Incomplete, Incomplete, Incomplete, Incomplete], flags=..., /
|
||||
) -> None: ...
|
||||
def GetCounterInfo(handle, bRetrieveExplainText) -> None: ...
|
||||
def GetFormattedCounterValue(handle, _format) -> tuple[Incomplete, Incomplete]: ...
|
||||
def CollectQueryData(hQuery) -> None: ...
|
||||
def ValidatePath(path: str): ...
|
||||
def ExpandCounterPath(wildCardPath: str) -> tuple[Incomplete, Incomplete]: ...
|
||||
def ParseCounterPath(path: str, flags=...) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def ParseInstanceName(instanceName: str) -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
||||
def SetCounterScaleFactor(hCounter, factor) -> None: ...
|
||||
def GetCounterInfo(handle, bRetrieveExplainText, /) -> None: ...
|
||||
def GetFormattedCounterValue(handle, _format, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def CollectQueryData(hQuery, /) -> None: ...
|
||||
def ValidatePath(path: str, /): ...
|
||||
def ExpandCounterPath(wildCardPath: str, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def ParseCounterPath(
|
||||
path: str, flags=..., /
|
||||
) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def ParseInstanceName(instanceName: str, /) -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
||||
def SetCounterScaleFactor(hCounter, factor, /) -> None: ...
|
||||
def BrowseCounters(
|
||||
Flags: tuple[Incomplete, ...] | None,
|
||||
hWndOwner: int,
|
||||
CallBack1,
|
||||
CallBack2,
|
||||
CallBack,
|
||||
DefaultDetailLevel,
|
||||
DialogBoxCaption: str | None = ...,
|
||||
InitialPath: Incomplete | None = ...,
|
||||
DataSource: Incomplete | None = ...,
|
||||
ReturnMultiple: bool = ...,
|
||||
CallBackArg: Incomplete | None = ...,
|
||||
) -> str: ...
|
||||
def ConnectMachine(machineName: str) -> str: ...
|
||||
def LookupPerfIndexByName(machineName: str, instanceName: str): ...
|
||||
def LookupPerfNameByIndex(machineName: str | None, index) -> str: ...
|
||||
def GetFormattedCounterArray(*args, **kwargs): ... # incomplete
|
||||
def ConnectMachine(machineName: str, /) -> str: ...
|
||||
def LookupPerfIndexByName(machineName: str, instanceName: str, /): ...
|
||||
def LookupPerfNameByIndex(machineName: str | None, index, /) -> str: ...
|
||||
def GetFormattedCounterArray(*args): ... # incomplete
|
||||
|
||||
PDH_FMT_1000: int
|
||||
PDH_FMT_ANSI: int
|
||||
|
||||
@@ -3,20 +3,23 @@ from _typeshed import Incomplete
|
||||
import _win32typing
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def GetNamedPipeHandleState(hPipe: int, bGetCollectionData=...) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete, str]: ...
|
||||
def GetNamedPipeHandleState(
|
||||
hPipe: int, bGetCollectionData=..., /
|
||||
) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete, str]: ...
|
||||
def SetNamedPipeHandleState(
|
||||
__hPipe: int, __Mode: int, __MaxCollectionCount: None | Incomplete, __CollectDataTimeout: None | Incomplete
|
||||
hPipe: int, Mode: int, MaxCollectionCount: None | Incomplete, CollectDataTimeout: None | Incomplete, /
|
||||
) -> None: ...
|
||||
def ConnectNamedPipe(hPipe: int, overlapped: _win32typing.PyOVERLAPPED | None = ...): ...
|
||||
def ConnectNamedPipe(hPipe: int, overlapped: _win32typing.PyOVERLAPPED | None = ..., /): ...
|
||||
def TransactNamedPipe(
|
||||
pipeName,
|
||||
writeData: str,
|
||||
buffer_bufSize: _win32typing.PyOVERLAPPEDReadBuffer,
|
||||
overlapped: _win32typing.PyOVERLAPPED | None = ...,
|
||||
/,
|
||||
) -> str: ...
|
||||
def CallNamedPipe(pipeName, data: str, bufSize, timeOut) -> str: ...
|
||||
def CreatePipe(__sa: _win32typing.PySECURITY_ATTRIBUTES, __nSize: int) -> tuple[int, int]: ...
|
||||
def FdCreatePipe(sa: _win32typing.PySECURITY_ATTRIBUTES, nSize, mode) -> tuple[Incomplete, Incomplete]: ...
|
||||
def CallNamedPipe(pipeName, data: str, bufSize, timeOut, /) -> str: ...
|
||||
def CreatePipe(sa: _win32typing.PySECURITY_ATTRIBUTES, nSize: int, /) -> tuple[int, int]: ...
|
||||
def FdCreatePipe(sa: _win32typing.PySECURITY_ATTRIBUTES, nSize, mode, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def CreateNamedPipe(
|
||||
pipeName: str,
|
||||
openMode,
|
||||
@@ -26,20 +29,21 @@ def CreateNamedPipe(
|
||||
nInBufferSize,
|
||||
nDefaultTimeOut,
|
||||
sa: _win32typing.PySECURITY_ATTRIBUTES,
|
||||
/,
|
||||
) -> int: ...
|
||||
def DisconnectNamedPipe(hFile: int) -> None: ...
|
||||
def GetOverlappedResult(__hFile: int, __overlapped: _win32typing.PyOVERLAPPED, __bWait: int | bool) -> int: ...
|
||||
def WaitNamedPipe(pipeName: str, timeout) -> None: ...
|
||||
def GetNamedPipeInfo(hNamedPipe: int) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def PeekNamedPipe(__hPipe: int, __size: int) -> tuple[str, int, Incomplete]: ...
|
||||
def GetNamedPipeClientProcessId(hPipe: int): ...
|
||||
def GetNamedPipeServerProcessId(hPipe: int): ...
|
||||
def GetNamedPipeClientSessionId(hPipe: int): ...
|
||||
def GetNamedPipeServerSessionId(hPipe: int): ...
|
||||
def popen(cmdstring: str, mode: str): ...
|
||||
def popen2(*args, **kwargs): ... # incomplete
|
||||
def popen3(*args, **kwargs): ... # incomplete
|
||||
def popen4(*args, **kwargs): ... # incomplete
|
||||
def DisconnectNamedPipe(hFile: int, /) -> None: ...
|
||||
def GetOverlappedResult(hFile: int, overlapped: _win32typing.PyOVERLAPPED, bWait: int | bool, /) -> int: ...
|
||||
def WaitNamedPipe(pipeName: str, timeout, /) -> None: ...
|
||||
def GetNamedPipeInfo(hNamedPipe: int, /) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def PeekNamedPipe(hPipe: int, size: int, /) -> tuple[str, int, Incomplete]: ...
|
||||
def GetNamedPipeClientProcessId(hPipe: int, /): ...
|
||||
def GetNamedPipeServerProcessId(hPipe: int, /): ...
|
||||
def GetNamedPipeClientSessionId(hPipe: int, /): ...
|
||||
def GetNamedPipeServerSessionId(hPipe: int, /): ...
|
||||
def popen(cmdstring: str, mode: str, /): ...
|
||||
def popen2(*args): ... # incomplete
|
||||
def popen3(*args): ... # incomplete
|
||||
def popen4(*args): ... # incomplete
|
||||
|
||||
FILE_FLAG_FIRST_PIPE_INSTANCE: int
|
||||
PIPE_ACCEPT_REMOTE_CLIENTS: int
|
||||
|
||||
@@ -3,33 +3,33 @@ from typing import Literal
|
||||
|
||||
import _win32typing
|
||||
|
||||
def OpenPrinter(printer: str, Defaults: Incomplete | None = ...) -> _win32typing.PyPrinterHANDLE: ...
|
||||
def GetPrinter(hPrinter: _win32typing.PyPrinterHANDLE, Level: int = ...): ...
|
||||
def SetPrinter(hPrinter: _win32typing.PyPrinterHANDLE, Level, pPrinter, Command) -> None: ...
|
||||
def ClosePrinter(hPrinter: _win32typing.PyPrinterHANDLE) -> None: ...
|
||||
def AddPrinterConnection(printer: str): ...
|
||||
def DeletePrinterConnection(printer: str): ...
|
||||
def EnumPrinters(flags, name: str | None = ..., level: int = ...): ...
|
||||
def OpenPrinter(printer: str, Defaults: Incomplete | None = ..., /) -> _win32typing.PyPrinterHANDLE: ...
|
||||
def GetPrinter(hPrinter: _win32typing.PyPrinterHANDLE, Level: int = ..., /): ...
|
||||
def SetPrinter(hPrinter: _win32typing.PyPrinterHANDLE, Level, pPrinter, Command, /) -> None: ...
|
||||
def ClosePrinter(hPrinter: _win32typing.PyPrinterHANDLE, /) -> None: ...
|
||||
def AddPrinterConnection(printer: str, /): ...
|
||||
def DeletePrinterConnection(printer: str, /): ...
|
||||
def EnumPrinters(flags, name: str | None = ..., level: int = ..., /): ...
|
||||
def GetDefaultPrinter() -> str: ...
|
||||
def GetDefaultPrinterW() -> str: ...
|
||||
def SetDefaultPrinter(printer: str): ...
|
||||
def SetDefaultPrinterW(Printer: str): ...
|
||||
def SetDefaultPrinter(printer: str, /): ...
|
||||
def SetDefaultPrinterW(Printer: str, /): ...
|
||||
def StartDocPrinter(
|
||||
__hprinter: _win32typing.PyPrinterHANDLE | int, __level: Literal[1], __tuple: tuple[str, str, str | None]
|
||||
hprinter: _win32typing.PyPrinterHANDLE | int, level: Literal[1], tuple: tuple[str, str, str | None], /
|
||||
) -> int: ...
|
||||
def EndDocPrinter(hPrinter: _win32typing.PyPrinterHANDLE): ...
|
||||
def AbortPrinter(hPrinter: _win32typing.PyPrinterHANDLE) -> None: ...
|
||||
def StartPagePrinter(hprinter: _win32typing.PyPrinterHANDLE) -> None: ...
|
||||
def EndPagePrinter(hprinter: _win32typing.PyPrinterHANDLE) -> None: ...
|
||||
def StartDoc(hdc: int, docinfo): ...
|
||||
def EndDoc(hdc: int) -> None: ...
|
||||
def AbortDoc(hdc: int) -> None: ...
|
||||
def StartPage(hdc: int) -> None: ...
|
||||
def EndPage(hdc: int) -> None: ...
|
||||
def WritePrinter(__hprinter: int | _win32typing.PyPrinterHANDLE, __buf: bytes | bytearray | memoryview) -> int: ...
|
||||
def EnumJobs(hPrinter: _win32typing.PyPrinterHANDLE, FirstJob, NoJobs, Level=...): ...
|
||||
def GetJob(hPrinter: _win32typing.PyPrinterHANDLE, JobID, Level: int = ...): ...
|
||||
def SetJob(hPrinter: _win32typing.PyPrinterHANDLE, JobID, Level, JobInfo, Command): ...
|
||||
def EndDocPrinter(hPrinter: _win32typing.PyPrinterHANDLE, /): ...
|
||||
def AbortPrinter(hPrinter: _win32typing.PyPrinterHANDLE, /) -> None: ...
|
||||
def StartPagePrinter(hprinter: _win32typing.PyPrinterHANDLE, /) -> None: ...
|
||||
def EndPagePrinter(hprinter: _win32typing.PyPrinterHANDLE, /) -> None: ...
|
||||
def StartDoc(hdc: int, docinfo, /): ...
|
||||
def EndDoc(hdc: int, /) -> None: ...
|
||||
def AbortDoc(hdc: int, /) -> None: ...
|
||||
def StartPage(hdc: int, /) -> None: ...
|
||||
def EndPage(hdc: int, /) -> None: ...
|
||||
def WritePrinter(hprinter: int | _win32typing.PyPrinterHANDLE, buf: bytes | bytearray | memoryview, /) -> int: ...
|
||||
def EnumJobs(hPrinter: _win32typing.PyPrinterHANDLE, FirstJob, NoJobs, Level=..., /): ...
|
||||
def GetJob(hPrinter: _win32typing.PyPrinterHANDLE, JobID, Level: int = ..., /): ...
|
||||
def SetJob(hPrinter: _win32typing.PyPrinterHANDLE, JobID, Level, JobInfo, Command, /): ...
|
||||
def DocumentProperties(
|
||||
HWnd: int,
|
||||
hPrinter: _win32typing.PyPrinterHANDLE,
|
||||
@@ -37,28 +37,29 @@ def DocumentProperties(
|
||||
DevModeOutput: _win32typing.PyDEVMODE,
|
||||
DevModeInput: _win32typing.PyDEVMODE,
|
||||
Mode,
|
||||
/,
|
||||
): ...
|
||||
def EnumPrintProcessors(Server: str | None = ..., Environment: str | None = ...) -> tuple[str, ...]: ...
|
||||
def EnumPrintProcessorDatatypes(ServerName: str, PrintProcessorName: str) -> tuple[str, ...]: ...
|
||||
def EnumPrinterDrivers(Server: str | None = ..., Environment: str | None = ..., Level=...) -> tuple[Incomplete, ...]: ...
|
||||
def EnumForms(hprinter: _win32typing.PyPrinterHANDLE) -> tuple[_win32typing.FORM_INFO_1, ...]: ...
|
||||
def AddForm(hprinter: _win32typing.PyPrinterHANDLE, Form) -> None: ...
|
||||
def DeleteForm(hprinter: _win32typing.PyPrinterHANDLE, FormName: str) -> None: ...
|
||||
def GetForm(hprinter: _win32typing.PyPrinterHANDLE, FormName: str) -> None: ...
|
||||
def SetForm(hprinter: _win32typing.PyPrinterHANDLE, FormName: str, Form) -> None: ...
|
||||
def AddJob(hprinter: _win32typing.PyPrinterHANDLE) -> None: ...
|
||||
def ScheduleJob(hprinter: _win32typing.PyPrinterHANDLE, JobId) -> None: ...
|
||||
def DeviceCapabilities(Device: str, Port: str, Capability, DEVMODE: _win32typing.PyDEVMODE | None = ...) -> None: ...
|
||||
def GetDeviceCaps(hdc: int, Index): ...
|
||||
def EnumMonitors(Name: str, Level) -> tuple[Incomplete, ...]: ...
|
||||
def EnumPorts(Name: str, Level) -> tuple[Incomplete, ...]: ...
|
||||
def GetPrintProcessorDirectory(Name: str, Environment: str) -> str: ...
|
||||
def GetPrinterDriverDirectory(Name: str, Environment: str) -> str: ...
|
||||
def AddPrinter(Name: str, Level, pPrinter) -> _win32typing.PyPrinterHANDLE: ...
|
||||
def DeletePrinter(hPrinter: _win32typing.PyPrinterHANDLE) -> None: ...
|
||||
def DeletePrinterDriver(Server: str, Environment: str, DriverName: str) -> None: ...
|
||||
def DeletePrinterDriverEx(Server: str, Environment: str, DriverName: str, DeleteFlag, VersionFlag) -> None: ...
|
||||
def FlushPrinter(Printer: _win32typing.PyPrinterHANDLE, Buf, Sleep): ...
|
||||
def EnumPrintProcessors(Server: str | None = ..., Environment: str | None = ..., /) -> tuple[str, ...]: ...
|
||||
def EnumPrintProcessorDatatypes(ServerName: str, PrintProcessorName: str, /) -> tuple[str, ...]: ...
|
||||
def EnumPrinterDrivers(Server: str | None = ..., Environment: str | None = ..., Level=..., /) -> tuple[Incomplete, ...]: ...
|
||||
def EnumForms(hprinter: _win32typing.PyPrinterHANDLE, /) -> tuple[_win32typing.FORM_INFO_1, ...]: ...
|
||||
def AddForm(hprinter: _win32typing.PyPrinterHANDLE, Form, /) -> None: ...
|
||||
def DeleteForm(hprinter: _win32typing.PyPrinterHANDLE, FormName: str, /) -> None: ...
|
||||
def GetForm(hprinter: _win32typing.PyPrinterHANDLE, FormName: str, /) -> None: ...
|
||||
def SetForm(hprinter: _win32typing.PyPrinterHANDLE, FormName: str, Form, /) -> None: ...
|
||||
def AddJob(hprinter: _win32typing.PyPrinterHANDLE, /) -> None: ...
|
||||
def ScheduleJob(hprinter: _win32typing.PyPrinterHANDLE, JobId, /) -> None: ...
|
||||
def DeviceCapabilities(Device: str, Port: str, Capability, DEVMODE: _win32typing.PyDEVMODE | None = ..., /) -> None: ...
|
||||
def GetDeviceCaps(hdc: int, Index, /): ...
|
||||
def EnumMonitors(Name: str, Level, /) -> tuple[Incomplete, ...]: ...
|
||||
def EnumPorts(Name: str, Level, /) -> tuple[Incomplete, ...]: ...
|
||||
def GetPrintProcessorDirectory(Name: str, Environment: str, /) -> str: ...
|
||||
def GetPrinterDriverDirectory(Name: str, Environment: str, /) -> str: ...
|
||||
def AddPrinter(Name: str, Level, pPrinter, /) -> _win32typing.PyPrinterHANDLE: ...
|
||||
def DeletePrinter(hPrinter: _win32typing.PyPrinterHANDLE, /) -> None: ...
|
||||
def DeletePrinterDriver(Server: str, Environment: str, DriverName: str, /) -> None: ...
|
||||
def DeletePrinterDriverEx(Server: str, Environment: str, DriverName: str, DeleteFlag, VersionFlag, /) -> None: ...
|
||||
def FlushPrinter(Printer: _win32typing.PyPrinterHANDLE, Buf, Sleep, /): ...
|
||||
|
||||
DEF_PRIORITY: int
|
||||
DI_APPBANDING: int
|
||||
|
||||
@@ -4,20 +4,21 @@ import _win32typing
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def STARTUPINFO() -> _win32typing.PySTARTUPINFO: ...
|
||||
def beginthreadex(sa: _win32typing.PySECURITY_ATTRIBUTES, stackSize, entryPoint, args, flags) -> tuple[int, Incomplete]: ...
|
||||
def beginthreadex(sa: _win32typing.PySECURITY_ATTRIBUTES, stackSize, entryPoint, args, flags, /) -> tuple[int, Incomplete]: ...
|
||||
def CreateRemoteThread(
|
||||
hprocess: int, sa: _win32typing.PySECURITY_ATTRIBUTES, stackSize, entryPoint, Parameter, flags
|
||||
hprocess: int, sa: _win32typing.PySECURITY_ATTRIBUTES, stackSize, entryPoint, Parameter, flags, /
|
||||
) -> tuple[int, Incomplete]: ...
|
||||
def CreateProcess(
|
||||
__appName: str | None,
|
||||
__commandLine: str,
|
||||
__processAttributes: _win32typing.PySECURITY_ATTRIBUTES | None,
|
||||
__threadAttributes: _win32typing.PySECURITY_ATTRIBUTES | None,
|
||||
__bInheritHandles: int | bool,
|
||||
__dwCreationFlags: int,
|
||||
__newEnvironment: dict[str, str] | None,
|
||||
__currentDirectory: str | None,
|
||||
__startupinfo: _win32typing.PySTARTUPINFO,
|
||||
appName: str | None,
|
||||
commandLine: str,
|
||||
processAttributes: _win32typing.PySECURITY_ATTRIBUTES | None,
|
||||
threadAttributes: _win32typing.PySECURITY_ATTRIBUTES | None,
|
||||
bInheritHandles: int | bool,
|
||||
dwCreationFlags: int,
|
||||
newEnvironment: dict[str, str] | None,
|
||||
currentDirectory: str | None,
|
||||
startupinfo: _win32typing.PySTARTUPINFO,
|
||||
/,
|
||||
) -> tuple[int, int, Incomplete, Incomplete]: ...
|
||||
def CreateProcessAsUser(
|
||||
hToken: int,
|
||||
@@ -30,52 +31,53 @@ def CreateProcessAsUser(
|
||||
newEnvironment,
|
||||
currentDirectory: str,
|
||||
startupinfo: _win32typing.PySTARTUPINFO,
|
||||
/,
|
||||
) -> tuple[int, int, Incomplete, Incomplete]: ...
|
||||
def GetCurrentProcess() -> int: ...
|
||||
def GetProcessVersion(processId): ...
|
||||
def GetProcessVersion(processId, /): ...
|
||||
def GetCurrentProcessId(): ...
|
||||
def GetStartupInfo() -> _win32typing.PySTARTUPINFO: ...
|
||||
def GetPriorityClass(handle: int): ...
|
||||
def GetExitCodeThread(handle: int): ...
|
||||
def GetExitCodeProcess(__handle: int) -> int: ...
|
||||
def GetWindowThreadProcessId(__hwnd: int | None) -> tuple[int, int]: ...
|
||||
def SetThreadPriority(handle: int, nPriority) -> None: ...
|
||||
def GetThreadPriority(handle: int): ...
|
||||
def GetProcessPriorityBoost(Process: int): ...
|
||||
def SetProcessPriorityBoost(Process: int, DisablePriorityBoost) -> None: ...
|
||||
def GetThreadPriorityBoost(Thread: int): ...
|
||||
def SetThreadPriorityBoost(Thread: int, DisablePriorityBoost) -> None: ...
|
||||
def GetThreadIOPendingFlag(Thread: int): ...
|
||||
def GetThreadTimes(Thread: int): ...
|
||||
def GetProcessId(Process: int): ...
|
||||
def SetPriorityClass(__handle: int, __dwPriorityClass: int) -> None: ...
|
||||
def AttachThreadInput(idAttach, idAttachTo, Attach) -> None: ...
|
||||
def SetThreadIdealProcessor(handle: int, dwIdealProcessor): ...
|
||||
def GetProcessAffinityMask(hProcess: int) -> tuple[Incomplete, Incomplete]: ...
|
||||
def SetProcessAffinityMask(hProcess: int, mask) -> None: ...
|
||||
def SetThreadAffinityMask(hThread: int, ThreadAffinityMask): ...
|
||||
def SuspendThread(handle: int): ...
|
||||
def ResumeThread(handle: int): ...
|
||||
def TerminateProcess(__handle: int, __exitCode: int) -> None: ...
|
||||
def ExitProcess(exitCode) -> None: ...
|
||||
def GetPriorityClass(handle: int, /): ...
|
||||
def GetExitCodeThread(handle: int, /): ...
|
||||
def GetExitCodeProcess(handle: int, /) -> int: ...
|
||||
def GetWindowThreadProcessId(hwnd: int | None, /) -> tuple[int, int]: ...
|
||||
def SetThreadPriority(handle: int, nPriority, /) -> None: ...
|
||||
def GetThreadPriority(handle: int, /): ...
|
||||
def GetProcessPriorityBoost(Process: int, /): ...
|
||||
def SetProcessPriorityBoost(Process: int, DisablePriorityBoost, /) -> None: ...
|
||||
def GetThreadPriorityBoost(Thread: int, /): ...
|
||||
def SetThreadPriorityBoost(Thread: int, DisablePriorityBoost, /) -> None: ...
|
||||
def GetThreadIOPendingFlag(Thread: int, /): ...
|
||||
def GetThreadTimes(Thread: int, /): ...
|
||||
def GetProcessId(Process: int, /): ...
|
||||
def SetPriorityClass(handle: int, dwPriorityClass: int, /) -> None: ...
|
||||
def AttachThreadInput(idAttach, idAttachTo, Attach, /) -> None: ...
|
||||
def SetThreadIdealProcessor(handle: int, dwIdealProcessor, /): ...
|
||||
def GetProcessAffinityMask(hProcess: int, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def SetProcessAffinityMask(hProcess: int, mask, /) -> None: ...
|
||||
def SetThreadAffinityMask(hThread: int, ThreadAffinityMask, /): ...
|
||||
def SuspendThread(handle: int, /): ...
|
||||
def ResumeThread(handle: int, /): ...
|
||||
def TerminateProcess(handle: int, exitCode: int, /) -> None: ...
|
||||
def ExitProcess(exitCode, /) -> None: ...
|
||||
def EnumProcesses() -> tuple[Incomplete, Incomplete]: ...
|
||||
def EnumProcessModules(hProcess: int) -> tuple[Incomplete, Incomplete]: ...
|
||||
def EnumProcessModulesEx(hProcess: int, FilterFlag) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetModuleFileNameEx(hProcess: int, hModule: int): ...
|
||||
def GetProcessMemoryInfo(hProcess: int): ...
|
||||
def GetProcessTimes(hProcess: int): ...
|
||||
def GetProcessIoCounters(hProcess: int): ...
|
||||
def EnumProcessModules(hProcess: int, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def EnumProcessModulesEx(hProcess: int, FilterFlag, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def GetModuleFileNameEx(hProcess: int, hModule: int, /): ...
|
||||
def GetProcessMemoryInfo(hProcess: int, /): ...
|
||||
def GetProcessTimes(hProcess: int, /): ...
|
||||
def GetProcessIoCounters(hProcess: int, /): ...
|
||||
def GetProcessWindowStation() -> None: ...
|
||||
def GetProcessWorkingSetSize(hProcess: int) -> tuple[Incomplete, Incomplete]: ...
|
||||
def SetProcessWorkingSetSize(hProcess: int, MinimumWorkingSetSize, MaximumWorkingSetSize) -> None: ...
|
||||
def GetProcessWorkingSetSize(hProcess: int, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def SetProcessWorkingSetSize(hProcess: int, MinimumWorkingSetSize, MaximumWorkingSetSize, /) -> None: ...
|
||||
def GetProcessShutdownParameters() -> tuple[Incomplete, Incomplete]: ...
|
||||
def SetProcessShutdownParameters(Level, Flags) -> None: ...
|
||||
def GetGuiResources(Process: int, Flags): ...
|
||||
def IsWow64Process(__Process: int | None = ...) -> bool: ...
|
||||
def ReadProcessMemory(*args, **kwargs): ... # incomplete
|
||||
def VirtualAllocEx(*args, **kwargs): ... # incomplete
|
||||
def VirtualFreeEx(*args, **kwargs): ... # incomplete
|
||||
def WriteProcessMemory(*args, **kwargs): ... # incomplete
|
||||
def SetProcessShutdownParameters(Level, Flags, /) -> None: ...
|
||||
def GetGuiResources(Process: int, Flags, /): ...
|
||||
def IsWow64Process(Process: int | None = ..., /) -> bool: ...
|
||||
def ReadProcessMemory(*args): ... # incomplete
|
||||
def VirtualAllocEx(*args): ... # incomplete
|
||||
def VirtualFreeEx(*args): ... # incomplete
|
||||
def WriteProcessMemory(*args): ... # incomplete
|
||||
|
||||
ABOVE_NORMAL_PRIORITY_CLASS: int
|
||||
BELOW_NORMAL_PRIORITY_CLASS: int
|
||||
|
||||
@@ -3,20 +3,22 @@ from _typeshed import Incomplete
|
||||
import _win32typing
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def CreatePhonebookEntry(hWnd: int, fileName: str | None = ...) -> None: ...
|
||||
def Dial(dialExtensions, fileName: str, RasDialParams: _win32typing.RASDIALPARAMS, callback) -> tuple[Incomplete, Incomplete]: ...
|
||||
def EditPhonebookEntry(hWnd: int, fileName: str, entryName: str | None = ...) -> None: ...
|
||||
def CreatePhonebookEntry(hWnd: int, fileName: str | None = ..., /) -> None: ...
|
||||
def Dial(
|
||||
dialExtensions, fileName: str, RasDialParams: _win32typing.RASDIALPARAMS, callback, /
|
||||
) -> tuple[Incomplete, Incomplete]: ...
|
||||
def EditPhonebookEntry(hWnd: int, fileName: str, entryName: str | None = ..., /) -> None: ...
|
||||
def EnumConnections(): ...
|
||||
def EnumEntries(reserved: str | None = ..., fileName: str | None = ...) -> None: ...
|
||||
def GetConnectStatus(hrasconn) -> tuple[Incomplete, Incomplete, str, str]: ...
|
||||
def EnumEntries(reserved: str | None = ..., fileName: str | None = ..., /) -> None: ...
|
||||
def GetConnectStatus(hrasconn, /) -> tuple[Incomplete, Incomplete, str, str]: ...
|
||||
def GetEntryDialParams(
|
||||
fileName: str, entryName: str
|
||||
fileName: str, entryName: str, /
|
||||
) -> tuple[Incomplete, Incomplete, Incomplete, Incomplete, Incomplete, Incomplete, Incomplete]: ...
|
||||
def GetErrorString(error) -> str: ... # noqa: F811
|
||||
def HangUp(hras) -> None: ...
|
||||
def IsHandleValid(__hras: int | None) -> bool: ...
|
||||
def SetEntryDialParams(fileName: str, RasDialParams, bSavePassword) -> None: ...
|
||||
def RASDIALEXTENSIONS(*args, **kwargs): ... # incomplete
|
||||
def GetErrorString(error, /) -> str: ... # noqa: F811
|
||||
def HangUp(hras, /) -> None: ...
|
||||
def IsHandleValid(hras: int | None, /) -> bool: ...
|
||||
def SetEntryDialParams(fileName: str, RasDialParams, bSavePassword, /) -> None: ...
|
||||
def RASDIALEXTENSIONS(*args): ... # incomplete
|
||||
|
||||
RASCS_AllDevicesConnected: int
|
||||
RASCS_AuthAck: int
|
||||
@@ -47,7 +49,7 @@ RASCS_StartAuthentication: int
|
||||
RASCS_WaitForCallback: int
|
||||
RASCS_WaitForModemReset: int
|
||||
|
||||
def GetEapUserIdentity(*args, **kwargs): ... # incomplete
|
||||
def GetEapUserIdentity(*args): ... # incomplete
|
||||
|
||||
RASEAPF_Logon: int
|
||||
RASEAPF_NonInteractive: int
|
||||
|
||||
@@ -10,10 +10,11 @@ def DsGetSpn(
|
||||
InstancePort: int = ...,
|
||||
InstanceNames: tuple[str, ...] | None = ...,
|
||||
InstancePorts: tuple[Incomplete, ...] | None = ...,
|
||||
/,
|
||||
) -> tuple[str, ...]: ...
|
||||
def DsWriteAccountSpn(hDS: _win32typing.PyDS_HANDLE, Operation, Account: str, Spns: tuple[str, ...]) -> None: ...
|
||||
def DsBind(DomainController: str, DnsDomainName: str) -> _win32typing.PyDS_HANDLE: ...
|
||||
def DsUnBind(hDS: _win32typing.PyDS_HANDLE) -> None: ...
|
||||
def DsWriteAccountSpn(hDS: _win32typing.PyDS_HANDLE, Operation, Account: str, Spns: tuple[str, ...], /) -> None: ...
|
||||
def DsBind(DomainController: str, DnsDomainName: str, /) -> _win32typing.PyDS_HANDLE: ...
|
||||
def DsUnBind(hDS: _win32typing.PyDS_HANDLE, /) -> None: ...
|
||||
def DsGetDcName(
|
||||
computerName: str | None = ...,
|
||||
domainName: str | None = ...,
|
||||
@@ -22,26 +23,24 @@ def DsGetDcName(
|
||||
flags: int = ...,
|
||||
): ...
|
||||
def DsCrackNames(
|
||||
hds: _win32typing.PyDS_HANDLE, flags, formatOffered, formatDesired, names: list[Incomplete]
|
||||
hds: _win32typing.PyDS_HANDLE, flags, formatOffered, formatDesired, names: list[Incomplete], /
|
||||
) -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
||||
def ACL(__bufSize: int = ...) -> _win32typing.PyACL: ...
|
||||
def ACL(bufSize: int = ..., /) -> _win32typing.PyACL: ...
|
||||
def SID() -> _win32typing.PySID: ...
|
||||
def SECURITY_ATTRIBUTES() -> _win32typing.PySECURITY_ATTRIBUTES: ...
|
||||
def SECURITY_DESCRIPTOR() -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def ImpersonateNamedPipeClient(handle) -> None: ...
|
||||
def ImpersonateLoggedOnUser(handle: int) -> None: ...
|
||||
def ImpersonateAnonymousToken(ThreadHandle: int) -> None: ...
|
||||
def IsTokenRestricted(__TokenHandle: int | None) -> bool: ...
|
||||
def ImpersonateNamedPipeClient(handle, /) -> None: ...
|
||||
def ImpersonateLoggedOnUser(handle: int, /) -> None: ...
|
||||
def ImpersonateAnonymousToken(ThreadHandle: int, /) -> None: ...
|
||||
def IsTokenRestricted(TokenHandle: int | None, /) -> bool: ...
|
||||
def RevertToSelf() -> None: ...
|
||||
def LogonUser(
|
||||
__Username: str, __Domain: str | None, __Password: str, __LogonType: int, __LogonProvider: int
|
||||
) -> _win32typing.PyHANDLE: ...
|
||||
def LogonUser(Username: str, Domain: str | None, Password: str, LogonType: int, LogonProvider: int) -> _win32typing.PyHANDLE: ...
|
||||
def LogonUserEx(
|
||||
Username: str, Domain: str, Password: str, LogonType, LogonProvider
|
||||
) -> tuple[int, _win32typing.PySID, Incomplete, Incomplete]: ...
|
||||
def LookupAccountName(__systemName: str | None, __accountName: str) -> tuple[_win32typing.PySID, str, int]: ...
|
||||
def LookupAccountSid(__systemName: str, __sid: _win32typing.PySID) -> tuple[str, str, Incomplete]: ...
|
||||
def GetBinarySid(__SID: str) -> _win32typing.PySID: ...
|
||||
def LookupAccountName(systemName: str | None, accountName: str, /) -> tuple[_win32typing.PySID, str, int]: ...
|
||||
def LookupAccountSid(systemName: str, sid: _win32typing.PySID, /) -> tuple[str, str, Incomplete]: ...
|
||||
def GetBinarySid(SID: str, /) -> _win32typing.PySID: ...
|
||||
def SetSecurityInfo(
|
||||
handle: int,
|
||||
ObjectType,
|
||||
@@ -50,65 +49,69 @@ def SetSecurityInfo(
|
||||
Group: _win32typing.PySID,
|
||||
Dacl: _win32typing.PyACL,
|
||||
Sacl: _win32typing.PyACL,
|
||||
/,
|
||||
) -> None: ...
|
||||
def GetSecurityInfo(handle: int, ObjectType, SecurityInfo) -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def GetSecurityInfo(handle: int, ObjectType, SecurityInfo, /) -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def SetNamedSecurityInfo(
|
||||
__ObjectName: str,
|
||||
__ObjectType: int,
|
||||
__SecurityInfo: int,
|
||||
__Owner: _win32typing.PySID | None,
|
||||
__Group: _win32typing.PySID | None,
|
||||
__Dacl: _win32typing.PyACL | None,
|
||||
__Sacl: _win32typing.PyACL | None,
|
||||
ObjectName: str,
|
||||
ObjectType: int,
|
||||
SecurityInfo: int,
|
||||
Owner: _win32typing.PySID | None,
|
||||
Group: _win32typing.PySID | None,
|
||||
Dacl: _win32typing.PyACL | None,
|
||||
Sacl: _win32typing.PyACL | None,
|
||||
/,
|
||||
) -> None: ...
|
||||
def GetNamedSecurityInfo(__ObjectName: str, __ObjectType: int, __SecurityInfo: int) -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def OpenProcessToken(processHandle, desiredAccess) -> int: ...
|
||||
def LookupPrivilegeValue(systemName: str, privilegeName: str) -> _win32typing.LARGE_INTEGER: ...
|
||||
def LookupPrivilegeName(SystemName: str, luid: _win32typing.LARGE_INTEGER) -> str: ...
|
||||
def LookupPrivilegeDisplayName(SystemName: str, Name: str) -> str: ...
|
||||
def GetNamedSecurityInfo(ObjectName: str, ObjectType: int, SecurityInfo: int, /) -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def OpenProcessToken(processHandle, desiredAccess, /) -> int: ...
|
||||
def LookupPrivilegeValue(systemName: str, privilegeName: str, /) -> _win32typing.LARGE_INTEGER: ...
|
||||
def LookupPrivilegeName(SystemName: str, luid: _win32typing.LARGE_INTEGER, /) -> str: ...
|
||||
def LookupPrivilegeDisplayName(SystemName: str, Name: str, /) -> str: ...
|
||||
def AdjustTokenPrivileges(
|
||||
TokenHandle: int, bDisableAllPrivileges, NewState: _win32typing.PyTOKEN_PRIVILEGES
|
||||
) -> _win32typing.PyTOKEN_PRIVILEGES: ...
|
||||
def AdjustTokenGroups(TokenHandle: int, ResetToDefault, NewState: _win32typing.PyTOKEN_GROUPS) -> _win32typing.PyTOKEN_GROUPS: ...
|
||||
def GetTokenInformation(TokenHandle: int, TokenInformationClass): ...
|
||||
def OpenThreadToken(handle: int, desiredAccess, openAsSelf): ...
|
||||
def SetThreadToken(Thread: int, Token: int) -> None: ...
|
||||
def GetFileSecurity(__filename: str, __info: int = ...) -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def SetFileSecurity(__filename: str, __info: int, __security: _win32typing.PySECURITY_DESCRIPTOR) -> None: ...
|
||||
def GetUserObjectSecurity(handle: int, info) -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def SetUserObjectSecurity(handle: int, info, security: _win32typing.PySECURITY_DESCRIPTOR) -> None: ...
|
||||
def GetKernelObjectSecurity(handle: int, info) -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def SetKernelObjectSecurity(handle: int, info, security: _win32typing.PySECURITY_DESCRIPTOR) -> None: ...
|
||||
def SetTokenInformation(TokenHandle: int, TokenInformationClass, TokenInformation) -> None: ...
|
||||
def LsaOpenPolicy(system_name: str, access_mask) -> _win32typing.PyLSA_HANDLE: ...
|
||||
def LsaClose(PolicyHandle: int) -> None: ...
|
||||
def LsaQueryInformationPolicy(PolicyHandle: _win32typing.PyLSA_HANDLE, InformationClass) -> None: ...
|
||||
def LsaSetInformationPolicy(PolicyHandle: _win32typing.PyLSA_HANDLE, InformationClass, Information) -> None: ...
|
||||
def GetTokenInformation(TokenHandle: int, TokenInformationClass, /): ...
|
||||
def OpenThreadToken(handle: int, desiredAccess, openAsSelf, /): ...
|
||||
def SetThreadToken(Thread: int, Token: int, /) -> None: ...
|
||||
def GetFileSecurity(filename: str, info: int = ..., /) -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def SetFileSecurity(filename: str, info: int, security: _win32typing.PySECURITY_DESCRIPTOR, /) -> None: ...
|
||||
def GetUserObjectSecurity(handle: int, info, /) -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def SetUserObjectSecurity(handle: int, info, security: _win32typing.PySECURITY_DESCRIPTOR, /) -> None: ...
|
||||
def GetKernelObjectSecurity(handle: int, info, /) -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def SetKernelObjectSecurity(handle: int, info, security: _win32typing.PySECURITY_DESCRIPTOR, /) -> None: ...
|
||||
def SetTokenInformation(TokenHandle: int, TokenInformationClass, TokenInformation, /) -> None: ...
|
||||
def LsaOpenPolicy(system_name: str, access_mask, /) -> _win32typing.PyLSA_HANDLE: ...
|
||||
def LsaClose(PolicyHandle: int, /) -> None: ...
|
||||
def LsaQueryInformationPolicy(PolicyHandle: _win32typing.PyLSA_HANDLE, InformationClass, /) -> None: ...
|
||||
def LsaSetInformationPolicy(PolicyHandle: _win32typing.PyLSA_HANDLE, InformationClass, Information, /) -> None: ...
|
||||
def LsaAddAccountRights(
|
||||
PolicyHandle: _win32typing.PyLSA_HANDLE, AccountSid: _win32typing.PySID, UserRights: tuple[Incomplete, ...]
|
||||
) -> None: ...
|
||||
def LsaRemoveAccountRights(
|
||||
PolicyHandle: _win32typing.PyLSA_HANDLE, AccountSid: _win32typing.PySID, AllRights, UserRights: tuple[Incomplete, ...]
|
||||
) -> None: ...
|
||||
def LsaEnumerateAccountRights(PolicyHandle: _win32typing.PyLSA_HANDLE, AccountSid: _win32typing.PySID) -> list[str]: ...
|
||||
def LsaEnumerateAccountsWithUserRight(PolicyHandle: _win32typing.PyLSA_HANDLE, UserRight) -> tuple[_win32typing.PySID, ...]: ...
|
||||
def ConvertSidToStringSid(__Sid: _win32typing.PySID) -> str: ...
|
||||
def ConvertStringSidToSid(__StringSid: str) -> _win32typing.PySID: ...
|
||||
def LsaEnumerateAccountRights(PolicyHandle: _win32typing.PyLSA_HANDLE, AccountSid: _win32typing.PySID, /) -> list[str]: ...
|
||||
def LsaEnumerateAccountsWithUserRight(
|
||||
PolicyHandle: _win32typing.PyLSA_HANDLE, UserRight, /
|
||||
) -> tuple[_win32typing.PySID, ...]: ...
|
||||
def ConvertSidToStringSid(Sid: _win32typing.PySID, /) -> str: ...
|
||||
def ConvertStringSidToSid(StringSid: str, /) -> _win32typing.PySID: ...
|
||||
def ConvertSecurityDescriptorToStringSecurityDescriptor(
|
||||
SecurityDescriptor: _win32typing.PySECURITY_DESCRIPTOR, RequestedStringSDRevision, SecurityInformation
|
||||
SecurityDescriptor: _win32typing.PySECURITY_DESCRIPTOR, RequestedStringSDRevision, SecurityInformation, /
|
||||
) -> str: ...
|
||||
def ConvertStringSecurityDescriptorToSecurityDescriptor(
|
||||
StringSecurityDescriptor: str, StringSDRevision
|
||||
StringSecurityDescriptor: str, StringSDRevision, /
|
||||
) -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def LsaStorePrivateData(PolicyHandle: _win32typing.PyLSA_HANDLE, KeyName: str, PrivateData) -> None: ...
|
||||
def LsaRetrievePrivateData(PolicyHandle: _win32typing.PyLSA_HANDLE, KeyName: str) -> str: ...
|
||||
def LsaRegisterPolicyChangeNotification(InformationClass, NotificationEventHandle: int) -> None: ...
|
||||
def LsaUnregisterPolicyChangeNotification(InformationClass, NotificationEventHandle: int) -> None: ...
|
||||
def LsaStorePrivateData(PolicyHandle: _win32typing.PyLSA_HANDLE, KeyName: str, PrivateData, /) -> None: ...
|
||||
def LsaRetrievePrivateData(PolicyHandle: _win32typing.PyLSA_HANDLE, KeyName: str, /) -> str: ...
|
||||
def LsaRegisterPolicyChangeNotification(InformationClass, NotificationEventHandle: int, /) -> None: ...
|
||||
def LsaUnregisterPolicyChangeNotification(InformationClass, NotificationEventHandle: int, /) -> None: ...
|
||||
def CryptEnumProviders() -> list[tuple[str, Incomplete]]: ...
|
||||
def EnumerateSecurityPackages() -> tuple[Incomplete, ...]: ...
|
||||
def AllocateLocallyUniqueId() -> None: ...
|
||||
def ImpersonateSelf(ImpersonationLevel) -> None: ...
|
||||
def DuplicateToken(ExistingTokenHandle: int, ImpersonationLevel) -> int: ...
|
||||
def ImpersonateSelf(ImpersonationLevel, /) -> None: ...
|
||||
def DuplicateToken(ExistingTokenHandle: int, ImpersonationLevel, /) -> int: ...
|
||||
def DuplicateTokenEx(
|
||||
ExistingToken: int,
|
||||
ImpersonationLevel,
|
||||
@@ -116,7 +119,7 @@ def DuplicateTokenEx(
|
||||
TokenType,
|
||||
TokenAttributes: _win32typing.PySECURITY_ATTRIBUTES | None = ...,
|
||||
) -> int: ...
|
||||
def CheckTokenMembership(TokenHandle: int, SidToCheck: _win32typing.PySID): ...
|
||||
def CheckTokenMembership(TokenHandle: int, SidToCheck: _win32typing.PySID, /): ...
|
||||
def CreateRestrictedToken(
|
||||
ExistingTokenHandle: int,
|
||||
Flags,
|
||||
@@ -124,14 +127,14 @@ def CreateRestrictedToken(
|
||||
PrivilegesToDelete: tuple[_win32typing.PyLUID_AND_ATTRIBUTES, ...],
|
||||
SidsToRestrict: tuple[_win32typing.PySID_AND_ATTRIBUTES, ...],
|
||||
) -> int: ...
|
||||
def LsaRegisterLogonProcess(LogonProcessName: str) -> _win32typing.PyLsaLogon_HANDLE: ...
|
||||
def LsaRegisterLogonProcess(LogonProcessName: str, /) -> _win32typing.PyLsaLogon_HANDLE: ...
|
||||
def LsaConnectUntrusted() -> _win32typing.PyLsaLogon_HANDLE: ...
|
||||
def LsaDeregisterLogonProcess(LsaHandle: _win32typing.PyLsaLogon_HANDLE) -> None: ...
|
||||
def LsaLookupAuthenticationPackage(LsaHandle: _win32typing.PyLsaLogon_HANDLE, PackageName: str): ...
|
||||
def LsaDeregisterLogonProcess(LsaHandle: _win32typing.PyLsaLogon_HANDLE, /) -> None: ...
|
||||
def LsaLookupAuthenticationPackage(LsaHandle: _win32typing.PyLsaLogon_HANDLE, PackageName: str, /): ...
|
||||
def LsaEnumerateLogonSessions() -> tuple[Incomplete, ...]: ...
|
||||
def LsaGetLogonSessionData(LogonId) -> tuple[Incomplete, ...]: ...
|
||||
def LsaGetLogonSessionData(LogonId, /) -> tuple[Incomplete, ...]: ...
|
||||
def AcquireCredentialsHandle(
|
||||
Principal, Package, CredentialUse, LogonID, AuthData
|
||||
Principal, Package, CredentialUse, LogonID, AuthData, /
|
||||
) -> tuple[_win32typing.PyCredHandle, _win32typing.PyTime]: ...
|
||||
def InitializeSecurityContext(
|
||||
Credential: _win32typing.PyCredHandle,
|
||||
@@ -142,6 +145,7 @@ def InitializeSecurityContext(
|
||||
pInput: _win32typing.PySecBufferDesc,
|
||||
NewContext: _win32typing.PyCtxtHandle,
|
||||
pOutput: _win32typing.PySecBufferDesc,
|
||||
/,
|
||||
) -> tuple[Incomplete, Incomplete, _win32typing.PyTime]: ...
|
||||
def AcceptSecurityContext(
|
||||
Credential: _win32typing.PyCredHandle,
|
||||
@@ -151,14 +155,15 @@ def AcceptSecurityContext(
|
||||
TargetDataRep,
|
||||
NewContext: _win32typing.PyCtxtHandle,
|
||||
pOutput: _win32typing.PySecBufferDesc,
|
||||
/,
|
||||
) -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
||||
def QuerySecurityPackageInfo(PackageName): ...
|
||||
def QuerySecurityPackageInfo(PackageName, /): ...
|
||||
def LsaCallAuthenticationPackage(
|
||||
LsaHandle: _win32typing.PyLsaLogon_HANDLE, AuthenticationPackage, MessageType, ProtocolSubmitBuffer
|
||||
LsaHandle: _win32typing.PyLsaLogon_HANDLE, AuthenticationPackage, MessageType, ProtocolSubmitBuffer, /
|
||||
) -> None: ...
|
||||
def TranslateName(accountName: str, accountNameFormat, accountNameFormat1, numChars=...) -> str: ...
|
||||
def CreateWellKnownSid(WellKnownSidType, DomainSid: _win32typing.PySID | None = ...) -> _win32typing.PySID: ...
|
||||
def MapGenericMask(AccessMask, GenericMapping: tuple[Incomplete, Incomplete, Incomplete, Incomplete]): ...
|
||||
def TranslateName(accountName: str, accountNameFormat, accountNameFormat1, numChars=..., /) -> str: ...
|
||||
def CreateWellKnownSid(WellKnownSidType, DomainSid: _win32typing.PySID | None = ..., /) -> _win32typing.PySID: ...
|
||||
def MapGenericMask(AccessMask, GenericMapping: tuple[Incomplete, Incomplete, Incomplete, Incomplete], /): ...
|
||||
|
||||
ACCESS_ALLOWED_ACE_TYPE: int
|
||||
ACCESS_ALLOWED_OBJECT_ACE_TYPE: int
|
||||
@@ -389,13 +394,13 @@ UNPROTECTED_SACL_SECURITY_INFORMATION: int
|
||||
CredHandleType = _win32typing.PyCredHandle
|
||||
CtxtHandleType = _win32typing.PyCtxtHandle
|
||||
|
||||
def DsListDomainsInSite(*args, **kwargs): ... # incomplete
|
||||
def DsListInfoForServer(*args, **kwargs): ... # incomplete
|
||||
def DsListRoles(*args, **kwargs): ... # incomplete
|
||||
def DsListServersForDomainInSite(*args, **kwargs): ... # incomplete
|
||||
def DsListServersInSite(*args, **kwargs): ... # incomplete
|
||||
def DsListSites(*args, **kwargs): ... # incomplete
|
||||
def GetPolicyHandle(*args, **kwargs): ... # incomplete
|
||||
def DsListDomainsInSite(*args): ... # incomplete
|
||||
def DsListInfoForServer(*args): ... # incomplete
|
||||
def DsListRoles(*args): ... # incomplete
|
||||
def DsListServersForDomainInSite(*args): ... # incomplete
|
||||
def DsListServersInSite(*args): ... # incomplete
|
||||
def DsListSites(*args): ... # incomplete
|
||||
def GetPolicyHandle(*args): ... # incomplete
|
||||
|
||||
MICROSOFT_KERBEROS_NAME_A: bytes
|
||||
MSV1_0_PACKAGE_NAME: bytes
|
||||
|
||||
@@ -4,41 +4,45 @@ from collections.abc import Iterable
|
||||
import _win32typing
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def GetThreadDesktop(ThreadId) -> _win32typing.PyHDESK: ...
|
||||
def GetThreadDesktop(ThreadId, /) -> _win32typing.PyHDESK: ...
|
||||
def EnumWindowStations() -> tuple[tuple[str, Incomplete], ...]: ...
|
||||
def GetUserObjectInformation(Handle: int, _type) -> None: ...
|
||||
def SetUserObjectInformation(Handle: int, info, _type) -> None: ...
|
||||
def OpenWindowStation(szWinSta, Inherit, DesiredAccess) -> _win32typing.PyHWINSTA: ...
|
||||
def OpenDesktop(szDesktop, Flags, Inherit, DesiredAccess) -> _win32typing.PyHDESK: ...
|
||||
def GetUserObjectInformation(Handle: int, _type, /) -> None: ...
|
||||
def SetUserObjectInformation(Handle: int, info, _type, /) -> None: ...
|
||||
def OpenWindowStation(szWinSta, Inherit, DesiredAccess, /) -> _win32typing.PyHWINSTA: ...
|
||||
def OpenDesktop(szDesktop, Flags, Inherit, DesiredAccess, /) -> _win32typing.PyHDESK: ...
|
||||
def CreateDesktop(
|
||||
Desktop, Flags, DesiredAccess, SecurityAttributes: _win32typing.PySECURITY_ATTRIBUTES
|
||||
Desktop, Flags, DesiredAccess, SecurityAttributes: _win32typing.PySECURITY_ATTRIBUTES, /
|
||||
) -> _win32typing.PyHDESK: ...
|
||||
def OpenInputDesktop(Flags, Inherit, DesiredAccess) -> _win32typing.PyHDESK: ...
|
||||
def OpenInputDesktop(Flags, Inherit, DesiredAccess, /) -> _win32typing.PyHDESK: ...
|
||||
def GetProcessWindowStation() -> _win32typing.PyHWINSTA: ...
|
||||
def CreateWindowStation(
|
||||
WindowStation, Flags, DesiredAccess, SecurityAttributes: _win32typing.PySECURITY_ATTRIBUTES
|
||||
WindowStation, Flags, DesiredAccess, SecurityAttributes: _win32typing.PySECURITY_ATTRIBUTES, /
|
||||
) -> _win32typing.PyHWINSTA: ...
|
||||
def EnumServicesStatus(hSCManager: _win32typing.PySC_HANDLE, ServiceType, ServiceState) -> tuple[Incomplete, ...]: ...
|
||||
def EnumServicesStatus(hSCManager: _win32typing.PySC_HANDLE, ServiceType, ServiceState, /) -> tuple[Incomplete, ...]: ...
|
||||
def EnumServicesStatusEx(
|
||||
SCManager: _win32typing.PySC_HANDLE, ServiceType, ServiceState, InfoLevel, GroupName: Incomplete | None = ...
|
||||
SCManager: _win32typing.PySC_HANDLE, ServiceType, ServiceState, InfoLevel, GroupName: Incomplete | None = ..., /
|
||||
) -> tuple[Incomplete, ...]: ...
|
||||
def EnumDependentServices(hService: _win32typing.PySC_HANDLE, ServiceState) -> tuple[Incomplete, ...]: ...
|
||||
def QueryServiceConfig(hService: _win32typing.PySC_HANDLE): ...
|
||||
def StartService(hService: _win32typing.PySC_HANDLE, args: Iterable[str] | None) -> None: ...
|
||||
def OpenService(scHandle: _win32typing.PySC_HANDLE, name: str, desiredAccess) -> _win32typing.PySC_HANDLE: ...
|
||||
def OpenSCManager(machineName: str | None, dbName: str | None, desiredAccess: int) -> _win32typing.PySC_HANDLE: ...
|
||||
def CloseServiceHandle(scHandle: _win32typing.PySC_HANDLE) -> None: ...
|
||||
def QueryServiceStatus(hService: _win32typing.PySC_HANDLE) -> _win32typing.SERVICE_STATUS: ...
|
||||
def QueryServiceStatusEx(hService: _win32typing.PySC_HANDLE) -> _win32typing.SERVICE_STATUS: ...
|
||||
def EnumDependentServices(hService: _win32typing.PySC_HANDLE, ServiceState, /) -> tuple[Incomplete, ...]: ...
|
||||
def QueryServiceConfig(hService: _win32typing.PySC_HANDLE, /): ...
|
||||
def StartService(hService: _win32typing.PySC_HANDLE, args: Iterable[str] | None, /) -> None: ...
|
||||
def OpenService(scHandle: _win32typing.PySC_HANDLE, name: str, desiredAccess, /) -> _win32typing.PySC_HANDLE: ...
|
||||
def OpenSCManager(machineName: str | None, dbName: str | None, desiredAccess: int, /) -> _win32typing.PySC_HANDLE: ...
|
||||
def CloseServiceHandle(scHandle: _win32typing.PySC_HANDLE, /) -> None: ...
|
||||
def QueryServiceStatus(hService: _win32typing.PySC_HANDLE, /) -> _win32typing.SERVICE_STATUS: ...
|
||||
def QueryServiceStatusEx(hService: _win32typing.PySC_HANDLE, /) -> _win32typing.SERVICE_STATUS: ...
|
||||
def SetServiceObjectSecurity(
|
||||
Handle: _win32typing.PySC_HANDLE, SecurityInformation, SecurityDescriptor: _win32typing.PySECURITY_DESCRIPTOR
|
||||
Handle: _win32typing.PySC_HANDLE, SecurityInformation, SecurityDescriptor: _win32typing.PySECURITY_DESCRIPTOR, /
|
||||
) -> None: ...
|
||||
def QueryServiceObjectSecurity(Handle: _win32typing.PySC_HANDLE, SecurityInformation) -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def GetServiceKeyName(hSCManager: _win32typing.PySC_HANDLE, DisplayName): ...
|
||||
def GetServiceDisplayName(hSCManager: _win32typing.PySC_HANDLE, ServiceName): ...
|
||||
def SetServiceStatus(scHandle, serviceStatus: _win32typing.SERVICE_STATUS | tuple[int, int, int, int, int, int, int]) -> None: ...
|
||||
def ControlService(scHandle: _win32typing.PySC_HANDLE, code) -> _win32typing.SERVICE_STATUS: ...
|
||||
def DeleteService(scHandle: _win32typing.PySC_HANDLE) -> None: ...
|
||||
def QueryServiceObjectSecurity(
|
||||
Handle: _win32typing.PySC_HANDLE, SecurityInformation, /
|
||||
) -> _win32typing.PySECURITY_DESCRIPTOR: ...
|
||||
def GetServiceKeyName(hSCManager: _win32typing.PySC_HANDLE, DisplayName, /): ...
|
||||
def GetServiceDisplayName(hSCManager: _win32typing.PySC_HANDLE, ServiceName, /): ...
|
||||
def SetServiceStatus(
|
||||
scHandle, serviceStatus: _win32typing.SERVICE_STATUS | tuple[int, int, int, int, int, int, int], /
|
||||
) -> None: ...
|
||||
def ControlService(scHandle: _win32typing.PySC_HANDLE, code, /) -> _win32typing.SERVICE_STATUS: ...
|
||||
def DeleteService(scHandle: _win32typing.PySC_HANDLE, /) -> None: ...
|
||||
def CreateService(
|
||||
scHandle: _win32typing.PySC_HANDLE,
|
||||
name: str,
|
||||
@@ -53,6 +57,7 @@ def CreateService(
|
||||
serviceDeps: Iterable[Incomplete] | None,
|
||||
acctName: str | None,
|
||||
password: str | None,
|
||||
/,
|
||||
) -> _win32typing.PySC_HANDLE: ...
|
||||
def ChangeServiceConfig(
|
||||
hService: _win32typing.PySC_HANDLE,
|
||||
@@ -66,12 +71,13 @@ def ChangeServiceConfig(
|
||||
acctName: str | None,
|
||||
password: str | None,
|
||||
displayName: str | None,
|
||||
/,
|
||||
): ...
|
||||
def LockServiceDatabase(sc_handle: _win32typing.PySC_HANDLE): ...
|
||||
def UnlockServiceDatabase(lock): ...
|
||||
def QueryServiceLockStatus(hSCManager: _win32typing.PySC_HANDLE) -> tuple[Incomplete, str, Incomplete]: ...
|
||||
def ChangeServiceConfig2(hService: _win32typing.PySC_HANDLE, InfoLevel, info) -> None: ...
|
||||
def QueryServiceConfig2(hService: _win32typing.PySC_HANDLE, InfoLevel): ...
|
||||
def LockServiceDatabase(sc_handle: _win32typing.PySC_HANDLE, /): ...
|
||||
def UnlockServiceDatabase(lock, /): ...
|
||||
def QueryServiceLockStatus(hSCManager: _win32typing.PySC_HANDLE, /) -> tuple[Incomplete, str, Incomplete]: ...
|
||||
def ChangeServiceConfig2(hService: _win32typing.PySC_HANDLE, InfoLevel, info, /) -> None: ...
|
||||
def QueryServiceConfig2(hService: _win32typing.PySC_HANDLE, InfoLevel, /): ...
|
||||
|
||||
DBT_CONFIGCHANGECANCELED: int
|
||||
DBT_CONFIGCHANGED: int
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def GetHandle(*args, **kwargs): ... # incomplete
|
||||
def GetTracer(*args, **kwargs): ... # incomplete
|
||||
def InitRead(*args, **kwargs): ... # incomplete
|
||||
def InitWrite(*args, **kwargs): ... # incomplete
|
||||
def TermRead(*args, **kwargs): ... # incomplete
|
||||
def TermWrite(*args, **kwargs): ... # incomplete
|
||||
def blockingread(*args, **kwargs): ... # incomplete
|
||||
def flush(*args, **kwargs): ... # incomplete
|
||||
def read(*args, **kwargs): ... # incomplete
|
||||
def setprint(*args, **kwargs): ... # incomplete
|
||||
def write(*args, **kwargs): ... # incomplete
|
||||
def GetHandle(*args): ... # incomplete
|
||||
def GetTracer(*args): ... # incomplete
|
||||
def InitRead(*args): ... # incomplete
|
||||
def InitWrite(*args): ... # incomplete
|
||||
def TermRead(*args): ... # incomplete
|
||||
def TermWrite(*args): ... # incomplete
|
||||
def blockingread(*args): ... # incomplete
|
||||
def flush(*args): ... # incomplete
|
||||
def read(*args): ... # incomplete
|
||||
def setprint(*args): ... # incomplete
|
||||
def write(*args): ... # incomplete
|
||||
|
||||
@@ -2,14 +2,14 @@ from _typeshed import Incomplete
|
||||
|
||||
def WTSOpenServer(ServerName: str) -> int: ...
|
||||
def WTSCloseServer(Server: int) -> None: ...
|
||||
def WTSQueryUserConfig(ServerName: str, UserName: str, ConfigClass): ...
|
||||
def WTSSetUserConfig(ServerName: str, UserName: str, ConfigClass) -> None: ...
|
||||
def WTSQueryUserConfig(ServerName: str, UserName: str, WTSConfigClass): ...
|
||||
def WTSSetUserConfig(ServerName: str, UserName: str, WTSConfigClass, Buffer) -> None: ...
|
||||
def WTSEnumerateServers(DomainName: str | None = ..., Version: int = ..., Reserved=...) -> tuple[str, ...]: ...
|
||||
def WTSEnumerateSessions(__Server: int, __Version: int = ..., __Reserved=...) -> tuple[dict[str, str | int], ...]: ...
|
||||
def WTSLogoffSession(__Server: int, __SessionId: int, __Wait: bool) -> None: ...
|
||||
def WTSDisconnectSession(__Server: int, __SessionId: int, __Wait: bool) -> None: ...
|
||||
def WTSQuerySessionInformation(__Server: int, __SessionId: int, __WTSInfoClass: int) -> str: ...
|
||||
def WTSEnumerateProcesses(Server: int, Version: int = ..., Reserved: int = ...) -> tuple[str, ...]: ...
|
||||
def WTSEnumerateSessions(Server: int = ..., Version: int = ..., Reserved=...) -> tuple[dict[str, str | int], ...]: ...
|
||||
def WTSLogoffSession(Server: int, SessionId: int, Wait: bool) -> None: ...
|
||||
def WTSDisconnectSession(Server: int, SessionId: int, Wait: bool) -> None: ...
|
||||
def WTSQuerySessionInformation(Server: int, SessionId: int, WTSInfoClass: int) -> str: ...
|
||||
def WTSEnumerateProcesses(Server: int = ..., Version: int = ..., Reserved: int = ...) -> tuple[str, ...]: ...
|
||||
def WTSQueryUserToken(SessionId) -> int: ...
|
||||
def WTSShutdownSystem(Server: int, ShutdownFlag) -> None: ...
|
||||
def WTSTerminateProcess(Server: int, ProcessId, ExitCode) -> None: ...
|
||||
@@ -17,7 +17,7 @@ def ProcessIdToSessionId(ProcessId): ...
|
||||
def WTSGetActiveConsoleSessionId(): ...
|
||||
def WTSRegisterSessionNotification(Wnd: int, Flags) -> None: ...
|
||||
def WTSUnRegisterSessionNotification(Wnd: int) -> None: ...
|
||||
def WTSWaitSystemEvent(Server: int, EventMask): ...
|
||||
def WTSWaitSystemEvent(Server: int = ..., EventMask=...): ...
|
||||
def WTSSendMessage(Server: int, SessionId, Title: str, Message: str, Style, Timeout, Wait): ...
|
||||
|
||||
NOTIFY_FOR_ALL_SESSIONS: int
|
||||
|
||||
@@ -3,8 +3,8 @@ from _typeshed import Incomplete
|
||||
import _win32typing
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
def NCBBuffer(size): ...
|
||||
def Netbios(ncb: _win32typing.NCB): ...
|
||||
def NCBBuffer(size, /): ...
|
||||
def Netbios(ncb: _win32typing.NCB, /): ...
|
||||
def WNetAddConnection2(
|
||||
NetResource: _win32typing.PyNETRESOURCE,
|
||||
Password: Incomplete | None = ...,
|
||||
@@ -12,22 +12,22 @@ def WNetAddConnection2(
|
||||
Flags: int = ...,
|
||||
) -> None: ...
|
||||
def WNetAddConnection3(
|
||||
HwndParent: int | _win32typing.PyHANDLE,
|
||||
HwndOwner: int | _win32typing.PyHANDLE,
|
||||
NetResource: _win32typing.PyNETRESOURCE,
|
||||
Password: Incomplete | None = ...,
|
||||
UserName: Incomplete | None = ...,
|
||||
Flags: int = ...,
|
||||
) -> None: ...
|
||||
def WNetCancelConnection2(name: str, flags, force) -> None: ...
|
||||
def WNetOpenEnum(scope, _type, usage, resource: _win32typing.PyNETRESOURCE) -> int: ...
|
||||
def WNetCloseEnum(handle: _win32typing.PyHANDLE) -> None: ...
|
||||
def WNetEnumResource(handle: _win32typing.PyHANDLE, maxExtries: int = ...) -> list[_win32typing.PyNETRESOURCE]: ...
|
||||
def WNetGetUser(connection: str | None = ...) -> str: ...
|
||||
def WNetGetUniversalName(localPath: str, infoLevel) -> str: ...
|
||||
def WNetGetResourceInformation(NetResource: _win32typing.PyNETRESOURCE) -> tuple[_win32typing.PyNETRESOURCE, Incomplete]: ...
|
||||
def WNetCancelConnection2(name: str, flags, force, /) -> None: ...
|
||||
def WNetOpenEnum(scope, _type, usage, resource: _win32typing.PyNETRESOURCE, /) -> int: ...
|
||||
def WNetCloseEnum(handle: _win32typing.PyHANDLE, /) -> None: ...
|
||||
def WNetEnumResource(handle: _win32typing.PyHANDLE, maxExtries: int = ..., /) -> list[_win32typing.PyNETRESOURCE]: ...
|
||||
def WNetGetUser(connection: str | None = ..., /) -> str: ...
|
||||
def WNetGetUniversalName(localPath: str, infoLevel, /) -> str: ...
|
||||
def WNetGetResourceInformation(NetResource: _win32typing.PyNETRESOURCE, /) -> tuple[_win32typing.PyNETRESOURCE, Incomplete]: ...
|
||||
def WNetGetLastError() -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
||||
def WNetGetResourceParent(NetResource: _win32typing.PyNETRESOURCE) -> _win32typing.PyNETRESOURCE: ...
|
||||
def WNetGetConnection(connection: str | None = ...) -> str: ...
|
||||
def WNetGetResourceParent(NetResource: _win32typing.PyNETRESOURCE, /) -> _win32typing.PyNETRESOURCE: ...
|
||||
def WNetGetConnection(connection: str | None = ..., /) -> str: ...
|
||||
|
||||
NCB = _win32typing.PyNCB
|
||||
NCBType = _win32typing.PyNCB
|
||||
|
||||
@@ -3,4 +3,4 @@ from win32.win32gui import *
|
||||
def GetConsoleWindow() -> int: ...
|
||||
|
||||
# Actually returns a list of int|tuple, but lists don't support positional types
|
||||
def GetWindowRgnBox(__hWnd: int) -> tuple[int, tuple[int, int, int, int]]: ...
|
||||
def GetWindowRgnBox(hWnd: int, /) -> tuple[int, tuple[int, int, int, int]]: ...
|
||||
|
||||
@@ -6,12 +6,12 @@ from win32.lib.pywintypes import com_error
|
||||
|
||||
error: TypeAlias = com_error # noqa: Y042
|
||||
|
||||
def ADsOpenObject(path, username, password, iid: _win32typing.PyIID, reserved: int = ...): ...
|
||||
def ADsGetObject(path, iid: _win32typing.PyIID): ...
|
||||
def ADsBuildEnumerator(container: _win32typing.PyIADsContainer): ...
|
||||
def ADsEnumerateNext(enum, num: int = ...): ...
|
||||
def ADsOpenObject(path, username, password, iid: _win32typing.PyIID, reserved: int = ..., /): ...
|
||||
def ADsGetObject(path, iid: _win32typing.PyIID, /): ...
|
||||
def ADsBuildEnumerator(container: _win32typing.PyIADsContainer, /): ...
|
||||
def ADsEnumerateNext(enum, num: int = ..., /): ...
|
||||
def ADsGetLastError() -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
||||
def StringAsDS_SELECTION_LIST(*args, **kwargs): ... # incomplete
|
||||
def StringAsDS_SELECTION_LIST(*args): ... # incomplete
|
||||
|
||||
DSOP_SCOPE_INIT_INFOs = _win32typing.PyDSOP_SCOPE_INIT_INFOs
|
||||
CLSID_ADsDSOObject: _win32typing.PyIID
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import _win32typing
|
||||
|
||||
def EditSecurity(*args, **kwargs): ... # incomplete
|
||||
def EditSecurity(hwndOwner, psi): ...
|
||||
|
||||
IID_ISecurityInformation: _win32typing.PyIID
|
||||
|
||||
@@ -9,15 +9,16 @@ def OleCreate(
|
||||
obFormatEtc,
|
||||
obOleClientSite: _win32typing.PyIOleClientSite,
|
||||
obStorage: _win32typing.PyIStorage,
|
||||
/,
|
||||
) -> _win32typing.PyIOleObject: ...
|
||||
def OleLoadPicture(
|
||||
stream: _win32typing.PyIStream, size, runMode, arg: _win32typing.PyIID, arg1: _win32typing.PyIID
|
||||
stream: _win32typing.PyIStream, size, runMode, arg: _win32typing.PyIID, arg1: _win32typing.PyIID, /
|
||||
) -> _win32typing.PyIUnknown: ...
|
||||
def OleLoadPicturePath(
|
||||
url_or_path: str, unk, reserved, clr, arg: _win32typing.PyIID, arg1: _win32typing.PyIID
|
||||
url_or_path: str, unk, reserved, clr, arg: _win32typing.PyIID, arg1: _win32typing.PyIID, /
|
||||
) -> _win32typing.PyIUnknown: ...
|
||||
def OleSetContainedObject(unk: _win32typing.PyIUnknown, fContained) -> None: ...
|
||||
def OleTranslateAccelerator(frame: _win32typing.PyIOleInPlaceFrame, frame_info, msg: _win32typing.PyMSG) -> None: ...
|
||||
def OleSetContainedObject(unk: _win32typing.PyIUnknown, fContained, /) -> None: ...
|
||||
def OleTranslateAccelerator(frame: _win32typing.PyIOleInPlaceFrame, frame_info, msg: _win32typing.PyMSG, /) -> None: ...
|
||||
|
||||
EMBDHLP_CREATENOW: int
|
||||
EMBDHLP_DELAYCREATE: int
|
||||
|
||||
@@ -75,8 +75,8 @@ APPBREAKFLAG_STEPTYPE_MACHINE: int
|
||||
APPBREAKFLAG_STEPTYPE_MASK: int
|
||||
APPBREAKFLAG_STEPTYPE_SOURCE: int
|
||||
|
||||
def GetStackAddress(*args, **kwargs): ... # incomplete
|
||||
def GetThreadStateHandle(*args, **kwargs): ... # incomplete
|
||||
def GetStackAddress(*args): ... # incomplete
|
||||
def GetThreadStateHandle(*args): ... # incomplete
|
||||
|
||||
IID_IActiveScriptDebug: _win32typing.PyIID
|
||||
IID_IActiveScriptErrorDebug: _win32typing.PyIID
|
||||
@@ -121,4 +121,4 @@ IID_IRemoteDebugApplication: _win32typing.PyIID
|
||||
IID_IRemoteDebugApplicationEvents: _win32typing.PyIID
|
||||
IID_IRemoteDebugApplicationThread: _win32typing.PyIID
|
||||
|
||||
def SetThreadStateTrace(*args, **kwargs): ... # incomplete
|
||||
def SetThreadStateTrace(*args): ... # incomplete
|
||||
|
||||
@@ -2,9 +2,11 @@ from _typeshed import Incomplete
|
||||
|
||||
import _win32typing
|
||||
|
||||
def DirectSoundCreate(guid: _win32typing.PyIID | None = ..., unk: Incomplete | None = ...) -> _win32typing.PyIUnknown: ...
|
||||
def DirectSoundCreate(guid: _win32typing.PyIID | None = ..., unk: Incomplete | None = ..., /) -> _win32typing.PyIUnknown: ...
|
||||
def DirectSoundEnumerate(): ...
|
||||
def DirectSoundCaptureCreate(guid: _win32typing.PyIID | None = ..., unk: Incomplete | None = ...) -> _win32typing.PyIUnknown: ...
|
||||
def DirectSoundCaptureCreate(
|
||||
guid: _win32typing.PyIID | None = ..., unk: Incomplete | None = ..., /
|
||||
) -> _win32typing.PyIUnknown: ...
|
||||
def DirectSoundCaptureEnumerate(): ...
|
||||
def DSCAPS() -> _win32typing.PyDSCAPS: ...
|
||||
def DSBCAPS() -> _win32typing.PyDSBCAPS: ...
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import _win32typing
|
||||
|
||||
def BindIFilterFromStorage(*args, **kwargs): ... # incomplete
|
||||
def BindIFilterFromStream(*args, **kwargs): ... # incomplete
|
||||
def LoadIFilter(*args, **kwargs): ... # incomplete
|
||||
def BindIFilterFromStorage(*args): ... # incomplete
|
||||
def BindIFilterFromStream(*args): ... # incomplete
|
||||
def LoadIFilter(*args): ... # incomplete
|
||||
|
||||
CHUNK_EOC: int
|
||||
CHUNK_EOP: int
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import _win32typing
|
||||
|
||||
def CoInternetCreateSecurityManager(reserved) -> _win32typing.PyIInternetSecurityManager: ...
|
||||
def CoInternetIsFeatureEnabled(flags): ...
|
||||
def CoInternetSetFeatureEnabled(flags, enable): ...
|
||||
def CoInternetCreateSecurityManager(reserved, /) -> _win32typing.PyIInternetSecurityManager: ...
|
||||
def CoInternetIsFeatureEnabled(flags, /): ...
|
||||
def CoInternetSetFeatureEnabled(flags, enable, /): ...
|
||||
|
||||
FEATURE_ADDON_MANAGEMENT: int
|
||||
FEATURE_BEHAVIORS: int
|
||||
|
||||
@@ -4,40 +4,40 @@ import _win32typing
|
||||
|
||||
def HrInstallService() -> None: ...
|
||||
def HrInstallMailboxAgent() -> None: ...
|
||||
def HrCreateMailboxAgentProfile(serviceName: str, profile: str) -> None: ...
|
||||
def HrCreateGatewayProfile(serviceName: str, profile: str) -> None: ...
|
||||
def HrMailboxAgentExists(server: str, siteDN: str, rdn: str) -> None: ...
|
||||
def HrCreateMailboxAgentProfile(serviceName: str, profile: str, /) -> None: ...
|
||||
def HrCreateGatewayProfile(serviceName: str, profile: str, /) -> None: ...
|
||||
def HrMailboxAgentExists(server: str, siteDN: str, rdn: str, /) -> None: ...
|
||||
def HrAdminProgramExists() -> None: ...
|
||||
def HrRemoveMailboxAgent(server: str, siteDN: str, rdn: str) -> None: ...
|
||||
def HrRemoveProfile(profile: str) -> None: ...
|
||||
def HrEnumOrganizations(rootDN: str, server: str) -> list[str]: ...
|
||||
def HrEnumSites(server: str, organizationDN: str) -> list[str]: ...
|
||||
def HrEnumContainers(server: str, siteDN: str, fSubtree) -> list[str]: ...
|
||||
def HrEnumSiteAdmins(server: str, siteDN: str) -> list[str]: ...
|
||||
def HrGetServiceAccountName(serviceName: str, serviceName1: str) -> str: ...
|
||||
def HrCreateDirEntryIdEx(addrBook: _win32typing.PyIAddrBook, distinguishedName: str) -> str: ...
|
||||
def HrCreateProfileName(profPrefix: str) -> str: ...
|
||||
def HrFindExchangeGlobalAddresslist(addrBook: _win32typing.PyIAddrBook) -> str: ...
|
||||
def HrGetExchangeStatus(server: str) -> tuple[Incomplete, Incomplete]: ...
|
||||
def HrGetMailboxDN(session) -> str: ...
|
||||
def HrGetServerDN(session) -> str: ...
|
||||
def HrMAPIFindDefaultMsgStore(session: _win32typing.PyIMAPISession) -> str: ...
|
||||
def HrMAPIFindFolder(folder: _win32typing.PyIMAPIFolder, name: str) -> str: ...
|
||||
def HrMAPIFindFolderEx(msgStore: _win32typing.PyIMsgStore, sepString: str, path: str) -> str: ...
|
||||
def HrMAPIFindIPMSubtree(msgStore: _win32typing.PyIMsgStore) -> str: ...
|
||||
def HrMAPIFindInbox(msgStore: _win32typing.PyIMsgStore) -> str: ...
|
||||
def HrMAPIFindStore(session: _win32typing.PyIMAPISession, name: str) -> _win32typing.PyIMsgStore: ...
|
||||
def HrMAPIFindSubfolderEx(rootFolder: _win32typing.PyIMAPIFolder, sep: str, name: str) -> _win32typing.PyIMsgStore: ...
|
||||
def HrMAPIOpenFolderEx(msgStore: _win32typing.PyIMsgStore, sep: str, name: str) -> _win32typing.PyIMAPIFolder: ...
|
||||
def HrMAPISetPropBoolean(obj: _win32typing.PyIMAPIProp, tag) -> None: ...
|
||||
def HrMAPISetPropLong(obj: _win32typing.PyIMAPIProp, tag) -> None: ...
|
||||
def HrMailboxLogoff(inbox: _win32typing.PyIMsgStore) -> None: ...
|
||||
def HrRemoveMailboxAgent(server: str, siteDN: str, rdn: str, /) -> None: ...
|
||||
def HrRemoveProfile(profile: str, /) -> None: ...
|
||||
def HrEnumOrganizations(rootDN: str, server: str, /) -> list[str]: ...
|
||||
def HrEnumSites(server: str, organizationDN: str, /) -> list[str]: ...
|
||||
def HrEnumContainers(server: str, siteDN: str, fSubtree, /) -> list[str]: ...
|
||||
def HrEnumSiteAdmins(server: str, siteDN: str, /) -> list[str]: ...
|
||||
def HrGetServiceAccountName(serviceName: str, serviceName1: str, /) -> str: ...
|
||||
def HrCreateDirEntryIdEx(addrBook: _win32typing.PyIAddrBook, distinguishedName: str, /) -> str: ...
|
||||
def HrCreateProfileName(profPrefix: str, /) -> str: ...
|
||||
def HrFindExchangeGlobalAddresslist(addrBook: _win32typing.PyIAddrBook, /) -> str: ...
|
||||
def HrGetExchangeStatus(server: str, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def HrGetMailboxDN(session, /) -> str: ...
|
||||
def HrGetServerDN(session, /) -> str: ...
|
||||
def HrMAPIFindDefaultMsgStore(session: _win32typing.PyIMAPISession, /) -> str: ...
|
||||
def HrMAPIFindFolder(folder: _win32typing.PyIMAPIFolder, name: str, /) -> str: ...
|
||||
def HrMAPIFindFolderEx(msgStore: _win32typing.PyIMsgStore, sepString: str, path: str, /) -> str: ...
|
||||
def HrMAPIFindIPMSubtree(msgStore: _win32typing.PyIMsgStore, /) -> str: ...
|
||||
def HrMAPIFindInbox(msgStore: _win32typing.PyIMsgStore, /) -> str: ...
|
||||
def HrMAPIFindStore(session: _win32typing.PyIMAPISession, name: str, /) -> _win32typing.PyIMsgStore: ...
|
||||
def HrMAPIFindSubfolderEx(rootFolder: _win32typing.PyIMAPIFolder, sep: str, name: str, /) -> _win32typing.PyIMsgStore: ...
|
||||
def HrMAPIOpenFolderEx(msgStore: _win32typing.PyIMsgStore, sep: str, name: str, /) -> _win32typing.PyIMAPIFolder: ...
|
||||
def HrMAPISetPropBoolean(obj: _win32typing.PyIMAPIProp, tag, /) -> None: ...
|
||||
def HrMAPISetPropLong(obj: _win32typing.PyIMAPIProp, tag, /) -> None: ...
|
||||
def HrMailboxLogoff(inbox: _win32typing.PyIMsgStore, /) -> None: ...
|
||||
def HrMailboxLogon(
|
||||
session: _win32typing.PyIMAPISession, msgStore: _win32typing.PyIMsgStore, msgStoreDN: str, mailboxDN: str
|
||||
session: _win32typing.PyIMAPISession, msgStore: _win32typing.PyIMsgStore, msgStoreDN: str, mailboxDN: str, /
|
||||
) -> _win32typing.PyIMsgStore: ...
|
||||
def HrOpenExchangePrivateStore(session: _win32typing.PyIMAPISession) -> _win32typing.PyIMsgStore: ...
|
||||
def HrOpenExchangePublicFolders(store: _win32typing.PyIMsgStore) -> _win32typing.PyIMAPIFolder: ...
|
||||
def HrOpenExchangePublicStore(session: _win32typing.PyIMAPISession) -> _win32typing.PyIMsgStore: ...
|
||||
def HrOpenSessionObject(session: _win32typing.PyIMAPISession) -> _win32typing.PyIMAPIProp: ...
|
||||
def HrOpenSiteContainer(session: _win32typing.PyIMAPISession) -> _win32typing.PyIMAPIProp: ...
|
||||
def HrOpenSiteContainerAddressing(session: _win32typing.PyIMAPISession) -> _win32typing.PyIMAPIProp: ...
|
||||
def HrOpenExchangePrivateStore(session: _win32typing.PyIMAPISession, /) -> _win32typing.PyIMsgStore: ...
|
||||
def HrOpenExchangePublicFolders(store: _win32typing.PyIMsgStore, /) -> _win32typing.PyIMAPIFolder: ...
|
||||
def HrOpenExchangePublicStore(session: _win32typing.PyIMAPISession, /) -> _win32typing.PyIMsgStore: ...
|
||||
def HrOpenSessionObject(session: _win32typing.PyIMAPISession, /) -> _win32typing.PyIMAPIProp: ...
|
||||
def HrOpenSiteContainer(session: _win32typing.PyIMAPISession, /) -> _win32typing.PyIMAPIProp: ...
|
||||
def HrOpenSiteContainerAddressing(session: _win32typing.PyIMAPISession, /) -> _win32typing.PyIMAPIProp: ...
|
||||
|
||||
@@ -2,21 +2,22 @@ from _typeshed import Incomplete
|
||||
|
||||
import _win32typing
|
||||
|
||||
def HexFromBin(val: str) -> str: ...
|
||||
def BinFromHex(val: str) -> str: ...
|
||||
def HexFromBin(val: str, /) -> str: ...
|
||||
def BinFromHex(val: str, /) -> str: ...
|
||||
def MAPIUninitialize() -> None: ...
|
||||
def MAPIInitialize(init: _win32typing.MAPIINIT_0) -> None: ...
|
||||
def MAPILogonEx(uiParam, profileName: str, password: str | None = ..., flags=...) -> _win32typing.PyIMAPISession: ...
|
||||
def MAPIAdminProfiles(fFlags) -> _win32typing.PyIProfAdmin: ...
|
||||
def MAPIInitialize(init: _win32typing.MAPIINIT_0, /) -> None: ...
|
||||
def MAPILogonEx(uiParam, profileName: str, password: str | None = ..., flags=..., /) -> _win32typing.PyIMAPISession: ...
|
||||
def MAPIAdminProfiles(fFlags, /) -> _win32typing.PyIProfAdmin: ...
|
||||
def HrQueryAllRows(
|
||||
table: _win32typing.PyIMAPITable,
|
||||
properties: _win32typing.PySPropTagArray,
|
||||
restrictions: _win32typing.PySRestriction,
|
||||
sortOrderSet: _win32typing.PySSortOrderSet,
|
||||
rowsMax,
|
||||
/,
|
||||
): ...
|
||||
def RTFSync(message: _win32typing.PyIMessage, flags): ...
|
||||
def WrapCompressedRTFStream(stream: _win32typing.PyIStream, flags) -> _win32typing.PyIStream: ...
|
||||
def RTFSync(message: _win32typing.PyIMessage, flags, /): ...
|
||||
def WrapCompressedRTFStream(stream: _win32typing.PyIStream, flags, /) -> _win32typing.PyIStream: ...
|
||||
def WrapCompressedRTFStreamEx() -> tuple[_win32typing.PyIStream, Incomplete]: ...
|
||||
def OpenIMsgSession(): ...
|
||||
def CloseIMsgSession() -> None: ...
|
||||
@@ -27,16 +28,17 @@ def OpenIMsgOnIStg(
|
||||
callback: Incomplete | None = ...,
|
||||
callbackData: int = ...,
|
||||
flags: int = ...,
|
||||
/,
|
||||
) -> _win32typing.PyIMessage: ...
|
||||
def RTFStreamToHTML(The_stream_to_read_the_uncompressed_RTF_from: _win32typing.PyIStream) -> None: ...
|
||||
def OpenStreamOnFile(filename: str, flags: int = ..., prefix: str | None = ...) -> _win32typing.PyIStream: ...
|
||||
def OpenStreamOnFileW(filename, flags: int = ..., prefix: Incomplete | None = ...) -> _win32typing.PyIStream: ...
|
||||
def HrGetOneProp(prop: _win32typing.PyIMAPIProp, propTag): ...
|
||||
def HrSetOneProp(prop: _win32typing.PyIMAPIProp, propValue: _win32typing.PySPropValue): ...
|
||||
def HrAllocAdviseSink(callback, context): ...
|
||||
def HrThisThreadAdviseSink(_object): ...
|
||||
def HrDispatchNotifications(*args, **kwargs): ... # incomplete
|
||||
def MAPIUIDFromBinary(*args, **kwargs): ... # incomplete
|
||||
def RTFStreamToHTML(The_stream_to_read_the_uncompressed_RTF_from: _win32typing.PyIStream, /) -> None: ...
|
||||
def OpenStreamOnFile(filename: str, flags: int = ..., prefix: str | None = ..., /) -> _win32typing.PyIStream: ...
|
||||
def OpenStreamOnFileW(filename, flags: int = ..., prefix: Incomplete | None = ..., /) -> _win32typing.PyIStream: ...
|
||||
def HrGetOneProp(prop: _win32typing.PyIMAPIProp, propTag, /): ...
|
||||
def HrSetOneProp(prop: _win32typing.PyIMAPIProp, propValue: _win32typing.PySPropValue, /): ...
|
||||
def HrAllocAdviseSink(callback, context, /): ...
|
||||
def HrThisThreadAdviseSink(_object, /): ...
|
||||
def HrDispatchNotifications(*args): ... # incomplete
|
||||
def MAPIUIDFromBinary(*args): ... # incomplete
|
||||
|
||||
AB_NO_DIALOG: int
|
||||
ATTACH_BY_REF_ONLY: int
|
||||
|
||||
@@ -6,31 +6,31 @@ from win32.lib.pywintypes import com_error
|
||||
error: TypeAlias = com_error # noqa: Y042
|
||||
|
||||
def PSGetItemPropertyHandler(
|
||||
Item: _win32typing.PyIShellItem, riid: _win32typing.PyIID, ReadWrite: int
|
||||
Item: _win32typing.PyIShellItem, riid: _win32typing.PyIID, ReadWrite: int, /
|
||||
) -> _win32typing.PyIPropertyStore: ...
|
||||
def PSGetPropertyDescription(
|
||||
Key: _win32typing.PyPROPERTYKEY, riid: _win32typing.PyIID
|
||||
Key: _win32typing.PyPROPERTYKEY, riid: _win32typing.PyIID, /
|
||||
) -> _win32typing.PyIPropertyDescription: ...
|
||||
def PSGetPropertySystem(riid: _win32typing.PyIID) -> _win32typing.PyIPropertySystem: ...
|
||||
def PSGetNameFromPropertyKey(Key: _win32typing.PyPROPERTYKEY) -> str: ...
|
||||
def PSGetPropertyKeyFromName(Name) -> _win32typing.PyPROPERTYKEY: ...
|
||||
def PSRegisterPropertySchema(filename) -> None: ...
|
||||
def PSUnregisterPropertySchema(filename) -> None: ...
|
||||
def PSGetPropertySystem(riid: _win32typing.PyIID, /) -> _win32typing.PyIPropertySystem: ...
|
||||
def PSGetNameFromPropertyKey(Key: _win32typing.PyPROPERTYKEY, /) -> str: ...
|
||||
def PSGetPropertyKeyFromName(Name, /) -> _win32typing.PyPROPERTYKEY: ...
|
||||
def PSRegisterPropertySchema(filename, /) -> None: ...
|
||||
def PSUnregisterPropertySchema(filename, /) -> None: ...
|
||||
def SHGetPropertyStoreFromParsingName(
|
||||
Path: str, Flags, riid: _win32typing.PyIID, BindCtx: _win32typing.PyIBindCtx | None = ...
|
||||
Path: str, Flags, riid: _win32typing.PyIID, BindCtx: _win32typing.PyIBindCtx | None = ..., /
|
||||
) -> _win32typing.PyIPropertyStore: ...
|
||||
def StgSerializePropVariant(propvar: _win32typing.PyPROPVARIANT): ...
|
||||
def StgDeserializePropVariant(prop) -> _win32typing.PyPROPVARIANT: ...
|
||||
def PSCreateMemoryPropertyStore(riid: _win32typing.PyIID) -> _win32typing.PyIPropertyStore: ...
|
||||
def StgSerializePropVariant(propvar: _win32typing.PyPROPVARIANT, /): ...
|
||||
def StgDeserializePropVariant(prop, /) -> _win32typing.PyPROPVARIANT: ...
|
||||
def PSCreateMemoryPropertyStore(riid: _win32typing.PyIID, /) -> _win32typing.PyIPropertyStore: ...
|
||||
def PSCreatePropertyStoreFromPropertySetStorage(
|
||||
pss: _win32typing.PyIPropertySetStorage, Mode, riid: _win32typing.PyIID
|
||||
pss: _win32typing.PyIPropertySetStorage, Mode, riid: _win32typing.PyIID, /
|
||||
) -> _win32typing.PyIPropertyStore: ...
|
||||
def PSLookupPropertyHandlerCLSID(FilePath) -> _win32typing.PyIID: ...
|
||||
def SHGetPropertyStoreForWindow(hwnd: int, riid: _win32typing.PyIID) -> _win32typing.PyIPropertyStore: ...
|
||||
def PSGetPropertyFromPropertyStorage(ps, key: _win32typing.PyPROPERTYKEY) -> _win32typing.PyPROPVARIANT: ...
|
||||
def PSGetNamedPropertyFromPropertyStorage(ps, name) -> _win32typing.PyPROPVARIANT: ...
|
||||
def PSLookupPropertyHandlerCLSID(FilePath, /) -> _win32typing.PyIID: ...
|
||||
def SHGetPropertyStoreForWindow(hwnd: int, riid: _win32typing.PyIID, /) -> _win32typing.PyIPropertyStore: ...
|
||||
def PSGetPropertyFromPropertyStorage(ps, key: _win32typing.PyPROPERTYKEY, /) -> _win32typing.PyPROPVARIANT: ...
|
||||
def PSGetNamedPropertyFromPropertyStorage(ps, name, /) -> _win32typing.PyPROPVARIANT: ...
|
||||
def PSCreateSimplePropertyChange(
|
||||
flags, key: _win32typing.PyPROPERTYKEY, val: _win32typing.PyPROPVARIANT, riid: _win32typing.PyIID
|
||||
flags, key: _win32typing.PyPROPERTYKEY, val: _win32typing.PyPROPVARIANT, riid: _win32typing.PyIID, /
|
||||
) -> _win32typing.PyIPropertyChange: ...
|
||||
def PSCreatePropertyChangeArray() -> _win32typing.PyIPropertyChangeArray: ...
|
||||
def SHSetDefaultProperties(
|
||||
@@ -38,6 +38,7 @@ def SHSetDefaultProperties(
|
||||
Item: _win32typing.PyIShellItem,
|
||||
FileOpFlags: int = ...,
|
||||
Sink: _win32typing.PyGFileOperationProgressSink | None = ...,
|
||||
/,
|
||||
) -> None: ...
|
||||
|
||||
IID_IInitializeWithFile: _win32typing.PyIID
|
||||
|
||||
@@ -8,26 +8,26 @@ error: TypeAlias = com_error # noqa: Y042
|
||||
|
||||
def AssocCreate() -> _win32typing.PyIQueryAssociations: ...
|
||||
def AssocCreateForClasses() -> _win32typing.PyIUnknown: ...
|
||||
def DragQueryFile(hglobal: int, index) -> str: ...
|
||||
def DragQueryFileW(hglobal: int, index) -> str: ...
|
||||
def DragQueryPoint(hglobal: int) -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
||||
def DragQueryFile(hglobal: int, index, /) -> str: ...
|
||||
def DragQueryFileW(hglobal: int, index, /) -> str: ...
|
||||
def DragQueryPoint(hglobal: int, /) -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
||||
def IsUserAnAdmin() -> bool: ...
|
||||
def SHCreateDataObject(
|
||||
parent, children: list[Incomplete], do_inner: _win32typing.PyIDataObject, iid: _win32typing.PyIID
|
||||
parent, children: list[Incomplete], do_inner: _win32typing.PyIDataObject, iid: _win32typing.PyIID, /
|
||||
) -> _win32typing.PyIUnknown: ...
|
||||
def SHCreateDefaultContextMenu(dcm, iid: _win32typing.PyIID) -> _win32typing.PyIUnknown: ...
|
||||
def SHCreateDefaultContextMenu(dcm, iid: _win32typing.PyIID, /) -> _win32typing.PyIUnknown: ...
|
||||
def SHCreateDefaultExtractIcon() -> _win32typing.PyIDefaultExtractIconInit: ...
|
||||
def SHCreateShellFolderView(
|
||||
sf: _win32typing.PyIShellFolder, viewOuter: _win32typing.PyIShellView | None = ..., callbacks: Incomplete | None = ...
|
||||
sf: _win32typing.PyIShellFolder, viewOuter: _win32typing.PyIShellView | None = ..., callbacks: Incomplete | None = ..., /
|
||||
) -> _win32typing.PyIShellView: ...
|
||||
def SHCreateShellItemArray(
|
||||
parent: _win32typing.PyIDL, sf: _win32typing.PyIShellFolder, children: list[_win32typing.PyIDL]
|
||||
parent: _win32typing.PyIDL, sf: _win32typing.PyIShellFolder, children: list[_win32typing.PyIDL], /
|
||||
) -> _win32typing.PyIShellItemArray: ...
|
||||
def SHCreateShellItemArrayFromDataObject(
|
||||
do: _win32typing.PyIDataObject, iid: _win32typing.PyIID
|
||||
do: _win32typing.PyIDataObject, iid: _win32typing.PyIID, /
|
||||
) -> _win32typing.PyIShellItemArray: ...
|
||||
def SHCreateShellItemArrayFromShellItem(
|
||||
si: _win32typing.PyIShellItem, riid: _win32typing.PyIID
|
||||
si: _win32typing.PyIShellItem, riid: _win32typing.PyIID, /
|
||||
) -> _win32typing.PyIShellItemArray: ...
|
||||
def SHBrowseForFolder(
|
||||
hwndOwner: int | None = ...,
|
||||
@@ -36,78 +36,77 @@ def SHBrowseForFolder(
|
||||
flags: int = ...,
|
||||
callback: Incomplete | None = ...,
|
||||
callback_data: Incomplete | None = ...,
|
||||
/,
|
||||
) -> tuple[_win32typing.PyIDL, Incomplete, Incomplete]: ...
|
||||
def SHGetFileInfo(
|
||||
name: _win32typing.PyIDL | str, dwFileAttributes, uFlags, infoAttrs: int = ...
|
||||
name: _win32typing.PyIDL | str, dwFileAttributes, uFlags, infoAttrs: int = ..., /
|
||||
) -> tuple[Incomplete, _win32typing.SHFILEINFO]: ...
|
||||
def SHGetFolderPath(hwndOwner: int, nFolder, handle: int, flags) -> str: ...
|
||||
def SHSetFolderPath(csidl, Path, hToken: int | None = ...) -> None: ...
|
||||
def SHGetFolderLocation(hwndOwner: int, nFolder, hToken: int | None = ..., reserved=...) -> _win32typing.PyIDL: ...
|
||||
def SHGetSpecialFolderPath(hwndOwner: int, nFolder, bCreate: int = ...) -> str: ...
|
||||
def SHGetSpecialFolderLocation(hwndOwner: int, nFolder) -> _win32typing.PyIDL: ...
|
||||
def SHAddToRecentDocs(Flags, data) -> None: ...
|
||||
def SHEmptyRecycleBin(hwnd: int, path: str, flags) -> None: ...
|
||||
def SHQueryRecycleBin(RootPath: str | None = ...) -> tuple[Incomplete, Incomplete]: ...
|
||||
def SHGetFolderPath(hwndOwner: int, nFolder, handle: int, flags, /) -> str: ...
|
||||
def SHSetFolderPath(csidl, Path, hToken: int | None = ..., /) -> None: ...
|
||||
def SHGetFolderLocation(hwndOwner: int, nFolder, hToken: int | None = ..., reserved=..., /) -> _win32typing.PyIDL: ...
|
||||
def SHGetSpecialFolderPath(hwndOwner: int, nFolder, bCreate: int = ..., /) -> str: ...
|
||||
def SHGetSpecialFolderLocation(hwndOwner: int, nFolder, /) -> _win32typing.PyIDL: ...
|
||||
def SHAddToRecentDocs(Flags, data, /) -> None: ...
|
||||
def SHEmptyRecycleBin(hwnd: int, path: str, flags, /) -> None: ...
|
||||
def SHQueryRecycleBin(RootPath: str | None = ..., /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def SHGetDesktopFolder() -> _win32typing.PyIShellFolder: ...
|
||||
def SHUpdateImage(HashItem: str, Index, Flags, ImageIndex) -> None: ...
|
||||
def SHChangeNotify(EventId, Flags, Item1, Item2) -> None: ...
|
||||
def SHChangeNotifyRegister(hwnd: int, sources, events, msg): ...
|
||||
def SHChangeNotifyDeregister(_id) -> None: ...
|
||||
def SHCreateItemFromParsingName(name, ctx: _win32typing.PyIBindCtx, riid: _win32typing.PyIID) -> _win32typing.PyIShellItem: ...
|
||||
def SHUpdateImage(HashItem: str, Index, Flags, ImageIndex, /) -> None: ...
|
||||
def SHChangeNotify(EventId, Flags, Item1, Item2, /) -> None: ...
|
||||
def SHChangeNotifyRegister(hwnd: int, sources, events, msg, /): ...
|
||||
def SHChangeNotifyDeregister(_id, /) -> None: ...
|
||||
def SHCreateItemFromParsingName(name, ctx: _win32typing.PyIBindCtx, riid: _win32typing.PyIID, /) -> _win32typing.PyIShellItem: ...
|
||||
def SHCreateItemFromRelativeName(
|
||||
Parent: _win32typing.PyIShellItem, Name, ctx: _win32typing.PyIBindCtx, riid: _win32typing.PyIID
|
||||
Parent: _win32typing.PyIShellItem, Name, ctx: _win32typing.PyIBindCtx, riid: _win32typing.PyIID, /
|
||||
) -> _win32typing.PyIShellItem: ...
|
||||
def SHCreateItemInKnownFolder(
|
||||
FolderId: _win32typing.PyIID, Flags, Name, riid: _win32typing.PyIID
|
||||
FolderId: _win32typing.PyIID, Flags, Name, riid: _win32typing.PyIID, /
|
||||
) -> _win32typing.PyIShellItem: ...
|
||||
def SHCreateItemWithParent(
|
||||
Parent: _win32typing.PyIDL, sfParent: _win32typing.PyIShellFolder, child: _win32typing.PyIDL, riid: _win32typing.PyIID
|
||||
Parent: _win32typing.PyIDL, sfParent: _win32typing.PyIShellFolder, child: _win32typing.PyIDL, riid: _win32typing.PyIID, /
|
||||
) -> _win32typing.PyIShellItem: ...
|
||||
def SHGetInstanceExplorer() -> _win32typing.PyIUnknown: ...
|
||||
def SHFileOperation(operation: _win32typing.SHFILEOPSTRUCT) -> tuple[Incomplete, Incomplete]: ...
|
||||
def StringAsCIDA(pidl: str) -> tuple[_win32typing.PyIDL, Incomplete]: ...
|
||||
def CIDAAsString(pidl: str) -> str: ...
|
||||
def StringAsPIDL(pidl: str) -> _win32typing.PyIDL: ...
|
||||
def AddressAsPIDL(address) -> _win32typing.PyIDL: ...
|
||||
def PIDLAsString(pidl: _win32typing.PyIDL) -> str: ...
|
||||
def SHGetSettings(mask: int = ...): ...
|
||||
def FILEGROUPDESCRIPTORAsString(descriptors: list[Incomplete], arg) -> str: ...
|
||||
def StringAsFILEGROUPDESCRIPTOR(buf, make_unicode: int = ...) -> list[Incomplete]: ...
|
||||
def SHFileOperation(operation: _win32typing.SHFILEOPSTRUCT, /) -> tuple[Incomplete, Incomplete]: ...
|
||||
def StringAsCIDA(pidl: str, /) -> tuple[_win32typing.PyIDL, Incomplete]: ...
|
||||
def CIDAAsString(pidl: str, /) -> str: ...
|
||||
def StringAsPIDL(pidl: str, /) -> _win32typing.PyIDL: ...
|
||||
def AddressAsPIDL(address, /) -> _win32typing.PyIDL: ...
|
||||
def PIDLAsString(pidl: _win32typing.PyIDL, /) -> str: ...
|
||||
def SHGetSettings(mask: int = ..., /): ...
|
||||
def FILEGROUPDESCRIPTORAsString(descriptors: list[Incomplete], arg, /) -> str: ...
|
||||
def StringAsFILEGROUPDESCRIPTOR(buf, make_unicode: int = ..., /) -> list[Incomplete]: ...
|
||||
def ShellExecuteEx(
|
||||
lpVerb: str,
|
||||
lpFile: str,
|
||||
lpParameters: str,
|
||||
lpDirectory: str,
|
||||
lpIDlist: _win32typing.PyIDL,
|
||||
obClass: str,
|
||||
hkeyClass,
|
||||
dwHotKey,
|
||||
hIcon: int,
|
||||
hMonitor: int,
|
||||
fMask: int = ...,
|
||||
hwnd: int = ...,
|
||||
lpVerb: str = ...,
|
||||
lpFile: str = ...,
|
||||
lpParameters: str = ...,
|
||||
lpDirectory: str = ...,
|
||||
nShow: int = ...,
|
||||
lpIDlist: _win32typing.PyIDL = ...,
|
||||
lpClass: str = ...,
|
||||
hkeyClass=...,
|
||||
dwHotKey=...,
|
||||
hIcon: int = ...,
|
||||
hMonitor: int = ...,
|
||||
): ...
|
||||
def SHGetViewStatePropertyBag(
|
||||
pidl: _win32typing.PyIDL, BagName: str, Flags, riid: _win32typing.PyIID
|
||||
pidl: _win32typing.PyIDL, BagName: str, Flags, riid: _win32typing.PyIID, /
|
||||
) -> _win32typing.PyIPropertyBag: ...
|
||||
def SHILCreateFromPath(Path: str, Flags) -> tuple[_win32typing.PyIDL, Incomplete]: ...
|
||||
def SHILCreateFromPath(Path: str, Flags, /) -> tuple[_win32typing.PyIDL, Incomplete]: ...
|
||||
def SHCreateShellItem(
|
||||
pidlParent: _win32typing.PyIDL, sfParent: _win32typing.PyIShellFolder, Child: _win32typing.PyIDL
|
||||
pidlParent: _win32typing.PyIDL, sfParent: _win32typing.PyIShellFolder, Child: _win32typing.PyIDL, /
|
||||
) -> _win32typing.PyIShellItem: ...
|
||||
def SHOpenFolderAndSelectItems(Folder: _win32typing.PyIDL, Items: tuple[_win32typing.PyIDL, ...], Flags=...) -> None: ...
|
||||
def SHCreateStreamOnFileEx(File, Mode, Attributes, Create, Template: Incomplete | None = ...) -> _win32typing.PyIStream: ...
|
||||
def SetCurrentProcessExplicitAppUserModelID(__AppID: str) -> None: ...
|
||||
def SetCurrentProcessExplicitAppUserModelID(AppID: str, /) -> None: ...
|
||||
def GetCurrentProcessExplicitAppUserModelID() -> str: ...
|
||||
def SHParseDisplayName(
|
||||
Name, Attributes, BindCtx: _win32typing.PyIBindCtx | None = ...
|
||||
) -> tuple[_win32typing.PyIDL, Incomplete]: ...
|
||||
def SHCreateItemFromIDList(*args, **kwargs): ... # incomplete
|
||||
def SHCreateShellItemArrayFromIDLists(*args, **kwargs): ... # incomplete
|
||||
def SHGetIDListFromObject(*args, **kwargs): ... # incomplete
|
||||
def SHGetNameFromIDList(*args, **kwargs): ... # incomplete
|
||||
def SHGetPathFromIDList(*args, **kwargs): ... # incomplete
|
||||
def SHGetPathFromIDListW(*args, **kwargs): ... # incomplete
|
||||
def SHParseDisplayName(Name, Attributes, BindCtx: _win32typing.PyIBindCtx | None = ...) -> tuple[list[bytes], int]: ...
|
||||
def SHCreateItemFromIDList(*args): ... # incomplete
|
||||
def SHCreateShellItemArrayFromIDLists(*args): ... # incomplete
|
||||
def SHGetIDListFromObject(*args): ... # incomplete
|
||||
def SHGetNameFromIDList(*args): ... # incomplete
|
||||
def SHGetPathFromIDList(*args): ... # incomplete
|
||||
def SHGetPathFromIDListW(*args): ... # incomplete
|
||||
|
||||
BHID_AssociationArray: _win32typing.PyIID
|
||||
BHID_DataObject: _win32typing.PyIID
|
||||
@@ -433,4 +432,4 @@ VID_ThumbStrip: _win32typing.PyIID
|
||||
VID_Thumbnails: _win32typing.PyIID
|
||||
VID_Tile: _win32typing.PyIID
|
||||
|
||||
def SHGetKnownFolderPath(*args, **kwargs): ... # incomplete
|
||||
def SHGetKnownFolderPath(*args): ... # incomplete
|
||||
|
||||
Reference in New Issue
Block a user