Difference between revisions of "RPC HELP DLL ExportFN RPCBParamGet"

From VistApedia
Jump to: navigation, search
(Created page with " RPC Broker Help Home DLL Interface Home <h2>RPCBParamGet Function</h2> [[RPC_HELP_DLL_ExportFN_RPCBParamGet_Example...")
 
(No difference)

Latest revision as of 14:42, 8 July 2015

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

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