Bruno Jesus 00cpxxx@gmail.com writes:
@@ -1241,8 +1250,9 @@ BOOL WINAPI InternetGetConnectedStateExA(LPDWORD lpdwStatus, LPSTR lpszConnectio dwReserved); if (rc && lpwszConnectionName) {
WideCharToMultiByte(CP_ACP,0,lpwszConnectionName,-1,lpszConnectionName,
dwNameLen, NULL, NULL);
if (WideCharToMultiByte(CP_ACP,0,lpwszConnectionName,-1,lpszConnectionName,
dwNameLen, NULL, NULL) == 0)
*lpszConnectionName = '\0';
That doesn't seem to match what the W function does, and I don't see any tests for that case.