contents   index   previous   next



EventSinkDestroy

 

f90VB Modules

 

f90VBDefs, f90VBAutomation

Summary

 

Destroys (and disconnects) an instantiated Event Sink object.

Syntax

 

subroutine EventSinkDestroy (EventSink)

 

 

integer(POINTER_KIND),intent(inout):: EventSink

Arguments

 

EventSink [Input]

A handle to an event sink object, as returned by function EventSinkCreate. Upon return, EventSink is set to null.

Comments

 

Use EventSinkDestroy to destroy and release the memory used by an event sink object created using function EventSinkCreate.

 

If EventSinkDestroy is called on a handle to a sink object that has not yet been disconnected, the subroutine calls EventSinkDisconnect before destroying the sink object.

Examples

 

See Example 6.5 (Chapter 6 - User Manual).

Related Topics

 

For information about: See:
Creating an event sink object EventSinkCreate
Connecting an event sink to a connectable object EventSinkConnect
Listing events exposed by a connected event sink object EventSinkEnumEvnts

 

 


EventSinkDisconnect