RPC HELP DLL ExportFN RPCBPropSet

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

RPC Broker Help Home

DLL Interface Home

RPCBPropSet Function

Example Sets a TRPCBroker property to some value.

Declarations

   Delphi -- procedure RPCBPropSet(const RPCBroker: TRPCBroker; Prop,Value: PChar);
   C -- void (__stdcall *RPCBPropSet) (void *, char *, char *);
   C++ -- void RPCBPropSet ( char * s, char * t);
   VB -- Sub RPCBPropSet (ByVal intRPCBHandle As Long, ByVal strProp As String, ByVal strValue As String)

Parameter Description

  • RPCBroker Handle of the TRPCBroker component.
  • Prop Null-terminated string of the property to set. Not case-sensitive. Valid properties to set are: ClearParameters, ClearResults, Connected, DebugMode, ListenerPort, RemoteProcedure, RPCTimeLimit, RPCVersion, and Server.
  • Value Null-terminated string of the value to which the Prop property should be set. This procedure takes care of converting the passed in value to whatever type the property expects. For Boolean properties, pass in 1 (True) or 0 (False).