Share via


EwfMgrCheckpoint

3/21/2011

This function adds a checkpoint overlay level on the specified Enhanced Write Filter (EWF)-protected volume.

Syntax

BOOL EwfMgrCheckpoint(
  HANDLE hDevice,
  OPTIONAL LPCWSTR lpDescription
);

Parameters

  • hDevice
    [in] Handle to the EWF-protected volume.
  • lpDescription
    [in] Long pointer to an optional description to associate with the new overlay level. Can be up to EWF_MAX_LEVEL_NAME_LENGTH characters. If the length is equal to EWF_MAX_LEVEL_NAME_LENGTH, no null terminator is stored. This parameter is optional and can be set to NULL.

Return Value

If the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE. Call GetLastError for extended error information.

Remarks

The checkpoint is set on the next restart.

Warning

This function is supported on disk overlays only. The current level must be less than MaxLevels as returned by EwfMgrGetProtectedVolumeConfig. Disk mode is not supported in Windows Embedded Standard 7.

Example

The DoEwfCheckPoint function included in EWF API Code Sample (Sample.cpp) shows you how to use the EwfMgrCheckpoint function.

Requirements

OS Versions: Standard 7

Header: Ewfapi.h

Link Library: Ewfapi.lib

See Also

Reference

EwfMgrGetProtectedVolumeConfig
EwfMgrRestore
EwfMgrSetLevel

Concepts

EWF API Functions