Guardian Procedure Calls Reference Manual

The loadfile information array contains these entries for each loadfile reported:
DescriptionTAL Value
Representation
Address of text headerINT(64)
Creation volume sequence number of loadfileINT(64)
Logical device number of loadfileINT(32)
Loadfile type indicator (see Loadfile Types (page 1018))INT(32)
Result value for TAL programs:
For TAL programs, the result value is an instance of ZSYS^PINF^LOADFILE^INFO^DEF, in
which the final member (Z^PARTIAL^INFO) is an array occurring the number of times specified
in the first member (Z^INFONUMRET). These structures are declared in ZSYSTAL section
PROCESS^GETINFOLIST^RETURN.
Result value for C programs:
For C programs, the result value is an instance of zsys_pinf_loadfile_info_def, in
which the final member (z_partial_info, of type zsys_pinf_loadfile_partial_def_ is
an array occurring the number of times specified in the first member (z_infonumret). These
structures are declared in ZSYSC section process_getinfolist_return.
This attribute cannot be specified with a srch-option of 1 or 2.
Additional information about individual loadfiles can be obtained by using attribute 124.
122: dynamically loaded library information
This attribute returns information about SRLs and DLLs that were loaded dynamically into the
process. This attribute returns a subset of the information returned by attribute 121, in the
same format and using the same interation paradigm. The ret-attr-list must specify the
attribute code followed by an eight-byte context value as auxiliary data. The attribute code
must include the length indication, so its value is 16506 or (4<<12)+122.
This attribute cannot be specified with a srch-option of 1 or 2.
123: implicit library information
On a TNS/E system, this attribute returns information about the implicit DLLs. The information
is in the same format and use the same iteration paradigm as attribute index 121 (but because
the number of implict DLLs is limited, iteration is seldom necessary). The _ret-attr-list_
must specify the attribute code followed by an eight-byte context value as auxiliary data. The
attribute code must include the length indication, so its value is 16507 or (4<<12)+123.
On a TNS/R system, this attribute returns ten bytes of zero, so the number of loadfiles reported
and the context are zero. On a TNS/R system, this attribute returns ten bytes of zero, so the
number of loadfiles reported and the context are zero.
The attribute cannot be specified with a _srch-option_of 1 or 2.
124: loadfile detail
This attribute returns information about a specified loadfile. This attribute requires auxiliary
data: ret-attr-list must specify the attribute code followed by an eight-byte context value
as auxiliary data. The attribute code must include the length indication, so its value is 16508
or (4<<12)+124 (right-justified in 64 bits). To retrieve information about any loadfile in the
target process, specify an address within the loadfile's text segment as auxiliary data (see
Auxiliary Data (page 1018)).
This attribute can be used to retrieve information about individual loadfiles reported by attributes
121 and 122, by specifying the reported text header address as auxiliary data.
1038 Guardian Procedure Calls (P)