Partager via


CDrawImage::SetDrawContext

 
Microsoft DirectShow 9.0

CDrawImage::SetDrawContext

The SetDrawContext method sets the device contexts used for drawing.

Syntax

  void SetDrawContext(void);

Return Value

No return value.

Remarks

This method retrieves the window and memory device contexts from the owning CBaseWindow object. Call this method after the window is initialized, but before you begin drawing.

Requirements

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

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

See Also