mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-29 15:16:54 +08:00
Add missing types to pywin32.win32api (#9920)
Co-authored-by: Francesc Elies <francesc.elies@mbbm-ast.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -11,6 +11,20 @@ class _MonitorInfo(TypedDict):
|
||||
Flags: int
|
||||
Device: str
|
||||
|
||||
class _FileVersionInfo(TypedDict):
|
||||
Signature: int
|
||||
StrucVersion: int
|
||||
FileVersionMS: int
|
||||
FileVersionLS: int
|
||||
ProductVersionMS: int
|
||||
ProductVersionLS: int
|
||||
FileFlagsMask: int
|
||||
FileFlags: int
|
||||
FileOS: int
|
||||
FileType: int
|
||||
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): ...
|
||||
@@ -91,7 +105,7 @@ def GetDomainName() -> str: ...
|
||||
def GetEnvironmentVariable(variable): ...
|
||||
def GetEnvironmentVariableW(Name) -> str: ...
|
||||
def GetFileAttributes(pathName: str): ...
|
||||
def GetFileVersionInfo(Filename: str, SubBlock: str) -> None: ...
|
||||
def GetFileVersionInfo(__Filename: str, __SubBlock: str) -> _FileVersionInfo: ...
|
||||
def GetFocus(): ...
|
||||
def GetFullPathName(fileName: str) -> str: ...
|
||||
def GetHandleInformation(__Object: int): ...
|
||||
@@ -249,10 +263,10 @@ 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): ...
|
||||
def LOBYTE(val): ...
|
||||
def HIWORD(val): ...
|
||||
def LOWORD(val): ...
|
||||
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): ...
|
||||
|
||||
Reference in New Issue
Block a user