RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvokableClassRegistry.GetIntfInvokeOptions Method (PTypeInfo)

Retrieves any flags that customize the way calls to a registered interface are made.

Pascal
function GetIntfInvokeOptions(const IntfInfo: PTypeInfo): TIntfInvokeOptions; overload;
function GetIntfInvokeOptions(const AGUID: TGUID): TIntfInvokeOptions; overload;
C++
__fastcall TIntfInvokeOptions GetIntfInvokeOptions(const PTypeInfo IntfInfo);
__fastcall TIntfInvokeOptions GetIntfInvokeOptions(const TGUID AGUID);

GetIntfInvokeOptions retrieves any invocation options that have been registered for an interface using the RegisterInvokeOptions method. Invocation options customize the way a registered interface is called, especially the way such calls are marshaled or unmarshaled. Remote interfaced objects (THTTPRIO) call this method to determine what options they need to set on the component that is the value of their Converter property. 

AGUID identifies the registered interface using its GUID. 

IntfInfo identifies the registered interface using its runtime type information (RTTI). You can obtain the type information from an invokable interface by calling the TypeInfo function (delphi) or the __delphirtti operator (C++). 

GetIntfInvokeOptions returns a set of flags that indicate how to make calls to the specified interface. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!