EwfMgrGetOverlayStoreConfig

5/10/2007

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 following routine(s), which are included in the EWF API Code Sample (Sample.cpp), demonstrate how to use this function:

DumpEwfOverlayConfig

See Also

Concepts

EWF API Functions
EWF API Code Sample