Share via


IEGetWriteableHKCU function

Returns a handle to a write accessible location under HKEY_CURRENT_USER.

Syntax

HRESULT IEGetWriteableHKCU(
  _In_ HKEY *phKey
);

Parameters

  • phKey [in]
    A pointer to a variable of type HKEY that receives a handle to the opened key. When no longer required, call the RegCloseKey function to close it. If an error occurs, the pointer is not modified.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Product

Internet Explorer 7

Header

Iepmapi.h

Library

Iepmapi.lib

DLL

Ieframe.dll