IDocHostUIHandler::GetOptionKeyPathIDocHostUIHandler::GetOptionKeyPath*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IDocHostUIHandler::GetHostInfo
*Next Topic: IDocHostUIHandler::HideUI

IDocHostUIHandler::GetOptionKeyPath

HRESULT GetOptionKeyPath( 
    LPOLESTR *pchKey,
    DWORD dwReserved
);

Returns the registry key under which IE4/MSHTML stores user preferences.

pchKey
Address of an LPOLESTR that receives the registry subkey string where the host stores its default options. This subkey will be under the HKEY_CURRENT_USER key. The implementation must allocate this memory using CoTaskMemAlloc. The calling application is responsible for freeing this memory using CoTaskMemFree. Even if the method fails, this parameter should be set to NULL.
dwReserved
Reserved for future use. Not currently used.

If pchKey is null on return from this function, then IE4/MSHTML uses the default location for storing options in the registry.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.