From: Chris Charabaruk <[email protected]> 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 <[email protected]> --- mingw-w64-headers/include/winnetwk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-headers/include/winnetwk.h b/mingw-w64-headers/include/winnetwk.h index 2d79ded2..9a3685d2 100644 --- a/mingw-w64-headers/include/winnetwk.h +++ b/mingw-w64-headers/include/winnetwk.h @@ -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 -- 2.23.0.windows.1 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
