Difference between revisions of "RPC HELP DLL ExportFN RPCBPropSet"
From VistApedia
(Created page with " RPC Broker Help Home DLL Interface Home <h2>RPCBPropSet Function</h2> [[RPC_HELP_DLL_ExportFN_RPCBPropSet_Example|E...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
<h2>RPCBPropSet Function</h2> | <h2>RPCBPropSet Function</h2> | ||
[[RPC_HELP_DLL_ExportFN_RPCBPropSet_Example|Example]] | [[RPC_HELP_DLL_ExportFN_RPCBPropSet_Example|Example]] | ||
+ | |||
Sets a [[RPC_HELP_TRPCBroker|TRPCBroker]] property to some value. | Sets a [[RPC_HELP_TRPCBroker|TRPCBroker]] property to some value. | ||
Line 13: | Line 14: | ||
<h3>Parameter Description</h3> | <h3>Parameter Description</h3> | ||
− | * '''RPCBroker''' Handle of the TRPCBroker component. | + | * '''RPCBroker''' Handle of the [[RPC_HELP_TRPCBroker|TRPCBroker]] component. |
− | * '''Prop''' Null-terminated string of the property to set. Not case-sensitive. Valid properties to | + | * '''Prop''' Null-terminated string of the property to set. Not case-sensitive. Valid properties to get are: [[RPC_HELP_TRPCBroker_ClearParameters|ClearParameters]], [[RPC_HELP_TRPCBroker_ClearResults|ClearResults]], [[RPC_HELP_TRPCBroker_Connected|Connected]], [[RPC_HELP_TRPCBroker_DebugMode|DebugMode]], [[RPC_HELP_TRPCBroker_ListenerPort|ListenerPort]], [[RPC_HELP_TRPCBroker_RemoteProcedure|RemoteProcedure]], [[RPC_HELP_TRPCBroker_RPCTimeLimit|RPCTimeLimit]], [[RPC_HELP_TRPCBroker_RPCVersion|RPCVersion]], and [[RPC_HELP_TRPCBroker_Server|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). | * '''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). |
Latest revision as of 15:04, 8 July 2015
RPCBPropSet Function
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 get 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).