Export (0) Print
Expand All

EWF API Functions

The following table describes the EWF creation and configuration function.

FunctionDescription
ConfigureEwfThis function creates and configures the EWF volume on the device.

The following table shows the functions that are used to query and configure protected Enhanced Write Filter (EWF) volumes.

FunctionDescription
EwfMgrGetDriveLetterFromVolumeNameThis function gets the drive letter for the specified volume name.
EwfMgrOpenProtectedThis function opens an EWF-protected volume.
EwfMgrCloseThis function closes an EWF-protected volume.
EwfMgrClearCommandThis function clears any pending commands that would have occurred on the next restart.
EwfMgrSetPersistentDataThis function sets the persistent data for an EWF-protected volume.
EwfMgrGetPersistentDataThis function gets the persistent data for an EWF-protected volume.
EwfMgrCheckpointThis function adds a checkpoint overlay level on the specified EWF-protected volume.
EwfMgrRestoreThis function restores one overlay level on the specified EWF-protected volume, discarding all changes in the current level.
EwfMgrDisableThis function disables a currently enabled overlay on the specified EWF-protected volume.
EwfMgrEnableThis function enables a currently disabled overlay on the specified EWF-protected volume.
EwfMgrCommitThis function commits all current level data in the overlay to the EWF-protected volume.
EwfMgrCommitFileThis function commits a single file to the protected volume. The size of the file or its location must not have changed before the file is committed.
EwfMgrCommitAndDisableLiveThis function immediately commits all current level data to the EWF-protected volume and then disabled EWF. This function does not require a reboot.
EwfMgrSetLevelThis function sets the overlay level on an EWF-protected volume.
EwfMgrGetProtectedVolumeConfigThis function gets the configuration information for an EWF-protected volume.

The following table shows the functions that are used to query and configure the EWF overlay store volumes.

FunctionDescription
EwfMgrOpenOverlayStoreThis function gets the name of the overlay store volume, if it exists.
EwfMgrGetOverlayStoreConfigThis function gets the configuration information for the EWF overlay store.
EwfMgrRegisterLowSpaceNotificationThis function registers for a low space notification when the available bytes in the overlay reach a specified threshold.

The following table shows the functions that are used to obtain and work with a list of EWF-protected volumes.

FunctionDescription
EwfMgrGetProtectedVolumeListThis function gets a list of all the EWF-protected volumes.
EwfMgrVolumeNameListIsEmptyThis function determines if the EWF volume name list is empty.
EwfMgrVolumeNameEntryPopThis function removes the current entry from the EWF volume name list and frees the current memory entry.
EwfMgrVolumeNameListDeleteThis function deletes all entries in the EWF volume name list.

The following table shows the functions that are used to manage Hibernate Once Resume Many (HORM).

FunctionDescription
EwfMgrActivateHormEnables HORM support at run-time
EwfMgrDeactivateHormDisables HORM support
EwfMgrIsHormActivatedReturns the current status of HORM

See Also

Enhanced Write Filter API | EWF API Code Sample


© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft