2.3.11.6 EMR_RESTOREDC Record
The EMR_RESTOREDC record restores the playback device context to the specified state. The playback device context is restored by popping state information off a stack that was created by a prior EMR_SAVEDC record (section 2.3.11).
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type |
|||||||||||||||||||||||||||||||
Size |
|||||||||||||||||||||||||||||||
SavedDC |
Type (4 bytes): An unsigned integer that identifies the record type as EMR_RESTOREDC. This value is 0x00000022.
Size (4 bytes): An unsigned integer that specifies the size of the record in bytes. This value is 0x0000000C.
SavedDC (4 bytes): A signed integer that specifies the saved state to restore relative to the current state. This value MUST be negative; –1 represents the state that was most recently saved on the stack, –2 the one before that, etc.
The stack can contain state information for multiple instances of the playback device context. When a state is restored, all state instances that were saved more recently MUST be discarded.
See section 2.3.11 for more state record types.