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.
Provides information about the parent undo unit.
Syntax
typedef enum tagUASFLAGS {
UAS_NORMAL = 0,
UAS_BLOCKED = 0x1,
UAS_NOPARENTENABLE = 0x2,
UAS_MASK = 0x3
} UASFLAGS;
Constants
UAS_NORMALValue: 0 The currently open parent undo unit is in a normal, unblocked state and can accept any new units added through calls to its Open or Add methods. |
UAS_BLOCKEDValue: 0x1 The currently open undo unit is blocked and will reject any undo units added through calls to its IOleParentUndoUnit::Open or IOleParentUndoUnit::Add methods. The caller need not create any new units since they will just be rejected. |
UAS_NOPARENTENABLEValue: 0x2 The currently open undo unit will accept new units, but the caller should act like there is no currently open unit. This means that if the new unit being created requires a parent, then this parent does not satisfy that requirement and the undo stack should be cleared. |
UAS_MASKValue: 0x3 When checking for a normal state, use this value to mask unused bits in the pdwState parameter to the IOleParentUndoUnit::GetParentState method for future compatibility. For example: syntax<br>fNormal = ((pdwState & UAS_MASK) == UAS_NORMAL)<br> |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | ocidl.h |