Delphi (TrkIntf.pas)
type
|
TEnumQueries = function ( Data: Pointer; Name: String; ID: Cardinal; Description, Statement: String; Temporary: Boolean; Shared: Boolean ): Boolean;
|
|
function TrkEnumQueries( EnumProc: TEnumQueries; Data: Pointer ): Integer;
|
|
Name
|
Description
|
EnumProc
|
The procedure (prototype TEnumQueries) that will be called for each query found.
|
Data
|
Pointer to additional information that can be passed to the EnumProc in the Data parameter.
|
Return Value
Err_OK if successful or an error code indicating the error.
Remarks
TEnumQueries is the prototype of the procedure that is called by TrkEnumQueries. This function should return True to continue enumerating the queries, or False to terminate the enumeration. The Enumeration procedure receives the following parameters, describing each Query:
Name
|
Description
|
Data
|
The Data parameter as passed into the enumerator. Can be nil
|
Name
|
Name of the Query
|
ID
|
Unique ID used to identify the query
|
Description
|
Description of the query
|
Statement
|
String representing the criteria of the query
|
Temporary
|
True if this is a temporary query
|
Shared
|
True if this is a shared query
|
Exported
type
|
TIntEnumQueries = function ( Context, Data: Pointer; pName: PChar; ID: Cardinal; pDescription, pStatement: PChar; Temporary: Boolean; Shared: Boolean ): Boolean; stdcall;
|
|
function TCDTrkEnumQueries( Context, Data: Pointer; EnumProc: TIntEnumQueries ): Integer; stdcall;
|
© 1995-2018 MCN Software