Share via


EwfMgrOpenProtected

3/21/2011

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

Syntax

HANDLE EwfMgrOpenProtected(
  LPCWSTR lpVolume
);

Parameters

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

Return Value

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: Standard 7

Header: Ewfapi.h

Link Library: Ewfapi.lib

See Also

Reference

EwfMgrClose

Concepts

EWF API Functions
EWF API Code Sample