Microsoft DirectX 9.0 |
This topic applies to Windows XP only.
This section lists the methods (also known as event handlers) that applications must implement to handle events from the video control and its associated objects. When an event occurs, the object calls the event handler in your application, if the handler is implemented. No event handler is required to be implemented, although some provide the only way to achieve desired functionality.
Event | Description |
CertificateFailure | Called when the object fails to get an encryption/decription license. |
CertificateSuccess | Called when the object succeeds in getting an encryption/decription license. |
Click | Called by the MSVidCtl object when a user clicks anywhere on the video rectangle. |
ContentBecomingStale | Called when the stream buffer source lags behind the stream buffer sink. |
DblClick | Called by the MSVidCtl object when a user double-clicks on the video rectangle. |
EndOfMedia | Called by a file playback device when it reaches the end of the source file. |
Error | Called by the MSVidCtl object when an error occurs in the Video Control or in the underlying filter graph. Currently, no errors are defined for this event. |
KeyDown | Called by the MSVidCtl object when the user presses a key. |
KeyPress | Called by the MSVidCtl object when the user presses and releases a key. |
KeyUp | Called by the MSVidCtl object when the user releases a key. |
MouseDown | Called by the MSVidCtl object when the user presses the left mouse key down while the mouse pointer is over the Video Control. |
MouseMove | Called by the MSVidCtl object when the user moves the mouse pointer over the Video Control. |
MouseUp | Called by the MSVidCtl object when the user releases the left mouse button while the mouse pointer is over the Video Control. |
OverlayUnavailable | Called when the hardware overlay surface is unavailable. |
RatingsBlocked | Called when the object blocks playback. |
RatingsChanged | Called when the content rating changes. |
RatingsUnblocked | Called when the object unblocks playback. |
StaleDataRead | Called when the source object reads from a temporary recording file that has been marked for deletion. |
StaleFileDeleted | Called when a temporary recording file is deleted. |
StateChange (MSVidCtl) | Called by the Video Control when the state of the control changes. |
StateChange (IMSVidDevice) | Called by a device object when the state of the device changes. |
TimeHole | Called when playback reaches a gap in the recorded content. |
TuneChanged | Called by the currently active tuner device when it cannot tune to the requested channel or frequency. |
See Also