RegistryOperation (Compact 2013)

3/26/2014

This function performs a series of registry operations.

Syntax

BOOL RegistryOperation(
  DWORD dwOp
);

Parameters

  • dwOp
    [in] Registry operation to perform. The following table shows possible values.

    Value

    Description

    REGOP_DO_IMPORT

    Specifies that the registry is running and registry functions can be called. This enables the OEM file system to begin importing registry values.

    REGOP_END_FLUSH

    End of a flush operation. This enables the OEM file system to perform a cleanup operation.

    REGOP_END_READ

    End of a ReadGenericData operation sequence.

    REGOP_END_RESTORE

    End of a restore operation. This enables the OEM file system to perform a cleanup operation.

    REGOP_END_WRITE

    End of a WriteGenericData operation sequence.

    REGOP_START_FLUSH

    Start of a flush operation. This value indicates that the file system is about to flush the registry and enables the OEM file system to preallocate any buffer information.

    REGOP_START_READ

    Start of a ReadGenericData operation sequence.

    REGOP_START_RESTORE

    Start of a restore operation.

    REGOP_START_WRITE

    Start of a WriteGenericData operation sequence.

Return Value

A nonzero value indicates success. Zero indicates failure.

Requirements

Header

pwinreg.h

Library

coredll.lib

See Also

Reference

Registry Functions