microsoft / win32metadata

Tooling to generate metadata for Win32 APIs in the Windows SDK.
Other
1.34k stars 117 forks source link

`WNetAddConnection2W` and `WNetCancelConnection2W` should accept `NET_USE_CONNECT_FLAGS` enumeration instead of `uint` as `dwFlags` #1872

Closed vitkuz573 closed 7 months ago

vitkuz573 commented 7 months ago

The NET_USE_CONNECT_FLAGS enumeration is already generated, but these methods accept uint instead of it for the dwFlags parameter.

However, https://learn.microsoft.com/en-us/windows/win32/api/winnetwk/nf-winnetwk-wnetcancelconnection2w says that either 0 or CONNECT_UPDATE_PROFILE can be accepted.