EwfMgrGetProtectedVolumeConfig
5/10/2007
This function gets configuration information for an Enhanced Write Filter (EWF)-protected volume.
Syntax
PEWF_VOLUME_CONFIG EwfMgrGetProtectedVolumeConfig(
HANDLE hDevice
);
Parameters
hDevice
[in] Handle to the EWF-protected volume.Return Values
Return Value
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.
Example
The following routine(s), which are included in the EWF API Code Sample (Sample.cpp), demonstrate how to use this function:
DumpEwfProtectedVolumes
Requirements
OS Versions: Windows XP Embedded.
Header: Ewfapi.h.
Link Library: Ewfapi.dll, Ewfapi.lib.