Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SHRegDuplicateHKey function

Duplicates a registry key's HKEY handle.

Syntax


HKEY SHRegDuplicateHKey(
  _In_  HKEY hkey
);

Parameters

hkey [in]

Type: HKEY

The HKEY handle to be duplicated.

Return value

Type: HKEY

Returns a duplicate of the handle specified in hkey.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlwapi.h

Library

Shlwapi.lib

DLL

Shlwapi.dll (version 5.0 or later)

 

 

Community Additions

Show:
© 2014 Microsoft