Share via


NKRegCloseKey (Windows Embedded CE 6.0)

1/5/2010

This function releases the handle of the specified key.

Syntax

LONG NKRegCloseKey(
  HKEY hKey
);

Parameters

  • hKey
    [in] Handle to the open key to close.

Return Value

ERROR_SUCCESS indicates success.

A nonzero error code defined in Winerror.h indicates failure.

Remarks

This function is only available for use by the OAL.

Requirements

Header pkfuncs.h
Library Nkstub.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Other OAL Functions
NKRegCreateKeyEx
NKRegOpenKeyEx
NKRegQueryValueEx
NKRegSetValueEx