Share via


EwfMgrCommit (Standard 8)

7/8/2014

Review the use, syntax, parameters, and return values of the EwfMgrCommit function of the EWF API in Windows Embedded 8 Standard (Standard 8).

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

Returns TRUE if successful; otherwise, returns 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 that is included in EWF API Code Sample (Sample.cpp) shows you how to use the EwfMgrCommit function.

Requirements

Header

ewfapi.h

Library

ewfapi.lib

See Also

Concepts

EWF API Functions