|Microsoft DirectX 9.0|
The SetDrawContext method sets the device contexts used for drawing.
No return value.
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.