Share via


NKRegFlushKey (Compact 2013)

10/16/2014

This function writes all the attributes of the specified open registry key into the registry.

Syntax

LONG NKRegFlushKey (
  HKEY hKey
);

Parameters

  • hKey
    Handle to the key to flush.

Return Value

The following table shows the possible return values.

Value

Description

ERROR_SUCCESS

Success.

ERROR_NOT_READY

Registry is not ready.

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

Remarks

The pfnRegFlushKey member of NKGLOBAL points to this function.

See Also

Reference

Kernel Functions Available to the OAL
NKRegCloseKey
NKRegCreateKeyExW
NKRegOpenKeyExW
NKRegQueryValueExW
NKRegSetValueExW