Blocks/Unblocks any new undo units from being created.
HRESULT PreventUndoUnits( BOOL bPrevent );
This function must be called once with a value of FALSE for every call made to it with TRUE.