Use PEGetNthParameterField to retrieve information about one of the parameter fields in the specified report. For new development, see Remarks below. This function returns the name of the field, the data type, and information about the value set for the field. The name of the parameter field is returned as a string handle. This function is typically used as one of a series of functions (PEGetNParameterFields, (called once); PEGetNthParameterField (called as many times as needed to identify the correct parameter field); and PESetNthParameterField, (called once when the correct parameter field is identified). The series can be used in a Custom
BOOL CRPE_API PEGetNthParameterField (
short printJob,
short parameterN,
PEParameterFieldInfo FAR *parameterInfo );
Specifies the print job that contains the parameter field about which you want to retrieve information. | |
Specifies the number of the parameter field about which you want to retrieve information. | |
Specifies a pointer to PEParameterFieldInfo, which is used to store the information you retrieve. See Remarks below. |
Declare Function PEGetNthParameterField Lib "crpe32.dll" (ByVal printJob As Integer, ByVal varN As Integer, varInfo As PEParameterFieldInfo) As Integer
function PEGetNthParameterField (
printJob: Word;
varN: Smallint;
var varInfo: PEParameterFieldInfo
): Bool stdcall;
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |