Share via


EwfMgrOpenProtected

5/10/2007

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.

Example

Requirements

OS Versions: Windows XP Embedded.

Header: Ewfapi.h.

Link Library: Ewfapi.dll, Ewfapi.lib.

See Also

Reference

EwfMgrClose

Concepts

EWF API Functions
EWF API Code Sample