PEGetNthParameterType

Use PEGetNthParameterType to retrieve the type (or origin) of a specified parameter.

C Syntax
short CRPE_API PEGetNthParameterType (
        short printJob,
        short index );
Parameters

printJob

Specifies the print job from which you want to gather parameter type information.

index

Specifies the index number of the parameter field.

Returns

Returns one of the following PE_PO_XXX Constants or -1 if the index is invalid.

PE_PO_REPORT

Report.

PE_PO_STOREDPROC

Stored Procedure.

PE_PO_QUERY

Query.

VB Syntax
Declare Function PEGetNthParameterType Lib "crpe32.dll" ( _
    ByVal printJob As Integer, ByVal index As Integer ) As Integer
Delphi Syntax
function PEGetNthParameterType (
    printJob: smallint;
    index: smallint
    ): smallint stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com