RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvContext.SetMethodInfo Method

Initializes the TInvContext for a particular method on the invokeable interface.

Pascal
procedure SetMethodInfo(const MD: TIntfMethEntry);
C++
__fastcall SetMethodInfo(const TIntfMethEntry MD);

SetMethodInfo initializes the invocation context so that it represents a particular method. Objects that implement the IOPConvert interface call this method to initialize an invocation context when implementing their MsgToInvContext method. 

MD is a description of the method, including its type, calling convention, and parameter signature.

Note: SetMethodInfo allocates the memory used internally to store pointers and raw data. An application must call this method before any calls to the AllocData, SetDataPointer, or SetParamPointer methods.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!