Lines Matching defs:ret
91 DWORD ret;
101 ret = RegOpenKeyEx(HKEY_LOCAL_MACHINE,
106 if (ret == ERROR_SUCCESS) {
108 ret = RegQueryValueEx(hKey, "SearchList", NULL, &ulType,
110 if (ret == ERROR_SUCCESS) {
125 ret = GetAdaptersInfo(adapterP, &size);
126 if (ret == ERROR_BUFFER_OVERFLOW) {
128 ret = GetAdaptersInfo(adapterP, &size);
135 if (ret == ERROR_SUCCESS) {
144 ret = RegOpenKeyEx(HKEY_LOCAL_MACHINE,
149 if (ret == ERROR_SUCCESS) {
156 ret = RegQueryValueEx(hKey, "EnableDhcp", NULL, &ulType,
167 ret = RegQueryValueEx(hKey, "Domain", NULL, &ulType,
169 if (((ret != ERROR_SUCCESS) || (strlen(result) == 0)) &&
172 ret = RegQueryValueEx(hKey, "DhcpDomain", NULL, &ulType,
175 if (ret == ERROR_SUCCESS) {
188 ret = RegQueryValueEx(hKey, "NameServer", NULL, &ulType,
190 if (((ret != ERROR_SUCCESS) || (strlen(result) == 0)) &&
193 ret = RegQueryValueEx(hKey, "DhcpNameServer", NULL, &ulType,
196 if (ret == ERROR_SUCCESS) {