CBaseWindow::PrepareWindow
Microsoft DirectShow 9.0 |
CBaseWindow::PrepareWindow
The PrepareWindow method creates the window.
Syntax
virtual HRESULT PrepareWindow(void);
Return Value
Returns an HRESULT value. Possible values include those shown in the following table.
Value | Description |
S_OK | Success. |
E_FAIL | Failure. |
Remarks
Call this method after creating the object. This method performs some initial bookkeeping and then calls the CBaseWindow::DoCreateWindow method to create the window.
Requirements
** Header:** Declared in Winutil.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also