#include <registry.h>
Inheritance diagram for ClassRegistryEntry:
Public Member Functions | |
BOOL | InitFromCLSID (const CLSID &ClassID) |
Initializes this RegistryEntry so it represents an entry for the given CLSID. Allows us to retrieve values from the CLSID's subkeys. | |
Static Private Attributes | |
static const String_8 | s_CLSIDString = TEXT("CLSID\\") |
Definition at line 306 of file registry.h.
|
Initializes this RegistryEntry so it represents an entry for the given CLSID. Allows us to retrieve values from the CLSID's subkeys.
Definition at line 1479 of file registry.cpp. 01480 { 01481 BOOL Ok = TRUE; // return this 01482 01483 String_64 ClassIDString; 01484 Ok = ConvertCLSIDToString(ClassID, &ClassIDString); 01485 01486 if (Ok) 01487 { 01488 String_64 KeyString = s_CLSIDString; 01489 KeyString += ClassIDString; 01490 m_hKey = OpenRegKey(HKEY_CLASSES_ROOT, KeyString); 01491 Ok = (m_hKey != NULL); 01492 } 01493 01494 return Ok; 01495 }
|
|
Definition at line 312 of file registry.h. |