Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
| Previous | Next |
Using Device Contexts
The device context is a standard handle to a device context. You need this for many drawing functions so that Microsoft Windows knows which window to draw in. For example, to draw a rectangle, you need to specify the device context.
HDC hdc; ::Rectangle( hdc, 1, 1, 100, 100 );
The device context is specified by Windows Media Player through the Render function. If your plug-in renders using a window, you'll need to use the device context of that window. Use this device context for any drawing tool that requires a device context.
See Also
| Previous | Next |