RPC HELP DLL ExportFN RPCBParamGet

From VistApedia
Revision as of 14:42, 8 July 2015 by Kdtop (talk | contribs) (Created page with " RPC Broker Help Home DLL Interface Home <h2>RPCBParamGet Function</h2> [[RPC_HELP_DLL_ExportFN_RPCBParamGet_Example...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.