ACE
6.1.0
|
A factory for predefined registries, which exist by default on Win32 platforms. More...
#include <Registry.h>
Static Public Member Functions | |
static int | connect (ACE_Registry::Naming_Context &naming_context, HKEY predefined=HKEY_LOCAL_MACHINE, const ACE_TCHAR *machine_name=0) |
Static Private Member Functions | |
static int | is_local_host (const ACE_TCHAR *machine_name) |
Check if machine_name is the local host. |
A factory for predefined registries, which exist by default on Win32 platforms.
This factory can connect to both local and remote predefined registries.
int ACE_Predefined_Naming_Contexts::connect | ( | ACE_Registry::Naming_Context & | naming_context, |
HKEY | predefined = HKEY_LOCAL_MACHINE , |
||
const ACE_TCHAR * | machine_name = 0 |
||
) | [static] |
Factory method for connecting to predefined registries. This method works for both remote and local machines. However, for remote machines, HKEY_CLASSES_ROOT and HKEY_CURRENT_USER types are not allowed
int ACE_Predefined_Naming_Contexts::is_local_host | ( | const ACE_TCHAR * | machine_name | ) | [static, private] |
Check if machine_name is the local host.