Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

You can retrieve information about the supported overlay capabilities by calling the IDirectDraw::GetCapsmethod. The method fills a DDCAPSstructure with information describing all capabilities.

When reporting hardware capabilities, the device driver sets flags in the dwCapsstructure member to indicate when a given type of restriction is enforced by the hardware.

After retrieving the driver capabilities, examine the flags in the dwCapsmember for information about which restrictions apply. The DDCAPSstructure contains nine members that carry information describing hardware restrictions for overlay surfaces.

The following table lists the overlay related members and their corresponding flags.

Member Flag

dwMaxVisibleOverlays

This member is always valid

dwCurrVisibleOverlays

This member is always valid

dwAlignBoundarySrc

This member is always valid

dwAlignSizeSrc

This member is always valid

dwAlignBoundaryDest

This member is always valid

dwAlignSizeDest

This member is always valid

dwMinOverlayStretch

This member is always valid

dwMaxOverlayStretch

This member is always valid

The dwMaxVisibleOverlaysand dwCurrVisibleOverlaysmembers carry information about the maximum number of overlays the hardware can display, and how many of them are currently visible.

Additionally, the hardware reports rectangle position and size alignment restrictions in the dwAlignBoundarySrc, dwAlignSizeSrc, dwAlignBoundaryDest, and dwAlignSizeDestmembers.

The values in these members dictate how you must size and position source and destination rectangles when displaying overlay surfaces. For more information, see Source and Destination Rectanglesand Boundary and Size Alignment.

Also, the hardware reports information about stretch factors in the dwMinOverlayStretchand dwMaxOverlayStretchmembers. For more information, see Minimum and Maximum Stretch Factors.

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.