Changeset 88 for trunk/src/advapi32/ADVAPI32.CPP
- Timestamp:
- Jun 9, 1999, 11:17:44 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/advapi32/ADVAPI32.CPP
r51 r88 241 241 //****************************************************************************** 242 242 DWORD WIN32API RegOpenKeyA(HKEY arg1, 243 LPCSTR arg2, 243 LPCSTR arg2, 244 244 PHKEY arg3) 245 245 { … … 4502 4502 hKey, 4503 4503 phkResult)); 4504 4504 4505 4505 if (lpszComputerName == NULL) /* local registry ? */ 4506 4506 { 4507 4507 /* @@@PH experimental !!! */ 4508 4508 *phkResult = hKey; 4509 4509 4510 4510 return (NO_ERROR); 4511 4511 } 4512 4512 4513 #if 0 4513 4514 return (ERROR_ACCESS_DENIED); /* signal failure */ 4515 #else 4516 // @@@PH 1999/06/09 always fake this API 4517 *phkResult = hKey; 4518 return (NO_ERROR); 4519 #endif 4514 4520 } 4515 4521 … … 4537 4543 LPSTR pszAscii; 4538 4544 LONG rc; /* returncode from call to ascii version of this function */ 4539 4545 4540 4546 if (lpszComputerName != NULL) 4541 4547 pszAscii = UnicodeToAsciiString((LPWSTR)lpszComputerName); 4542 4548 else 4543 4549 pszAscii = NULL; 4544 4550 4545 4551 dprintf(("ADVAPI32: RegConnectRegistryW(%s,%08xh,%08xh) not implemented.\n", 4546 4552 pszAscii, 4547 4553 hKey, 4548 4554 phkResult)); 4549 4555 4550 4556 rc = RegConnectRegistryA(pszAscii, 4551 4557 hKey,
Note:
See TracChangeset
for help on using the changeset viewer.