Guardian Procedure Calls Reference Manual

FILE_COMPLETE_GETINFO_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Summary
The FILE_COMPLETE_GETINFO_ procedure provides information about the set of files that are
currently enabled for completion and thus can be completed by the FILE_COMPLETE_ procedure.
These files were enabled for completion by one or more previous calls to the FILE_COMPLETE_SET_
procedure. The information returned includes a list that can contain both Guardian files and Open
System Services (OSS) files.
Syntax for C Programmers
#include <cextdecs(FILE_COMPLETE_GETINFO_)>
short FILE_COMPLETE_GETINFO_ ( short *info-list
,short maxnum-info-elements
,[ short *num-info-elements ] );
Syntax for TAL Programmers
error := FILE_COMPLETE_GETINFO_ ( info-list ! o
,maxnum-info-elements ! i
,[ num-info-elements ] ); ! o
Parameters
info-list
output
INT .EXT:ref:*(ZSYS^DDL^COMPLETE^ELEMENT^DEF)
returns an array of COMPLETE^ELEMENT structures, each structure describing one Guardian
file or OSS file. The array represents the set of files that were enabled for completion by previous
calls to the FILE_COMPLETE_SET_ procedure. This array is compatible for passing directly to
the FILE_COMPLETE_ or FILE_COMPLETE_ SET_ procedure. For the definitions of the fields of
the COMPLETE^ELEMENT structure, see Structure Definitions for COMPLETE^ELEMENT
(page 376).
maxnum-info-elements
input
INT
specifies the maximum number of COMPLETE^ELEMENT structures that can be returned in the
info-list parameter.
FILE_COMPLETE_GETINFO_ Procedure 373