mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-07 14:00:12 +08:00
Fix return type of win32wnet.WNetOpenEnum (#13890)
This commit is contained in:
@@ -19,7 +19,7 @@ def WNetAddConnection3(
|
||||
Flags: int = ...,
|
||||
) -> None: ...
|
||||
def WNetCancelConnection2(name: str, flags, force, /) -> None: ...
|
||||
def WNetOpenEnum(scope, _type, usage, resource: _win32typing.PyNETRESOURCE, /) -> int: ...
|
||||
def WNetOpenEnum(scope, _type, usage, resource: _win32typing.PyNETRESOURCE, /) -> _win32typing.PyHANDLE: ...
|
||||
def WNetCloseEnum(handle: _win32typing.PyHANDLE, /) -> None: ...
|
||||
def WNetEnumResource(handle: _win32typing.PyHANDLE, maxExtries: int = ..., /) -> list[_win32typing.PyNETRESOURCE]: ...
|
||||
def WNetGetUser(connection: str | None = ..., /) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user