다음을 통해 공유


RegistryOperation (Windows CE 5.0)

Send Feedback

This function performs a series of registry operations.

BOOL RegistryOperation(DWORDdwOp);

Parameters

  • dwOp
    [in] Registry operation to perform. The following table shows the possible values for dwOp.
    Value Description
    REGOP_START_FLUSH Start of a flush operation. This value indicates that the file system is about to flush the registry and allows the OEM file system to preallocate any buffer information.
    REGOP_END_FLUSH End of a flush operation. This allows the OEM file system to perform a cleanup operation.
    REGOP_START_RESTORE Start of a restore operation.
    REGOP_END_RESTORE End of a restore operation. This allows the OEM file system to perform a cleanup operation.
    REGOP_DO_IMPORT Specifies that the registry is running and registry functions can be called. This allows the OEM file system to begin importing registry values.
    REGOP_START_WRITE Start of a WriteGenericData operation sequence.
    REGOP_END_WRITE End of a WriteGenericData operation sequence.
    REGOP_START_READ Start of a ReadGenericData operation sequence.
    REGOP_END_READ End of a ReadGenericData operation sequence

Return Values

Nonzero values indicate success. A value of zero indicates failure.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Pwinreg.h.
Link Library: Coredll.lib

See Also

Registry Functions | Persisting Data with the RAM-Based Registry

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.