다음을 통해 공유


ICcConnection::RegistyQueryValue (Windows CE 5.0)

Send Feedback

This method queries for a registry value.

HRESULT RegistryQueryValue(  LONG hKey,  LPCOLESTR lpSubKey,  LPCOLESTR lpValueName,  DWORD dwType,  WCHAR[] lpValue,  LONG* pcbValue);

Parameters

  • hKey
    [in] Base key to search for the value.
  • lpSubKey
    [in] Subkey to search the value.
  • lpValueName
    [in] Value to query.
  • dwType
    [in] Value type to query.
  • lpValue
    [out] Buffer to return value in.
  • pcbValue
    [in, out] Length of value returned.

Return Values

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

If the method succeeds, it returns one of the following:

Value Description
S_OK Indicates the method call was successful.
E_INVALIDARG Indicates invalid arguments.

Requirements

OS Version: Windows 2000, Windows XP Home, Windows XP Pro, Windows Server 2003, and Windows Server 2003 Service Pack 1.
Header: CcConnection.h.
Link Library: none.

See Also

Core Connectivity Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.