File: win32event.pyi

package info (click to toggle)
typeshed 0.0~git20221107.4f381af-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,036 kB
  • sloc: python: 3,216; sh: 62; makefile: 13
file content (53 lines) | stat: -rw-r--r-- 2,214 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import _win32typing
from win32.lib.pywintypes import error as error

def CancelWaitableTimer() -> None: ...
def CreateEvent(EventAttributes: _win32typing.PySECURITY_ATTRIBUTES, bManualReset, bInitialState, Name: str) -> int: ...
def CreateMutex(MutexAttributes: _win32typing.PySECURITY_ATTRIBUTES, InitialOwner, Name: str) -> int: ...
def CreateSemaphore(
    SemaphoreAttributes: _win32typing.PySECURITY_ATTRIBUTES, InitialCount, MaximumCount, SemaphoreName
) -> int: ...
def CreateWaitableTimer(TimerAttributes: _win32typing.PySECURITY_ATTRIBUTES, ManualReset, TimerName) -> int: ...
def MsgWaitForMultipleObjects(handlelist: list[int], bWaitAll, milliseconds, wakeMask): ...
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): ...
def WaitForSingleObjectEx(hHandle: int, milliseconds, bAlertable): ...
def WaitForInputIdle(hProcess: int, milliseconds): ...
def SignalObjectAndWait(*args, **kwargs): ...  # incomplete

EVENT_ALL_ACCESS: int
EVENT_MODIFY_STATE: int
INFINITE: int
MAXIMUM_WAIT_OBJECTS: int
QS_ALLEVENTS: int
QS_ALLINPUT: int
QS_HOTKEY: int
QS_INPUT: int
QS_KEY: int
QS_MOUSE: int
QS_MOUSEBUTTON: int
QS_MOUSEMOVE: int
QS_PAINT: int
QS_POSTMESSAGE: int
QS_SENDMESSAGE: int
QS_TIMER: int
SYNCHRONIZE: int
WAIT_ABANDONED: int
WAIT_ABANDONED_0: int
WAIT_FAILED: int
WAIT_IO_COMPLETION: int
WAIT_OBJECT_0: int
WAIT_TIMEOUT: int
UNICODE: int