contents   index   previous   next



EventSinkCreate

 

f90VB Modules

 

f90VBDefs, f90VBAutomation

Summary

 

Creates an event sink object that can be connected to an outgoing interface of an Automation object.

Syntax

 

integer(POINTER_KIND) function EventSinkCreate (iRet)

 

 

integer(HRESULT_KIND),intent(out),optional:: iRet

Arguments

 

iRet [Output/Optional]

Upon return, iRet contains S_OK or an error code.

Comments

 

If successful, function EventSinkCreate returns a handle (pointer) to a new instance of a sink object. Your application use this handle to identify the instance of the sink object in any other operations involving the object.

Examples

 

See Example 6.5 (Chapter 6 - User Manual).

Related Topics

 

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

 

 


EventSinkDestroy