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.
The
DDMORESURFACECAPSstructure contains the driver surface
capabilities required by the addition of new capability information
to the application's
DDCAPSstructure in DirectX
6.0. These driver capabilities are an addition to those described
in
DDCORECAPS.
typedef struct _DDMORESURFACECAPS { DWORDdwSize;DDSCAPSEXddsCapsMore;structtagExtendedHeapRestrictions{DDSCAPSEXddsCapsEx;DDSCAPSEXddsCapsAlt;} ddsExtendedHeapRestrictions[1];} DDMORESURFACECAPS, FAR * LPDDMORESURFACECAPS;
Members
dwSize
Size of the structure. This member must be initialized before
the structure is used.
ddsCapsMore
DDSCAPSEXstructure
containing new surface capabilities that the driver can create in
display memory. These capabilities are in addition to the
capabilities provided by the
DDCORECAPSstructure.
tagExtendedHeapRestrictions
Structure that contains the display memory heap restrictions.
Zero or more of these structures are returned by the driver
depending on the number of heaps indicated in the
DDHALINFOstructure. Each of
the
tagExtendedHeapRestrictionsstructures contains the following
members:
ddsCapsEx
DDSCAPSEXstructure that
contains the capabilities to be excluded from the memory heap. This
member is equivolent to the
ddsCapsmember of the
VIDMEMstructure.
ddsCapsAlt
DDSCAPSEXstructure that
indicates what this memory cannot be used for if no other memory is
found on the first pass. This member is equivalent to the
ddsCapsAltmember of the
VIDMEMstructure.
Remarks
For more information about using the
DDMORESURFACECAPSstructure, see Extended Surface
Capabilities.