Compartilhar via


RegistryOperation

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Registry Functions

Other Resources