Share via


EwfMgrGetOverlayStoreConfig (Standard 7 SP1)

7/8/2014

This function gets configuration information for the Enhanced Write Filter (EWF) overlay store.

Syntax

PEWF_OVERLAY_STORE_CONFIG EwfMgrGetOverlayStoreConfig(
  HANDLE hDevice
);

Parameters

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

Return Value

If the function succeeds, the return value is a pointer to an EWF_OVERLAY_STORE_CONFIG structure.

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

Remarks

Use the LocalFree function to free the memory that was allocated for EWF_OVERLAY_STORE_CONFIG when it is no longer needed.

The caller must have opened the overlay store volume with the fOpenForAsyncIO parameter of the EwfMgrOpenOverlayStore function set to FALSE.

Example

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

Requirements

OS Versions: Standard 7

Header: Ewfapi.h

Link Library: Ewfapi.lib

See Also

Concepts

EWF API Functions