Compartilhar via


EwfMgrGetProtectedVolumeConfig

This function gets configuration information for an Enhanced Write Filter (EWF)-protected volume.

  PEWF_VOLUME_CONFIG EwfMgrGetProtectedVolumeConfig(
    HANDLE 
  hDevice
  );

Parameters

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

Return Values

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

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

Remarks

The caller should use the LocalFree function to free the memory that was allocated for the structure when it is no longer needed.

If EWF is disabled, the CurrentLevel member of the EWF_VOLUME_CONFIG structure is set to 0.

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:

DumpEwfProtectedVolumes

See Also

EWF API Functions | EWF API Code Sample

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.