EventSinkUnregEvnt
f90VB Modules
f90VBDefs, f90VBAutomation
Summary
Un-registers a Fortran function associated to an event in a connected sink object.
Syntax
| subroutine EventSinkUnregEvnt | (EventSink, EventName, iRet) |
| integer(POINTER_KIND),intent(in):: | EventSink |
| character(len=*),intent(in):: | EventName |
| integer(HRESULT_KIND),intent(out),optional:: | iRet |
Arguments
EventSink [Input]
A handle to an event sink object with an active connection to an outgoing interface.
EventName [Input]
The name of an event in the outgoing interface of the Automation object to which the event sink is connected.
iRet [Output/Optional]
Upon return, iRet contains S_OK or an error code.
Comments
Use this subroutine to un-register a Fortran function that is executed when an event is fired on a sink object. Once subroutine EventSinkUnregEvnt is called, the Fortran function associated with EventName is no longer executed when the event is fired.
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 | |
| Unregistering Fortran event handlers | EventSinkUnregEvnt | |
| Listing events exposed by a connected event sink object | EventSinkEnumEvnts | |