Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Reverses or reapplies changes that have taken place in a markup container.
Syntax
HRESULT retVal = object.ExecChange(pbRecord, fForward);
Parameters
pbRecord [in]
Type: BYTEA pointer to a buffer that specifies a change record.
fForward [in]
Type: BOOLA BOOL value that specifies the direction in which to execute the record. Use TRUE to reapply the change; use FALSE to reverse the change.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This method gets the data to undo or redo changes in a markup container from the change record stored at pbRecord. Change records keep track of the changes that have occurred in a markup container. They typically come from the IHTMLChangeLog::GetNextChange method.
The change log must support the kind of change information requested by fForward. For example, to reverse a change (fForward = FALSE), the change log must have been created with the fBackward parameter of the IMarkupContainer2::CreateChangeLog method set to TRUE.
See also
Reference