EwfMgrCommit (Standard 7 SP1)

7/8/2014

This function commits all current level data in the overlay to the protected volume, creating a new overlay at level 1 and setting the current level to 1.

Syntax

BOOL EwfMgrCommit(
  HANDLE hDevice
);

Parameters

  • hDevice
    [in] Handle to the EWF-protected volume.

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 overlay data is committed on the next restart.

This function is supported on both disk and RAM overlays.

Example

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

Requirements

OS Versions: Standard 7

Header: Ewfapi.h

Link Library: Ewfapi.lib

See Also

Concepts

EWF API Functions