Microsoft DirectShow 9.0


The GetDefaultRect method retrieves the default size of the client area.


  virtual RECT GetDefaultRect(void);

Return Value

Returns the default rectangle.


When the window is activated, the object calls this method to determine how large it should make the window's client area. In the base class, this method returns a rectangle whose height and width are the defined constants DEFHEIGHT and DEFWIDTH. A derived class should override this method. For a video renderer, the derived class will typically return the size of the native video image.


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

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

See Also