NKRegCloseKey (Compact 2013)

10/16/2014

This function releases the handle of the specified key.


LONG NKRegCloseKey(
  HKEY hKey
);

hKey

[in] Handle to the open key to close.

The following table shows the possible return values.

Value

Description

ERROR_SUCCESS

Success.

ERROR_NOT_READY

Registry is not ready.

The function can return other standard error codes defined in Winerror.h, as appropriate.

This function is only available for use by the OAL. The pfnRegFlushKey member of NKGLOBAL points to this function.

Header

pkfuncs.h

Library

coredll.lib

Show: