Share via


IConman::SetRegistryRoot (Windows CE 5.0)

Send Feedback

This method sets the registry root on the target machine.

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 Values

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

If the method succeeds, it returns S_OK.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: conman.h.
Link Library: none.

See Also

IConman

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.