| 195 strcmp(osinfo.szCSDVersion, "") >= 0) |
195 strcmp(osinfo.szCSDVersion, "") >= 0) |
| 196 ) { |
196 ) { |
| 197 DWORD regval = 1; |
197 DWORD regval = 1; |
| 198 DWORD reglen = sizeof(DWORD); |
198 DWORD reglen = sizeof(DWORD); |
| 199 |
199 |
| 200 printf("Using Win2k (SP3+) / WinXP (No SP).. Checking SafeDllSearch\n"); |
200 printf("Using Win2k (SP3+) / WinXP (No SP)... Checking SafeDllSearch\n"); |
| 201 read_reg_string(HKEY_LOCAL_MACHINE, |
201 read_reg_string(HKEY_LOCAL_MACHINE, |
| 202 "System\\CurrentControlSet\\Control\\Session Manager", |
202 "System\\CurrentControlSet\\Control\\Session Manager", |
| 203 "SafeDllSearchMode", |
203 "SafeDllSearchMode", |
| 204 (LPBYTE) ®val, |
204 (LPBYTE) ®val, |
| 205 ®len); |
205 ®len); |