CBaseWindow::InitialiseWindow
Microsoft DirectShow 9.0 |
CBaseWindow::InitialiseWindow
The InitialiseWindow method initializes the window.
Syntax
virtual InitialiseWindow( HWND hwnd );
Parameters
hwnd
Handle to the window.
Return Value
Returns S_OK.
Remarks
By default, this method retrieves a handle to the window's device context (DC) and creates a compatible memory DC. If the value of the CBaseWindow::m_bDoGetDC flag is FALSE, however, this method does not retrieve the device contexts. The memory DC is useful for selecting bitmaps before blitting them to the window.
The CBaseWindow::DoCreateWindow method calls this method.
Requirements
** Header:** Declared in Winutil.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also