This topic has not yet been rated - Rate this topic

SHRegDuplicateHKey function

Applies to: desktop apps only

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

Minimum supported server

Windows 2000 Server

Header

Shlwapi.h

Library

Shlwapi.lib

DLL

Shlwapi.dll (version 5.0 or later)

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ