pywin32: Fix PyNETRESOURCE descriptor members wrongly marked as readonly (#10574)

This commit is contained in:
Avasam
2023-08-13 18:36:45 -04:00
committed by GitHub
parent 3a376e7eaa
commit d82a8325fa
2 changed files with 11 additions and 19 deletions

View File

@@ -12,7 +12,7 @@ def WNetAddConnection2(
Flags: int = ...,
) -> None: ...
def WNetAddConnection3(
HwndParent: int,
HwndParent: int | _win32typing.PyHANDLE,
NetResource: _win32typing.PyNETRESOURCE,
Password: Incomplete | None = ...,
UserName: Incomplete | None = ...,
@@ -20,8 +20,8 @@ def WNetAddConnection3(
) -> None: ...
def WNetCancelConnection2(name: str, flags, force) -> None: ...
def WNetOpenEnum(scope, _type, usage, resource: _win32typing.PyNETRESOURCE) -> int: ...
def WNetCloseEnum(handle: int) -> None: ...
def WNetEnumResource(handle: int, maxExtries: int = ...) -> list[_win32typing.PyNETRESOURCE]: ...
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]: ...