mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 02:42:29 +08:00
Add missing defaults to third-party stubs (#14617)
This commit is contained in:
@@ -24,7 +24,7 @@ def GetNumberOfConsoleFonts(): ...
|
||||
def SetConsoleTitle(ConsoleTitle: str) -> None: ...
|
||||
def GetConsoleTitle(): ...
|
||||
@overload
|
||||
def GenerateConsoleCtrlEvent(CtrlEvent: Literal[1], ProcessGroupId: Literal[0] = ...) -> NoReturn: ...
|
||||
def GenerateConsoleCtrlEvent(CtrlEvent: Literal[1], ProcessGroupId: Literal[0] = 0) -> NoReturn: ...
|
||||
@overload
|
||||
def GenerateConsoleCtrlEvent(CtrlEvent: Literal[0, 1], ProcessGroupId: int) -> None: ...
|
||||
def GetStdHandle(StdHandle: int) -> _win32typing.PyConsoleScreenBuffer: ...
|
||||
|
||||
@@ -98,7 +98,7 @@ def SHCreateShellItem(
|
||||
) -> _win32typing.PyIShellItem: ...
|
||||
def SHOpenFolderAndSelectItems(Folder: _win32typing.PyIDL, Items: tuple[_win32typing.PyIDL, ...], Flags=...) -> None: ...
|
||||
def SHCreateStreamOnFileEx(
|
||||
File: str, Mode: int, Attributes: int, Create: bool, Template: None = ...
|
||||
File: str, Mode: int, Attributes: int, Create: bool, Template: None = None
|
||||
) -> _win32typing.PyIStream: ...
|
||||
def SetCurrentProcessExplicitAppUserModelID(AppID: str, /) -> None: ...
|
||||
def GetCurrentProcessExplicitAppUserModelID() -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user