Microsoft DirectX 9.0 |
The SendNotifyWindow method notifies the upstream filter of the video window handle.
Syntax
void SendNotifyWindow(
IPin *pPin,
HWND hwnd
);
Parameters
pPin
Pointer to the IPin interface of the upstream filter's output pin.
hwnd
Handle to the video window, or NULL.
Return Value
No return value.
Remarks
If the output pin of the upstream filter supports the IMediaEventSink interface, this method sends it the EC_NOTIFY_WINDOW event code along with the window handle.
Video renderers can override their CBaseRenderer::CompleteConnect methods to call this method. It provides a mechanism for informing the upstream filter of the window handle. If you do this, override the CBaseRenderer::BreakConnect method as well, and call SendNotifyWindow with a NULL handle.
See Also