Lines Matching refs:dwErr
84 DWORD dwErr = WNetAddConnection2A(&resource, NULL, NULL, 0);
85 if (dwErr == NO_ERROR)
92 LogRel(("Mounting \"%s\" to \"%s\" resulted in dwErr = %ld\n", pszName, szCurDrive, dwErr));
94 switch (dwErr)
105 pszName, szCurDrive, dwErr));
172 DWORD dwErr = WNetCancelConnection2(pszShareName, 0, FALSE /* Force disconnect */);
173 if (dwErr == NO_ERROR)
181 LogRel(("Disconnecting \"%s\" failed, dwErr = %ld\n", pszShareName, dwErr));
183 switch (dwErr)
190 pszShareName, dwErr));