mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-23 09:54:39 +08:00
include/winnetwk: Fix oversighted BOOL in function proto
Using `BOOL` instead of `WINBOOL` for WNetRestoreSingleConnectionW is not only inconsistent with the rest of the header, but also causes some software (such as GNUstep) from being able to build. Signed-off-by: Chris Charabaruk <chris.charabaruk+mingw@outlook.com> Signed-off-by: Liu Hao <lh_mouse@126.com>
This commit is contained in:
parent
775df066e1
commit
1bb9dfc984
@ -121,7 +121,7 @@ extern "C" {
|
||||
DWORD WINAPI WNetConnectionDialog(HWND hwnd,DWORD dwType);
|
||||
DWORD WINAPI WNetDisconnectDialog(HWND hwnd,DWORD dwType);
|
||||
#if (_WIN32_WINNT >= _WIN32_WINNT_LONGHORN)
|
||||
DWORD WINAPI WNetRestoreSingleConnectionW(HWND hwndParent, LPCWSTR lpDevice, BOOL fUseUI);
|
||||
DWORD WINAPI WNetRestoreSingleConnectionW(HWND hwndParent, LPCWSTR lpDevice, WINBOOL fUseUI);
|
||||
#else
|
||||
DWORD WINAPI WNetRestoreConnectionW(HWND hwndParent,LPCWSTR lpDevice);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user