EwfMgrGetProtectedVolumeConfig (Standard 8)
7/8/2014
Review the use, syntax, parameters, and return values of the EwfMgrGetProtectedVolumeConfig function of the EWF API in Windows Embedded 8 Standard (Standard 8).
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 Value
Returns a pointer to an EWF_VOLUME_CONFIG structure if successful; otherwise, returns 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 DumpEwfProtectedVolumes function in the EWF API Code Sample (Sample.cpp) shows you how to use the EwfMgrGetProtectedVolumeConfig function.
Requirements
Header |
ewfapi.h |
Library |
ewfapi.lib |