Share via


EwfMgrActivateHORM (Standard 7 SP1)

7/8/2014

This function enables HORM support at runtime.

Syntax

BOOL EwfMgrActivateHORM(
  HANDLE hDevice
);

Parameters

  • hDevice
    [in] Handle to the EWF-protected overlay store volume.

Return Value

If HORM support is enabled, the return value is TRUE. If the operation fails, FALSE is returned. The operation could fail if the image does not support HORM (The Enable Hibernate-Once-Resume-Many Mode (HORM) option was not selected in the Enhanced Write Filter Volume Configuration settings in Image Configuration Editor).

Notes

Important

HORM has a requirement that all volumes must either be protected with EWF or be in unmounted state when the Hibernate Once occurs. This is to prevent state synchronization problems. Each Resume from hibernation expects the entire system to be in exactly the same state as when the Hibernate Once occurred. To enable EWF, see EwfMgrEnable.

Requirements

OS Versions: Standard 7

Header: Ewfapi.h

Link Library: Ewfapi.lib

See Also

Reference

EwfMgrDeactivateHORM
EwfMgrIsHORMActivated

Concepts

EWF API Functions