Share via


IConMan::SetRegistryRoot (Compact 2013)

3/26/2014

Deprecated.

This method sets the registry root on the target machine.

In Windows Embedded Compact 2013, CoreCon HLAPI has been deprecated.

Syntax

HRESULT STDMETHODCALLTYPE SetRegistryRoot( 
BSTR in_bstrRegistryRoot
);

Parameters

  • in_bstrRegistryRoot
    The setting for the registry root. This value must be one of the following:

    Setting

    Description

    HKLM

    HKEY_LOCAL_MACHINE root.

    HKCU

    HKEY_CURRENT_USER root.

    HKCR

    HKEY_CLASSES_ROOT root.

    HKU

    HKEY_USERS root.

Return Value

If this method fails, it returns an HRESULT error code.

If the method succeeds, it returns S_OK.

Requirements

Header

conman.h

See Also

Reference

IConMan