Share via


EwfMgrClearCommand

5/10/2007

This function clears any pending commands.

Syntax

BOOL EwfMgrClearCommand(
  HANDLE hDevice
);

Parameters

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

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

This function clears any pending command that would have occurred on the next restart.

This function is supported on both disk and RAM overlays with an associated EWF overlay store tracking its protection settings.

Example

The following routine(s), which are included in the EWF API Code Sample (Sample.cpp), demonstrate how to use this function:

DoEwfClearCommand

Requirements

OS Versions: Windows XP Embedded.

Header: Ewfapi.h.

Link Library: Ewfapi.dll, Ewfapi.lib.

See Also

Concepts

EWF API Functions
EWF API Code Sample