Share via


EwfMgrOpenOverlayStore (Standard 7 SP1)

7/8/2014

This function opens an Enhanced Write Filter (EWF) overlay store volume.

Syntax

HANDLE EwfMgrOpenOverlayStore(
  BOOL fOpenForAsyncIO
);

Parameters

  • fOpenForAsyncIO
    [in] If TRUE, an overlapped structure must be passed to EwfMgrRegisterLowSpaceNotification for asynchronous operation; otherwise, the behavior is undefined.

    If FALSE, a value of NULL must be passed to EwfMgrRegisterLowSpaceNotification for synchronous operation; otherwise, the behavior is undefined.

Return Value

If the function succeeds, the return value is a HANDLE to the EWF Overlay store volume.

If the function fails, the return value is INVALID_HANDLE_VALUE. Call GetLastError for extended error information.

Remarks

Use the EwfMgrClose function to close an object handle that was returned by EwfMgrOpenOverlayStore.

Example

The DumpEwfOverlayConfig, DoEwfRegisterLowSpaceSync, and DoEwfRegisterLowSpaceAsync functions included in EWF API Code Sample (Sample.cpp) show you how to use the EwfMgrOpenOverlayStore function.

Requirements

OS Versions: Standard 7

Header: Ewfapi.h

Link Library: Ewfapi.lib

See Also

Reference

EwfMgrClose

Concepts

EWF API Functions