CBaseWindow::PerformanceAlignWindow
Microsoft DirectShow 9.0 |
CBaseWindow::PerformanceAlignWindow
The PerformanceAlignWindow method aligns the window position to DWORD boundaries, for maximum performance.
Syntax
HRESULT PerformanceAlignWindow(void);
Return Value
Returns S_OK.
Remarks
This method aligns the left and top edges of the window to DWORD boundaries, which can improve performance. If the window has a parent, the method returns S_OK but does perform the alignment.
Requirements
** Header:** Declared in Winutil.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also