Share via


EwfMgrEnable (Standard 7 SP1)

7/8/2014

This function enables a currently disabled overlay on the specified volume. This function creates a new overlay at level 1 and sets the current level to 1.

Syntax

BOOL EwfMgrEnable(
  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 is enabled on the next restart.

The volume must already be configured for EWF protection and in a disabled state.

Example

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

Requirements

OS Versions: Standard 7

Header: Ewfapi.h

Link Library: Ewfapi.lib

See Also

Reference

EwfMgrDisable

Concepts

EWF API Functions