Share via


EwfMgrOpenProtected (Standard 8)

7/8/2014

Review the use, syntax, parameters, and return values of the EwfMgrOpenProtected function of the EWF API in Windows Embedded 8 Standard (Standard 8).

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

Returns the HANDLE to the device if successful; otherwise, returns 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

Header

ewfapi.h

Library

ewfapi.lib

See Also

Reference

EwfMgrClose

Concepts

EWF API Functions
EWF API Code Sample