Difference between revisions of "RPC HELP DLL ExportFN RPCBCreateContext"

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

Latest revision as of 13:52, 7 July 2015

RPC Broker Help Home

DLL Interface Home

RPCBCreateContext Function

Example

This procedure calls the TRPCBroker component's CreateContext method to set up the environment on the VistA M Server for subsequent RPCs.

Declarations

   Delphi -- function RPCBCreateContext(const RPCBroker: TRPCBroker; const Context: PChar): boolean;
   C -- bool (__stdcall *RPCBCreateContext) (void *, char *);
   C++ -- bool RPCBCreateContext ( char * s);
   VB -- Function RPCBCreateContext (ByVal intRPCBHandle As Long, ByVal strContext As String) As Integer

Return Value

   True/1 if context could be created; false/0 if context could not be created.

Parameter Description

   RPCBroker Handle of the TRPCBroker component.

Context Null-terminated string identifying the option on the VistA M Server for which subsequent RPCs are registered.