SetRootKey

This function specify the root registry key to use.

SetRootKey (RootKey As String) As Boolean

Parameters

RootKey

[in] Name of the root key to use. Must be one of the following strings:

"HKEY_CLASSES_ROOT"

"HKEY_CURRENT_CONFIG"

"HKEY_CURRENT_USER"

"HKEY_LOCAL_MACHINE"

"HKEY_USERS"

"HKEY_PERFORMANCE_DATA": Only Windows NT/2000/XP

"HKEY_PERFORMANCE_TEXT": Only Windows XP

"HKEY_PERFORMANCE_NLSTEXT": Only Windows XP

"HKEY_DYN_DATA": Only Windows 95/98/Me

Return Value

TRUE: success
FALSE: failed 

 

Return to aaxRegistry reference