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:
Chris Charabaruk 2019-09-24 17:29:36 -04:00 committed by Liu Hao
parent 775df066e1
commit 1bb9dfc984

View File

@ -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