RPCBCreateContext Function

Examples

This procedure calls the TRPCBroker component's CreateContext method to set up the environment on the 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 server for which subsequent RPCs are registered.