CBaseWindow::CompleteConnect

 
Microsoft DirectShow 9.0

CBaseWindow::CompleteConnect

The CompleteConnect method notifies the window that the renderer's input pin has been connected.

Syntax

  HRESULT CompleteConnect(void);

Return Value

Returns S_OK.

Remarks

This method resets the window activation flag (CBaseWindow::m_bActivated) to FALSE. When a video renderer completes a pin connection, it might call the CBaseWindow::ActivateWindow method to set the window's size and position. To force ActivateWindow to recalculate these attributes, first call the CompleteConnect method.

Requirements

**  Header:** Declared in Winutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also