RPC HELP DLL ExportFN RPCBParamSet

From VistApedia
Jump to: navigation, search

RPC Broker Help Home

DLL Interface Home

RPCBParamSet Function

Example

Sets one Param item's Value and PType properties, in a single call.

Declarations

   Delphi -- procedure RPCBParamSet(const RPCBroker: TRPCBroker; const ParamIndex: integer; const ParamType: TParamType; const ParamValue: PChar);
   C -- void (__stdcall *RPCBParamSet) (void *, int, int, char *);
   C++ -- void RPCBParamSet ( int i, int j, char * s);
   VB -- Sub RPCBParamSet (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 .
  • ParamType Set to the parameter type for the parameter you are setting. The value should be one of the integer values that are valid as a PType: 0 (literal), 1 (reference) and 2 (list). You can use the enumerated values literal, reference and list, as declared in the C, C++ , or Visual Basic header file.
  • ParamValue Null-terminated string containing the Value to set.

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