Partager via


NKRegCloseKey (Windows CE 5.0)

Send Feedback

This function releases the handle of the specified key.

LONG NKRegCloseKey(HKEYhKey);

Parameters

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

Return Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Pkfuncs.h.
Link Library: Coredll.lib.

See Also

NKRegCreateKeyEx | NKRegOpenKeyEx | NKRegQueryValueEx | NKRegSetValueEx

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.