Determining the Capabilities of the Display Hardware
A version of this page is also available for
4/8/2010
DirectDraw uses software emulation to perform the DirectDraw functions not supported by the user's hardware.
To accelerate performance of your DirectDraw applications, determine the capabilities of the user's display hardware after you create a DirectDraw object; then structure your program to take advantage of these capabilities when possible.
You can determine these capabilities by using the IDirectDraw::GetCaps method. Not all hardware capabilities are supported in emulation.
If you want to use a capability that is only supported by some hardware, you must also be prepared to supply some alternative for systems with hardware that lacks that capability.