RPC HELP DLL ExportFN RPCBCreateContext

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

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.