RPC HELP DLL ExportFN RPCBPropGet

From VistApedia
Revision as of 14:52, 8 July 2015 by Kdtop (talk | contribs)
Jump to: navigation, search

RPC Broker Help Home

DLL Interface Home

RPCBPropGet Function

Examples

Example

Returns a requested property of a TRPCBroker component.


Declarations Delphi procedure RPCBPropGet(const RPCBroker: TRPCBroker; const Prop: PChar; {var} Value: PChar); C void (__stdcall *RPCBPropGet) (void *, char *, char *); C++ void RPCBPropGet ( char * s, char * t); VB Sub RPCBPropGet (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 get. Not case-sensitive. Valid properties to get are: ClearParameters, ClearResults, Connected, DebugMode, ListenerPort, RemoteProcedure, RPCTimeLimit, RPCVersion, and Server. Value An empty buffer that you must create (allocate memory for) before making this call. After this call, the buffer is filled with value of the property that is in the Prop. This procedure takes care of all the necessary type conversions. Boolean property values are returned as 1 (True) or 0 (False).