RPC HELP DLL ExportFN RPCBParamGet

RPC Broker Help Home

DLL Interface Home RPCBParamGet Function Example

Returns two values in two parameters: the value and the parameter type of a Param item. You can compare the returned parameter type to the following enumerated values: literal, reference and list.

Declarations Delphi -- procedure RPCBParamGet(const RPCBroker: TRPCBroker; ParamIndex: integer; var ParamType: TParamType; var ParamValue: PChar); C -- void (__stdcall *RPCBParamGet) (void *, int, int, char *); C++ -- void RPCBParamGet ( int i, int j, char * s); VB -- Sub RPCBParamGet (ByVal intRPCBHandle As Long, ByVal intParIdx As Integer, ByVal intParTyp As Integer, ByVal intParVal As String) Parameter Description See RPC Limits for information about the size of parameters and results that can be passed to and returned from the TRPCBroker component.
 * RPCBroker Handle of the TRPCBroker component.
 * ParamIndex Integer index of the parameter to get value of.
 * ParamType This variable, after making the RPCBParamGet call, is filled with PType property of a Param[ParamIndex].
 * ParamValue An empty buffer that you must create (allocate memory for) before making this call. This buffer, after making the RPCBParamGet call, is filled with Value of a Param[ParamIndex].