RPCBParamGet Function

Examples

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

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].

See RPC Limits for information about the size of parameters and results that can be passed to and returned from the TRPCBroker component.