共用方式為


EwfMgrGetProtectedVolumeList

This function gets a list of all the Enhanced Write Filter (EWF)-protected volume names.

  PEWF_VOLUME_NAME_ENTRY EwfMgrGetProtectedVolumeList(VOID);

Parameters

None.

Return Values

If the function succeeds, the return value is a pointer to an EWF_VOLUME_NAME_ENTRY list.

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

Remarks

The caller should use the EwfMgrVolumeNameListDelete function to free the list when it is no longer needed.

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

DoEwfCommands

See Also

EWF API Functions | EwfMgrVolumeNameListIsEmpty | EwfMgrVolumeNameEntryPop | EwfMgrVolumeNameListDelete | EWF_VOLUME_NAME_ENTRY | EWF API Code Sample

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.