Sdílet prostřednictvím


EwfMgrEnable

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.

  BOOL EwfMgrEnable(
    HANDLE 
  hDevice
  );

Parameters

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

Return Values

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.

This function is supported on both disk and RAM overlays.

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

Requirements

OS Versions: Windows XP Embedded.
Header: Ewfapi.h.
Link Library: Ewfapi.dll, Ewfapi.lib.

Code Example

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

DoEwfEnable

See Also

EWF API Functions | EwfMgrDisable | EWF API Code Sample

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.