Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual—522629-013
4-39
DEFINERESTOREWORK[2] Procedures
DEFINERESTOREWORK[2] Procedures
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Related Programming Manual
Summary
DEFINERESTOREWORK restores the working set from the background set. The
working set is the current set of attributes and their values. A background set is a
scratchpad work area used when creating DEFINEs. DEFINERESTOREWORK2
allows a second background working set, saved by DEFINESAVEWORK2, to be
restored.
Restoring a background set to a working set does not change the content of the
background set.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
error returned value
INT
indicates the outcome of the call:
0 Success
2052 Unable to obtain file-system buffer space
2053 Unable to obtain physical memory
For other error values associated with DEFINEs, refer to the
Guardian Procedure
Errors and Messages Manual.
#include <cextdecs(DEFINERESTOREWORK)>
short DEFINERESTOREWORK ();
#include <cextdecs(DEFINERESTOREWORK2)>
short DEFINERESTOREWORK2 ();
error := DEFINERESTOREWORK[2];