共用方式為


EwfMgrOpenProtected

This function opens an Enhanced Write Filter (EWF)-protected volume.

  HANDLE EwfMgrOpenProtected(
    LPCWSTR 
  lpVolume
  );

Parameters

  • lpVolume
    [in] Long pointer to the volume to open.

Return Values

If the function succeeds, the return value is the HANDLE to the device. If the function fails, the return value is INVALID_HANDLE_VALUE. Call GetLastError for extended error information.

Remarks

Use the EwfMgrClose function to close an object handle returned by EwfMgrOpenProtected. The volume name can be expressed by any valid means, for example, it can be one of the volume names that are returned by EwfMgrGetProtectedVolumeList.

Requirements

OS Versions: Windows XP Embedded.
Header: Ewfapi.h.
Link Library: Ewfapi.dll, Ewfapi.lib.

See Also

EWF API Functions | EwfMgrClose | EWF API Code Sample

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.