Difference between revisions of "RPC HELP DLL ExportFN RPCBCall"

From VistApedia
Jump to: navigation, search
Line 17: Line 17:
 
CallResult An empty character buffer that the calling application must create (allocate memory for) before making this call. This buffer is filled with the result of the call.
 
CallResult An empty character buffer that the calling application must create (allocate memory for) before making this call. This buffer is filled with the result of the call.
 
 
NOTE: See [[RPC_HELP_RPC_Limits|RPC Limits]] for information about the size of parameters and results that can be passed to and returned from the [[RPC_HELP_TRPCBroker|TRPCBroker]] component.
+
NOTE: See [[RPC_HELP_Executing_RPC_RPC_Limits|RPC Limits]] for information about the size of parameters and results that can be passed to and returned from the [[RPC_HELP_TRPCBroker|TRPCBroker]] component.

Revision as of 14:01, 7 July 2015

RPC Broker Help Home

DLL Interface Home

RPCBCall Function

Example

Executes a remote procedure call, and fills the passed buffer with the data resulting from the call. This is equivalent to the TRPCBroker component's Call method.

Declarations

   Delphi -- procedure RPCBCall(const RPCBroker: TRPCBroker; CallResult: PChar);
   C -- char *(__stdcall *RPCBCall) (void *, char *);
   C++ -- char * RPCBCall( char * s);
   VB -- Sub RPCBCall (ByVal intRPCBHandle As Long, ByVal strCallResult As String)

Parameter Description

RPCBroker Handle of the Broker component that contains the name of the remote procedure and all of the required parameters. CallResult An empty character buffer that the calling application must create (allocate memory for) before making this call. This buffer is filled with the result of the call.

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