%HI_IDispRelease function


Function
The function releases the given interface.
Declaration
%HI_IDispRelease(
   INT in IDispAddr
 ) 

Parameters
IDispAddr IDispatch interface address.

Example
In active picture, there is inserted the ActiveX object of Microsoft Office Spreadsheet 10 type that is named _AX_SPR. The following call
 
 INT _addrInterface 
 _addrInterface := %HI_GetAXProp(_AX_SPR, "ActiveCell") 

  ; functions of the interface addrInterface are invoked here 
 %HI_IDispRelease(_addrInterface)

Napíšte komentár