Difference between revisions of "RPC HELP DLL ExportFN RPCBPropSet"
From VistApedia
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. | ||
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).