ReactOS 0.4.16-dev-297-gc569aee
caps_tests.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 TEST (TestCaps("0", 0x0, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN", 0x40, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY", 0x80, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_PRIMARYSURFACE", 0x200, DD_OK, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_SYSTEMMEMORY", 0x800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0xa00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_TEXTURE", 0x1000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE", 0x2000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN", 0x2040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY", 0x2080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE", 0x2200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_SYSTEMMEMORY", 0x2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_TEXTURE", 0x3000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_VIDEOMEMORY", 0x4000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x4040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x4080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x4200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x5000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_VIDEOMEMORY", 0x6000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x6040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x6080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x6200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x7000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x40800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x40840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x40880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x40a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x41800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x42800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x42840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x42880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x42a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x43800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO", 0x80000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN", 0x80040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY", 0x80080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE", 0x80200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY", 0x80800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x80840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x80880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x80a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x81000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x81800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO", 0x82000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN", 0x82040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY", 0x82080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE", 0x82200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY", 0x82800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x82840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x82880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x82a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x83000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x83800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY", 0x84000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x84040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x84080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x84200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x85000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY", 0x86000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x86040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x86080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x86200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x87000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0xc0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0xc0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0xc0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0xc0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0xc1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0xc2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0xc2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0xc2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0xc2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0xc3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC", 0x100000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN", 0x100040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY", 0x100080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE", 0x100200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY", 0x100800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x100840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x100880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x100a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_TEXTURE", 0x101000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x101800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC", 0x102000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN", 0x102040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY", 0x102080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE", 0x102200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY", 0x102800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x102840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x102880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x102a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE", 0x103000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x103800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_VIDEOMEMORY", 0x104000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x104040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x104200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_VIDEOMEMORY", 0x106000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x106040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x106200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x140800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x140840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x140880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x140a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x141800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x142800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x142840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x142880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x142a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x143800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO", 0x180000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN", 0x180040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY", 0x180080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE", 0x180200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY", 0x180800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x180840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x180880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x180a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x181000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x181800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO", 0x182000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN", 0x182040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY", 0x182080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE", 0x182200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY", 0x182800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x182840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x182880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x182a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x183000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x183800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY", 0x184000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x184040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x184200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY", 0x186000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x186040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x186080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x186200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x1c0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x1c0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x1c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x1c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x1c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x1c2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x1c2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x1c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x1c2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x1c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX", 0x200000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x200040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x200080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x200200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x200800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x200840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x200880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x200a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x201000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x201800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX", 0x202000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x202040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x202080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x202200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x202800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x202840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x202880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x202a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x203000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x203800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x204000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x204040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x204080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x204200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x206000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x206040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x206080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x206200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x240800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x240840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x240880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x240a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x241800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x242800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x242840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x242880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x242a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x243800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX", 0x280000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x280040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x280080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x280200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x280800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x280840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x280880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x280a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x281000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x281800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX", 0x282000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x282040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x282080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x282200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x282800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x282840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x282880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x282a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x283000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x283800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x284000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x284040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x284080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x284200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x286000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x286040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x286080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x286200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x2c0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x2c0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x2c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x2c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x2c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x2c2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x2c2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x2c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x2c2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x2c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX", 0x300000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x300040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x300080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x300200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x300800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x300840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x300880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x300a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x301000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x301800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX", 0x302000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x302040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x302080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x302200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x302800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x302840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x302880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x302a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x303000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x303800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x304000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x304040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x304080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x304200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x306000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x306040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x306080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x306200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x340800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x340840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x340880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x340a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x341800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x342800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x342840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x342880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x342a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x343800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX", 0x380000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x380040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x380080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x380200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x380800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x380840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x380880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x380a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x381000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x381800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX", 0x382000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x382040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x382080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x382200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x382800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x382840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x382880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x382a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x383000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x383800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x384000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x384040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x384080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x384200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x386000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x386040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x386080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x386200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x3c0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x3c0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x3c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x3c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x3c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x3c2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x3c2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x3c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x3c2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x3c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE", 0x4001000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4001800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE", 0x4003000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4003800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4041800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4043800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x4081000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4081800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x4083000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4083800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE", 0x4101000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4101800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE", 0x4103000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4103800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4141800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4143800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x4181000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4181800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x4183000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4183800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x41c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x41c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4201000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4201800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4203000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4203800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4241800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4243800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4281000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4281800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4283000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4283800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x42c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x42c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4301000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4301800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4303000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4303800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4341800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4343800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4381000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4381800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4383000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4383800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x43c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x43c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_VIDEOPORT", 0x8000000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8000040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8000080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8000200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8000800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8000840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8000880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8000a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8001000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8001800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_VIDEOPORT", 0x8002000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8002040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8002080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8002200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8002800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8002840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8002880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8002a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8003000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8003800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8004000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8004040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8006000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8006040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8006200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8040800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8040840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8040880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8040a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8041800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8042800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8042840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8042880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8042a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8043800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOPORT", 0x8080000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8080040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8080080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8080200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8080800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8080840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8080880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8080a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8081000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8081800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOPORT", 0x8082000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8082040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8082080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8082200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8082800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8082840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8082880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8082a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8083000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8083800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8084000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8084040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8084200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8086000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8086040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8086080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8086200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x80c0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x80c0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x80c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x80c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x80c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x80c2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x80c2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x80c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x80c2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x80c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_VIDEOPORT", 0x8100000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8100040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8100080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8100200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8100800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8100840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8100880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8100a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8101000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8101800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_VIDEOPORT", 0x8102000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8102040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8102080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8102200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8102800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8102840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8102880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8102a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8103000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8103800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8104000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8104040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8104200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8106000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8106040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8106200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8140800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8140840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8140880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8140a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8141800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8142800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8142840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8142880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8142a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8143800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOPORT", 0x8180000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8180040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8180080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8180200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8180800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8180840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8180880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8180a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8181000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8181800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOPORT", 0x8182000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8182040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8182080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8182200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8182800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8182840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8182880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8182a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8183000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8183800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8184000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8184040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8184200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8186000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8186040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8186080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8186200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x81c0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x81c0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x81c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x81c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x81c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x81c2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x81c2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x81c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x81c2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x81c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8200000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8200040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8200080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8200200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8200800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8200840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8200880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8200a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8201000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8201800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8202000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8202040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8202080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8202200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8202800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8202840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8202880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8202a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8203000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8203800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8204000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8204040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8204080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8204200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8206000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8206040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8206080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8206200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8240800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8240840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8240880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8240a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8241800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8242800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8242840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8242880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8242a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8243800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8280000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8280040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8280080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8280200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8280800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8280840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8280880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8280a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8281000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8281800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8282000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8282040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8282080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8282200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8282800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8282840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8282880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8282a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8283000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8283800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8284000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8284040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8284080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8284200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8286000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8286040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8286080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8286200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x82c0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x82c0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x82c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x82c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x82c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x82c2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x82c2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x82c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x82c2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x82c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8300000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8300040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8300080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8300200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8300800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8300840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8300880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8300a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8301000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8301800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8302000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8302040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8302080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8302200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8302800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8302840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8302880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8302a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8303000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8303800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8304000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8304040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8304080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8304200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8306000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8306040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8306080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8306200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8340800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8340840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8340880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8340a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8341800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8342800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8342840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8342880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8342a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8343800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8380000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8380040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8380080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8380200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8380800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8380840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8380880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8380a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8381000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8381800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8382000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8382040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8382080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8382200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8382800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8382840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8382880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8382a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8383000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8383800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8384000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8384040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8384080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8384200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8386000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8386040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8386080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8386200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x83c0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x83c0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x83c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x83c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x83c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x83c2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x83c2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x83c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x83c2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x83c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc001000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc001800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc003000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc003800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc041800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc043800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc081000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc081800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc083000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc083800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc0c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc0c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc101000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc101800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc103000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc103800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc141800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc143800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc181000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc181800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc183000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc183800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc1c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc1c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc201000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc201800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc203000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc203800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc241800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc243800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc281000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc281800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc283000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc283800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc2c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc2c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc301000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc301800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc303000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc303800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc341800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc343800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc381000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc381800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc383000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc383800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc3c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc3c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10004000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10004040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10006000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10006040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10006200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10084000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10084040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10084200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10086000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10086040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10086080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10086200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10104000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10104040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10104200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10106000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10106040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10106200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10184000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10184040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10184200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10186000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10186040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10186080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10186200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10204000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10204040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10204080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10204200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10206000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10206040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10206080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10206200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10284000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10284040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10284080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10284200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10286000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10286040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10286080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10286200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10304000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10304040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10304080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10304200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10306000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10306040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10306080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10306200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10384000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10384040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10384080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10384200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10386000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10386040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10386080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10386200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18004000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18004040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18006000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18006040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18006200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18084000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18084040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18084200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18086000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18086040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18086080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18086200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18104000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18104040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18104200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18106000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18106040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18106200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18184000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18184040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18184200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18186000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18186040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18186080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18186200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18204000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18204040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18204080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18204200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18206000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18206040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18206080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18206200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18284000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18284040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18284080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18284200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18286000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18286040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18286080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18286200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18304000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18304040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18304080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18304200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18306000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18306040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18306080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18306200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18384000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18384040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18384080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18384200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18386000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18386040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18386080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18386200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20004000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20004040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20006000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20006040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20006200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20084000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20084040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20084200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20086000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20086040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20086080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20086200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20104000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20104040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20104200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20106000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20106040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20106200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20184000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20184040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20184200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20186000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20186040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20186080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20186200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20204000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20204040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20204080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20204200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20206000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20206040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20206080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20206200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20284000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20284040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20284080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20284200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20286000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20286040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20286080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20286200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20304000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20304040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20304080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20304200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20306000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20306040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20306080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20306200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20384000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20384040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20384080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20384200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20386000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20386040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20386080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20386200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28004000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28004040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28006000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28006040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28006200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28084000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28084040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28084200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28086000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28086040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28086080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28086200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28104000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28104040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28104200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28106000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28106040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28106200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28184000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28184040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28184200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28186000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28186040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28186080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28186200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28204000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28204040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28204080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28204200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28206000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28206040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28206080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28206200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28284000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28284040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28284080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28284200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28286000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28286040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28286080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28286200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28304000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28304040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28304080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28304200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28306000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28306040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28306080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28306200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28384000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28384040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28384080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28384200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28386000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28386040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28386080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28386200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_STANDARDVGAMODE", 0x40000000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40000040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40000080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40000200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40000800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40000840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40000880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40000a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40001000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40001800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE", 0x40002000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40002040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40002080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40002200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40002800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40002840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40002880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40002a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40003000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40003800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40004000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40004040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40006000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40006040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40006200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40040800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40040840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40040880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40040a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40041800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40042800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40042840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40042880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40042a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40043800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE", 0x40080000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40080040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40080080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40080200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40080800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40080840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40080880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40080a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40081000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40081800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE", 0x40082000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40082040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40082080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40082200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40082800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40082840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40082880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40082a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40083000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40083800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40084000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40084040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40084200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40086000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40086040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40086080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40086200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x400c0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x400c0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x400c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x400c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x400c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x400c2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x400c2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x400c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x400c2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x400c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE", 0x40100000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40100040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40100080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40100200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40100800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40100840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40100880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40100a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40101000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40101800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE", 0x40102000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40102040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40102080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40102200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40102800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40102840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40102880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40102a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40103000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40103800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40104000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40104040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40104200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40106000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40106040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40106200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40140800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40140840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40140880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40140a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40141800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40142800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40142840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40142880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40142a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40143800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE", 0x40180000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40180040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40180080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40180200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40180800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40180840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40180880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40180a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40181000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40181800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE", 0x40182000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40182040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40182080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40182200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40182800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40182840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40182880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40182a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40183000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40183800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40184000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40184040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40184200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40186000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40186040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40186080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40186200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x401c0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x401c0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x401c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x401c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x401c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x401c2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x401c2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x401c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x401c2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x401c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40200000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40200040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40200080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40200200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40200800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40200840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40200880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40200a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40201000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40201800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40202000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40202040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40202080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40202200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40202800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40202840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40202880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40202a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40203000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40203800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40204000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40204040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40204080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40204200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40206000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40206040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40206080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40206200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40240800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40240840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40240880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40240a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40241800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40242800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40242840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40242880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40242a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40243800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40280000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40280040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40280080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40280200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40280800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40280840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40280880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40280a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40281000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40281800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40282000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40282040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40282080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40282200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40282800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40282840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40282880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40282a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40283000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40283800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40284000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40284040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40284080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40284200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40286000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40286040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40286080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40286200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x402c0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x402c0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x402c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x402c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x402c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x402c2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x402c2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x402c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x402c2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x402c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40300000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40300040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40300080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40300200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40300800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40300840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40300880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40300a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40301000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40301800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40302000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40302040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40302080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40302200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40302800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40302840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40302880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40302a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40303000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40303800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40304000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40304040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40304080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40304200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40306000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40306040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40306080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40306200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40340800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40340840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40340880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40340a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40341800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40342800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40342840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40342880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40342a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40343800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40380000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40380040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40380080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40380200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40380800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40380840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40380880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40380a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40381000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40381800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40382000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40382040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40382080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40382200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40382800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40382840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40382880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40382a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40383000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40383800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40384000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40384040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40384080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40384200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40386000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40386040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40386080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40386200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x403c0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x403c0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x403c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x403c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x403c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x403c2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x403c2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x403c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x403c2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x403c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44001000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44001800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44003000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44003800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44041800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44043800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44081000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44081800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44083000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44083800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x440c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x440c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44101000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44101800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44103000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44103800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44141800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44143800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44181000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44181800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44183000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44183800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x441c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x441c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44201000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44201800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44203000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44203800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44241800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44243800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44281000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44281800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44283000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44283800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x442c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x442c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44301000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44301800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44303000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44303800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44341800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44343800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44381000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44381800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44383000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44383800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x443c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x443c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48000000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48000040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48000080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48000200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48000800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48000840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48000880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48000a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48001000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48001800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48002000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48002040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48002080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48002200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48002800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48002840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48002880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48002a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48003000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48003800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48004000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48004040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48006000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48006040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48006200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48040800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48040840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48040880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48040a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48041800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48042800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48042840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48042880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48042a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48043800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48080000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48080040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48080080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48080200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48080800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48080840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48080880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48080a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48081000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48081800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48082000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48082040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48082080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48082200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48082800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48082840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48082880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48082a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48083000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48083800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48084000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48084040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48084200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48086000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48086040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48086080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48086200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x480c0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x480c0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x480c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x480c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x480c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x480c2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x480c2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x480c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x480c2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x480c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48100000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48100040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48100080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48100200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48100800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48100840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48100880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48100a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48101000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48101800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48102000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48102040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48102080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48102200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48102800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48102840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48102880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48102a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48103000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48103800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48104000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48104040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48104200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48106000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48106040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48106200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48140800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48140840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48140880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48140a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48141800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48142800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48142840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48142880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48142a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48143800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48180000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48180040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48180080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48180200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48180800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48180840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48180880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48180a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48181000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48181800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48182000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48182040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48182080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48182200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48182800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48182840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48182880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48182a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48183000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48183800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48184000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48184040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48184200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48186000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48186040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48186080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48186200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x481c0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x481c0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x481c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x481c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x481c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x481c2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x481c2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x481c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x481c2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x481c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48200000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48200040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48200080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48200200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48200800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48200840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48200880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48200a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48201000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48201800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48202000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48202040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48202080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48202200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48202800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48202840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48202880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48202a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48203000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48203800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48204000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48204040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48204080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48204200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48206000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48206040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48206080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48206200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48240800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48240840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48240880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48240a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48241800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48242800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48242840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48242880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48242a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48243800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48280000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48280040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48280080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48280200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48280800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48280840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48280880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48280a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48281000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48281800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48282000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48282040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48282080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48282200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48282800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48282840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48282880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48282a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48283000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48283800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48284000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48284040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48284080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48284200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48286000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48286040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48286080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48286200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x482c0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x482c0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x482c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x482c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x482c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x482c2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x482c2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x482c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x482c2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x482c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48300000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48300040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48300080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48300200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48300800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48300840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48300880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48300a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48301000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48301800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48302000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48302040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48302080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48302200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48302800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48302840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48302880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48302a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48303000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48303800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48304000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48304040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48304080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48304200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48306000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48306040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48306080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48306200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48340800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48340840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48340880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48340a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48341800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48342800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48342840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48342880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48342a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48343800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48380000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48380040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48380080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48380200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48380800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48380840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48380880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48380a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48381000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48381800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48382000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48382040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48382080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48382200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48382800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48382840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48382880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48382a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48383000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48383800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48384000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48384040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48384080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48384200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48386000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48386040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48386080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48386200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x483c0800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x483c0840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x483c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x483c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x483c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x483c2800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x483c2840, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x483c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x483c2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x483c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c001000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c001800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c003000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c003800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c041800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c043800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c081000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c081800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c083000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c083800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c0c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c0c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c101000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c101800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c103000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c103800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c141800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c143800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c181000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c181800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c183000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c183800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c1c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c1c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c201000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c201800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c203000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c203800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c241800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c243800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c281000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c281800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c283000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c283800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c2c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c2c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c301000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c301800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c303000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c303800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c341800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c343800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c381000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c381800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c383000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c383800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c3c1800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c3c3800, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50004000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50004040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50006000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50006040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50006200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50084000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50084040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50084200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50086000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50086040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50086080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50086200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50104000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50104040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50104200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50106000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50106040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50106200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50184000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50184040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50184200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50186000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50186040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50186080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50186200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50204000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50204040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50204080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50204200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50206000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50206040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50206080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50206200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50284000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50284040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50284080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50284200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50286000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50286040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50286080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50286200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50304000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50304040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50304080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50304200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50306000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50306040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50306080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50306200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50384000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50384040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50384080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50384200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50386000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50386040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50386080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50386200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58004000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58004040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58006000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58006040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58006200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58084000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58084040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58084200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58086000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58086040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58086080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58086200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58104000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58104040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58104200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58106000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58106040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58106200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58184000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58184040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58184200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58186000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58186040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58186080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58186200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58204000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58204040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58204080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58204200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58206000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58206040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58206080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58206200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58284000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58284040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58284080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58284200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58286000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58286040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58286080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58286200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58304000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58304040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58304080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58304200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58306000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58306040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58306080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58306200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58384000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58384040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58384080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58384200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58386000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58386040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58386080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58386200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60004000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60004040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60006000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60006040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60006200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60084000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60084040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60084200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60086000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60086040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60086080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60086200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60104000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60104040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60104200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60106000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60106040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60106200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60184000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60184040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60184200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60186000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60186040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60186080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60186200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60204000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60204040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60204080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60204200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60206000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60206040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60206080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60206200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60284000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60284040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60284080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60284200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60286000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60286040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60286080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60286200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60304000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60304040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60304080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60304200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60306000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60306040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60306080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60306200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60384000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60384040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60384080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60384200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60386000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60386040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60386080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60386200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68004000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68004040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68006000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68006040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68006200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68084000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68084040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68084200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68086000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68086040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68086080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68086200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68104000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68104040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68104200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68106000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68106040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68106200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68184000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68184040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68184200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68186000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68186040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68186080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68186200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68204000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68204040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68204080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68204200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68206000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68206040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68206080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68206200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68284000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68284040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68284080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68284200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68286000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68286040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68286080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68286200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68304000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68304040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68304080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68304200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68306000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68306040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68306080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68306200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68384000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68384040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68384080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68384200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68386000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68386040, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68386080, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68386200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68387000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c005000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c007000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c085000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c087000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c105000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c107000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c185000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c187000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c205000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c207000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c285000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c287000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c305000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c307000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c385000, DDERR_INVALIDPARAMS, DD_OK))
 
 TEST (TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c387000, DDERR_INVALIDPARAMS, DD_OK))
 

Function Documentation

◆ TEST() [1/2304]

◆ TEST() [2/2304]

◆ TEST() [3/2304]

◆ TEST() [4/2304]

◆ TEST() [5/2304]

◆ TEST() [6/2304]

◆ TEST() [7/2304]

◆ TEST() [8/2304]

◆ TEST() [9/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14187000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [10/2304]

◆ TEST() [11/2304]

◆ TEST() [12/2304]

◆ TEST() [13/2304]

◆ TEST() [14/2304]

◆ TEST() [15/2304]

◆ TEST() [16/2304]

◆ TEST() [17/2304]

◆ TEST() [18/2304]

◆ TEST() [19/2304]

◆ TEST() [20/2304]

◆ TEST() [21/2304]

◆ TEST() [22/2304]

◆ TEST() [23/2304]

◆ TEST() [24/2304]

◆ TEST() [25/2304]

◆ TEST() [26/2304]

◆ TEST() [27/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4387000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [28/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc383000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [29/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4383000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [30/2304]

◆ TEST() [31/2304]

◆ TEST() [32/2304]

◆ TEST() [33/2304]

◆ TEST() [34/2304]

◆ TEST() [35/2304]

◆ TEST() [36/2304]

◆ TEST() [37/2304]

◆ TEST() [38/2304]

◆ TEST() [39/2304]

◆ TEST() [40/2304]

◆ TEST() [41/2304]

◆ TEST() [42/2304]

◆ TEST() [43/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44183000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [44/2304]

◆ TEST() [45/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4183800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [46/2304]

◆ TEST() [47/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4187000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [48/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc183000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [49/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x4183000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [50/2304]

◆ TEST() [51/2304]

◆ TEST() [52/2304]

◆ TEST() [53/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14307000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [54/2304]

◆ TEST() [55/2304]

◆ TEST() [56/2304]

◆ TEST() [57/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14107000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [58/2304]

◆ TEST() [59/2304]

◆ TEST() [60/2304]

◆ TEST() [61/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24307000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [62/2304]

◆ TEST() [63/2304]

◆ TEST() [64/2304]

◆ TEST() [65/2304]

◆ TEST() [66/2304]

◆ TEST() [67/2304]

◆ TEST() [68/2304]

◆ TEST() [69/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44307000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [70/2304]

◆ TEST() [71/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44303000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [72/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc303800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [73/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4303800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [74/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc307000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [75/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4307000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [76/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc303000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [77/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4303000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [78/2304]

◆ TEST() [79/2304]

◆ TEST() [80/2304]

◆ TEST() [81/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24107000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [82/2304]

◆ TEST() [83/2304]

◆ TEST() [84/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc143800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [85/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4143800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [86/2304]

◆ TEST() [87/2304]

◆ TEST() [88/2304]

◆ TEST() [89/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44107000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [90/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c103000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [91/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44103000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [92/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc103800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [93/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4103800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [94/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc107000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [95/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4107000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [96/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc103000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [97/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE", 0x4103000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [98/2304]

◆ TEST() [99/2304]

◆ TEST() [100/2304]

◆ TEST() [101/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14287000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [102/2304]

◆ TEST() [103/2304]

◆ TEST() [104/2304]

◆ TEST() [105/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14087000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [106/2304]

◆ TEST() [107/2304]

◆ TEST() [108/2304]

◆ TEST() [109/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24287000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [110/2304]

◆ TEST() [111/2304]

◆ TEST() [112/2304]

◆ TEST() [113/2304]

◆ TEST() [114/2304]

◆ TEST() [115/2304]

◆ TEST() [116/2304]

◆ TEST() [117/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44287000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [118/2304]

◆ TEST() [119/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44283000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [120/2304]

◆ TEST() [121/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4283800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [122/2304]

◆ TEST() [123/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4287000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [124/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc283000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [125/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4283000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [126/2304]

◆ TEST() [127/2304]

◆ TEST() [128/2304]

◆ TEST() [129/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24087000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [130/2304]

◆ TEST() [131/2304]

◆ TEST() [132/2304]

◆ TEST() [133/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40c3800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [134/2304]

◆ TEST() [135/2304]

◆ TEST() [136/2304]

◆ TEST() [137/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44087000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [138/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c083000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [139/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44083000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [140/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc083800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [141/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4083800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [142/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc087000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [143/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4087000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [144/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc083000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [145/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x4083000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [146/2304]

◆ TEST() [147/2304]

◆ TEST() [148/2304]

◆ TEST() [149/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14207000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [150/2304]

◆ TEST() [151/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [152/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [153/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [154/2304]

◆ TEST() [155/2304]

◆ TEST() [156/2304]

◆ TEST() [157/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24207000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [158/2304]

◆ TEST() [159/2304]

◆ TEST() [160/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc243800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [161/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4243800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [162/2304]

◆ TEST() [163/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44203800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [164/2304]

◆ TEST() [165/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44207000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [166/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c203000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [167/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44203000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [168/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc203800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [169/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4203800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [170/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc207000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [171/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4207000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [172/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc203000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [173/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4203000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [174/2304]

◆ TEST() [175/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [176/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [177/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [178/2304]

◆ TEST() [179/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44043800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [180/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc043800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [181/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4043800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [182/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c003800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [183/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44003800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [184/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [185/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [186/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c003000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [187/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44003000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [188/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc003800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [189/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4003800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [190/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [191/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [192/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc003000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [193/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE", 0x4003000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [194/2304]

◆ TEST() [195/2304]

◆ TEST() [196/2304]

◆ TEST() [197/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10386040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [198/2304]

◆ TEST() [199/2304]

◆ TEST() [200/2304]

◆ TEST() [201/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10386080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [202/2304]

◆ TEST() [203/2304]

◆ TEST() [204/2304]

◆ TEST() [205/2304]

◆ TEST() [206/2304]

◆ TEST() [207/2304]

◆ TEST() [208/2304]

◆ TEST() [209/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50386000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [210/2304]

◆ TEST() [211/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10387000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [212/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18386000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [213/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10386000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [214/2304]

◆ TEST() [215/2304]

◆ TEST() [216/2304]

◆ TEST() [217/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10186040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [218/2304]

◆ TEST() [219/2304]

◆ TEST() [220/2304]

◆ TEST() [221/2304]

◆ TEST() [222/2304]

◆ TEST() [223/2304]

◆ TEST() [224/2304]

◆ TEST() [225/2304]

◆ TEST() [226/2304]

◆ TEST() [227/2304]

◆ TEST() [228/2304]

◆ TEST() [229/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50186000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [230/2304]

◆ TEST() [231/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10187000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [232/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18186000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [233/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10186000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [234/2304]

◆ TEST() [235/2304]

◆ TEST() [236/2304]

◆ TEST() [237/2304]

◆ TEST() [238/2304]

◆ TEST() [239/2304]

◆ TEST() [240/2304]

◆ TEST() [241/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20386080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [242/2304]

◆ TEST() [243/2304]

◆ TEST() [244/2304]

◆ TEST() [245/2304]

◆ TEST() [246/2304]

◆ TEST() [247/2304]

◆ TEST() [248/2304]

◆ TEST() [249/2304]

◆ TEST() [250/2304]

◆ TEST() [251/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20387000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [252/2304]

◆ TEST() [253/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20386000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [254/2304]

◆ TEST() [255/2304]

◆ TEST() [256/2304]

◆ TEST() [257/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x3c2840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [258/2304]

◆ TEST() [259/2304]

◆ TEST() [260/2304]

◆ TEST() [261/2304]

◆ TEST() [262/2304]

◆ TEST() [263/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40382040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [264/2304]

◆ TEST() [265/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x382840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [266/2304]

◆ TEST() [267/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x386040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [268/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8382040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [269/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x382040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [270/2304]

◆ TEST() [271/2304]

◆ TEST() [272/2304]

◆ TEST() [273/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x3c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [274/2304]

◆ TEST() [275/2304]

◆ TEST() [276/2304]

◆ TEST() [277/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40386080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [278/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48382080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [279/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40382080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [280/2304]

◆ TEST() [281/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x382880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [282/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8386080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [283/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x386080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [284/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8382080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [285/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x382080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [286/2304]

◆ TEST() [287/2304]

◆ TEST() [288/2304]

◆ TEST() [289/2304]

◆ TEST() [290/2304]

◆ TEST() [291/2304]

◆ TEST() [292/2304]

◆ TEST() [293/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x403c2800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [294/2304]

◆ TEST() [295/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x3c3800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [296/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x83c2800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [297/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x3c2800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [298/2304]

◆ TEST() [299/2304]

◆ TEST() [300/2304]

◆ TEST() [301/2304]

◆ TEST() [302/2304]

◆ TEST() [303/2304]

◆ TEST() [304/2304]

◆ TEST() [305/2304]

◆ TEST() [306/2304]

◆ TEST() [307/2304]

◆ TEST() [308/2304]

◆ TEST() [309/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x382200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [310/2304]

◆ TEST() [311/2304]

◆ TEST() [312/2304]

◆ TEST() [313/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40382800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [314/2304]

◆ TEST() [315/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40387000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [316/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48383000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [317/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40383000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [318/2304]

◆ TEST() [319/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40386000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [320/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48382000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [321/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40382000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [322/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8383800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [323/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x383800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [324/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8382800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [325/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x382800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [326/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8387000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [327/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x387000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [328/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8383000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [329/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x383000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [330/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8386000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [331/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x386000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [332/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8382000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [333/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX", 0x382000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [334/2304]

◆ TEST() [335/2304]

◆ TEST() [336/2304]

◆ TEST() [337/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20186040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [338/2304]

◆ TEST() [339/2304]

◆ TEST() [340/2304]

◆ TEST() [341/2304]

◆ TEST() [342/2304]

◆ TEST() [343/2304]

◆ TEST() [344/2304]

◆ TEST() [345/2304]

◆ TEST() [346/2304]

◆ TEST() [347/2304]

◆ TEST() [348/2304]

◆ TEST() [349/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60186000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [350/2304]

◆ TEST() [351/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20187000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [352/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28186000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [353/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20186000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [354/2304]

◆ TEST() [355/2304]

◆ TEST() [356/2304]

◆ TEST() [357/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x1c2840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [358/2304]

◆ TEST() [359/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40182840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [360/2304]

◆ TEST() [361/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40186040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [362/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48182040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [363/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40182040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [364/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8182840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [365/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x182840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [366/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8186040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [367/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x186040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [368/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8182040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [369/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN", 0x182040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [370/2304]

◆ TEST() [371/2304]

◆ TEST() [372/2304]

◆ TEST() [373/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x1c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [374/2304]

◆ TEST() [375/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40182880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [376/2304]

◆ TEST() [377/2304]

◆ TEST() [378/2304]

◆ TEST() [379/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40182080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [380/2304]

◆ TEST() [381/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x182880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [382/2304]

◆ TEST() [383/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x186080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [384/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8182080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [385/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY", 0x182080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [386/2304]

◆ TEST() [387/2304]

◆ TEST() [388/2304]

◆ TEST() [389/2304]

◆ TEST() [390/2304]

◆ TEST() [391/2304]

◆ TEST() [392/2304]

◆ TEST() [393/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x401c2800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [394/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x81c3800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [395/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x1c3800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [396/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x81c2800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [397/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x1c2800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [398/2304]

◆ TEST() [399/2304]

◆ TEST() [400/2304]

◆ TEST() [401/2304]

◆ TEST() [402/2304]

◆ TEST() [403/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40182200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [404/2304]

◆ TEST() [405/2304]

◆ TEST() [406/2304]

◆ TEST() [407/2304]

◆ TEST() [408/2304]

◆ TEST() [409/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE", 0x182200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [410/2304]

◆ TEST() [411/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40183800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [412/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48182800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [413/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40182800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [414/2304]

◆ TEST() [415/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40187000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [416/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48183000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [417/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40183000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [418/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48186000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [419/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40186000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [420/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48182000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [421/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE", 0x40182000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [422/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8183800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [423/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x183800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [424/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8182800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [425/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY", 0x182800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [426/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8187000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [427/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x187000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [428/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8183000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [429/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x183000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [430/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8186000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [431/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY", 0x186000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [432/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOPORT", 0x8182000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [433/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO", 0x182000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [434/2304]

◆ TEST() [435/2304]

◆ TEST() [436/2304]

◆ TEST() [437/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10306040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [438/2304]

◆ TEST() [439/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50306080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [440/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18306080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [441/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10306080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [442/2304]

◆ TEST() [443/2304]

◆ TEST() [444/2304]

◆ TEST() [445/2304]

◆ TEST() [446/2304]

◆ TEST() [447/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50307000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [448/2304]

◆ TEST() [449/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50306000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [450/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18307000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [451/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10307000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [452/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18306000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [453/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10306000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [454/2304]

◆ TEST() [455/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50106040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [456/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18106040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [457/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10106040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [458/2304]

◆ TEST() [459/2304]

◆ TEST() [460/2304]

◆ TEST() [461/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [462/2304]

◆ TEST() [463/2304]

◆ TEST() [464/2304]

◆ TEST() [465/2304]

◆ TEST() [466/2304]

◆ TEST() [467/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50107000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [468/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58106000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [469/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50106000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [470/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18107000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [471/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10107000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [472/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18106000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [473/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10106000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [474/2304]

◆ TEST() [475/2304]

◆ TEST() [476/2304]

◆ TEST() [477/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20306040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [478/2304]

◆ TEST() [479/2304]

◆ TEST() [480/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28306080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [481/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20306080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [482/2304]

◆ TEST() [483/2304]

◆ TEST() [484/2304]

◆ TEST() [485/2304]

◆ TEST() [486/2304]

◆ TEST() [487/2304]

◆ TEST() [488/2304]

◆ TEST() [489/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60306000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [490/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28307000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [491/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20307000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [492/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28306000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [493/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20306000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [494/2304]

◆ TEST() [495/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40342840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [496/2304]

◆ TEST() [497/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x342840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [498/2304]

◆ TEST() [499/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40302840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [500/2304]

◆ TEST() [501/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40306040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [502/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48302040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [503/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40302040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [504/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8302840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [505/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x302840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [506/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8306040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [507/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x306040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [508/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8302040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [509/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x302040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [510/2304]

◆ TEST() [511/2304]

◆ TEST() [512/2304]

◆ TEST() [513/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x342880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [514/2304]

◆ TEST() [515/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40302880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [516/2304]

◆ TEST() [517/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40306080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [518/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48302080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [519/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40302080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [520/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8302880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [521/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x302880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [522/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8306080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [523/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x306080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [524/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8302080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [525/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x302080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [526/2304]

◆ TEST() [527/2304]

◆ TEST() [528/2304]

◆ TEST() [529/2304]

◆ TEST() [530/2304]

◆ TEST() [531/2304]

◆ TEST() [532/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48342800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [533/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40342800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [534/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8343800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [535/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x343800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [536/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8342800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [537/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x342800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [538/2304]

◆ TEST() [539/2304]

◆ TEST() [540/2304]

◆ TEST() [541/2304]

◆ TEST() [542/2304]

◆ TEST() [543/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40302200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [544/2304]

◆ TEST() [545/2304]

◆ TEST() [546/2304]

◆ TEST() [547/2304]

◆ TEST() [548/2304]

◆ TEST() [549/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x302200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [550/2304]

◆ TEST() [551/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40303800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [552/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48302800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [553/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40302800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [554/2304]

◆ TEST() [555/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40307000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [556/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48303000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [557/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40303000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [558/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48306000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [559/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40306000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [560/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48302000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [561/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40302000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [562/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8303800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [563/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x303800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [564/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8302800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [565/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x302800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [566/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8307000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [567/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x307000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [568/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8303000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [569/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x303000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [570/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8306000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [571/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x306000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [572/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8302000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [573/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_MODEX", 0x302000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [574/2304]

◆ TEST() [575/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60106040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [576/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28106040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [577/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20106040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [578/2304]

◆ TEST() [579/2304]

◆ TEST() [580/2304]

◆ TEST() [581/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [582/2304]

◆ TEST() [583/2304]

◆ TEST() [584/2304]

◆ TEST() [585/2304]

◆ TEST() [586/2304]

◆ TEST() [587/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60107000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [588/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68106000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [589/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60106000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [590/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28107000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [591/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20107000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [592/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28106000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [593/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20106000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [594/2304]

◆ TEST() [595/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40142840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [596/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8142840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [597/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x142840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [598/2304]

◆ TEST() [599/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40102840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [600/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48106040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [601/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40106040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [602/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48102040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [603/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40102040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [604/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8102840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [605/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x102840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [606/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8106040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [607/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x106040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [608/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8102040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [609/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN", 0x102040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [610/2304]

◆ TEST() [611/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40142880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [612/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8142880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [613/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x142880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [614/2304]

◆ TEST() [615/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40102880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [616/2304]

◆ TEST() [617/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [618/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48102080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [619/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40102080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [620/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8102880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [621/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x102880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [622/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [623/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x106080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [624/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8102080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [625/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OVERLAY", 0x102080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [626/2304]

◆ TEST() [627/2304]

◆ TEST() [628/2304]

◆ TEST() [629/2304]

◆ TEST() [630/2304]

◆ TEST() [631/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40143800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [632/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48142800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [633/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40142800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [634/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8143800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [635/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x143800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [636/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8142800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [637/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x142800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [638/2304]

◆ TEST() [639/2304]

◆ TEST() [640/2304]

◆ TEST() [641/2304]

◆ TEST() [642/2304]

◆ TEST() [643/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40102200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [644/2304]

◆ TEST() [645/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x102a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [646/2304]

◆ TEST() [647/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x106200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [648/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8102200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [649/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE", 0x102200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [650/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48103800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [651/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40103800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [652/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48102800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [653/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40102800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [654/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48107000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [655/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40107000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [656/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48103000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [657/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40103000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [658/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48106000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [659/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40106000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [660/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48102000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [661/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE", 0x40102000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [662/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8103800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [663/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x103800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [664/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8102800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [665/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY", 0x102800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [666/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8107000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [667/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x107000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [668/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8103000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [669/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE", 0x103000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [670/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8106000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [671/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_VIDEOMEMORY", 0x106000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [672/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC | DDSCAPS_VIDEOPORT", 0x8102000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [673/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_HWCODEC", 0x102000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [674/2304]

◆ TEST() [675/2304]

◆ TEST() [676/2304]

◆ TEST() [677/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10286040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [678/2304]

◆ TEST() [679/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50286080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [680/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18286080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [681/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10286080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [682/2304]

◆ TEST() [683/2304]

◆ TEST() [684/2304]

◆ TEST() [685/2304]

◆ TEST() [686/2304]

◆ TEST() [687/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50287000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [688/2304]

◆ TEST() [689/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50286000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [690/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18287000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [691/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10287000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [692/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18286000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [693/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10286000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [694/2304]

◆ TEST() [695/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50086040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [696/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18086040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [697/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10086040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [698/2304]

◆ TEST() [699/2304]

◆ TEST() [700/2304]

◆ TEST() [701/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10086080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [702/2304]

◆ TEST() [703/2304]

◆ TEST() [704/2304]

◆ TEST() [705/2304]

◆ TEST() [706/2304]

◆ TEST() [707/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50087000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [708/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58086000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [709/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50086000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [710/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18087000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [711/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10087000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [712/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18086000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [713/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10086000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [714/2304]

◆ TEST() [715/2304]

◆ TEST() [716/2304]

◆ TEST() [717/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20286040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [718/2304]

◆ TEST() [719/2304]

◆ TEST() [720/2304]

◆ TEST() [721/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20286080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [722/2304]

◆ TEST() [723/2304]

◆ TEST() [724/2304]

◆ TEST() [725/2304]

◆ TEST() [726/2304]

◆ TEST() [727/2304]

◆ TEST() [728/2304]

◆ TEST() [729/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60286000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [730/2304]

◆ TEST() [731/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20287000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [732/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28286000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [733/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20286000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [734/2304]

◆ TEST() [735/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x402c2840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [736/2304]

◆ TEST() [737/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x2c2840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [738/2304]

◆ TEST() [739/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40282840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [740/2304]

◆ TEST() [741/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40286040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [742/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48282040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [743/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40282040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [744/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8282840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [745/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x282840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [746/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8286040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [747/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x286040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [748/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8282040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [749/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x282040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [750/2304]

◆ TEST() [751/2304]

◆ TEST() [752/2304]

◆ TEST() [753/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x2c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [754/2304]

◆ TEST() [755/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40282880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [756/2304]

◆ TEST() [757/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40286080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [758/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48282080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [759/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40282080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [760/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8282880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [761/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x282880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [762/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8286080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [763/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x286080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [764/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8282080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [765/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x282080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [766/2304]

◆ TEST() [767/2304]

◆ TEST() [768/2304]

◆ TEST() [769/2304]

◆ TEST() [770/2304]

◆ TEST() [771/2304]

◆ TEST() [772/2304]

◆ TEST() [773/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x402c2800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [774/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x82c3800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [775/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x2c3800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [776/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x82c2800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [777/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x2c2800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [778/2304]

◆ TEST() [779/2304]

◆ TEST() [780/2304]

◆ TEST() [781/2304]

◆ TEST() [782/2304]

◆ TEST() [783/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40282200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [784/2304]

◆ TEST() [785/2304]

◆ TEST() [786/2304]

◆ TEST() [787/2304]

◆ TEST() [788/2304]

◆ TEST() [789/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x282200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [790/2304]

◆ TEST() [791/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40283800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [792/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48282800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [793/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40282800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [794/2304]

◆ TEST() [795/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40287000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [796/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48283000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [797/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40283000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [798/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48286000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [799/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40286000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [800/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48282000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [801/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40282000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [802/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8283800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [803/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x283800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [804/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8282800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [805/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x282800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [806/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8287000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [807/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x287000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [808/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8283000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [809/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x283000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [810/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8286000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [811/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x286000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [812/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8282000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [813/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX", 0x282000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [814/2304]

◆ TEST() [815/2304]

◆ TEST() [816/2304]

◆ TEST() [817/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20086040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [818/2304]

◆ TEST() [819/2304]

◆ TEST() [820/2304]

◆ TEST() [821/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20086080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [822/2304]

◆ TEST() [823/2304]

◆ TEST() [824/2304]

◆ TEST() [825/2304]

◆ TEST() [826/2304]

◆ TEST() [827/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60087000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [828/2304]

◆ TEST() [829/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60086000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [830/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28087000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [831/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20087000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [832/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28086000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [833/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20086000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [834/2304]

◆ TEST() [835/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x400c2840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [836/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x80c2840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [837/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0xc2840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [838/2304]

◆ TEST() [839/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40082840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [840/2304]

◆ TEST() [841/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40086040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [842/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48082040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [843/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40082040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [844/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8082840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [845/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x82840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [846/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8086040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [847/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x86040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [848/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8082040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [849/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN", 0x82040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [850/2304]

◆ TEST() [851/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x400c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [852/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x80c2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [853/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0xc2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [854/2304]

◆ TEST() [855/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40082880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [856/2304]

◆ TEST() [857/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40086080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [858/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48082080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [859/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40082080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [860/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8082880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [861/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x82880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [862/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8086080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [863/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x86080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [864/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8082080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [865/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY", 0x82080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [866/2304]

◆ TEST() [867/2304]

◆ TEST() [868/2304]

◆ TEST() [869/2304]

◆ TEST() [870/2304]

◆ TEST() [871/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x400c3800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [872/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x480c2800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [873/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x400c2800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [874/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x80c3800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [875/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0xc3800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [876/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x80c2800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [877/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0xc2800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [878/2304]

◆ TEST() [879/2304]

◆ TEST() [880/2304]

◆ TEST() [881/2304]

◆ TEST() [882/2304]

◆ TEST() [883/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40082200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [884/2304]

◆ TEST() [885/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x82a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [886/2304]

◆ TEST() [887/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x86200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [888/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8082200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [889/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE", 0x82200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [890/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48083800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [891/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40083800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [892/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48082800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [893/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40082800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [894/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48087000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [895/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40087000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [896/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48083000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [897/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40083000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [898/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48086000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [899/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40086000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [900/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48082000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [901/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE", 0x40082000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [902/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8083800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [903/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x83800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [904/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8082800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [905/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY", 0x82800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [906/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8087000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [907/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x87000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [908/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8083000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [909/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x83000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [910/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8086000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [911/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY", 0x86000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [912/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOPORT", 0x8082000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [913/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LIVEVIDEO", 0x82000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [914/2304]

◆ TEST() [915/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50206040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [916/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18206040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [917/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10206040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [918/2304]

◆ TEST() [919/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50206080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [920/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18206080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [921/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10206080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [922/2304]

◆ TEST() [923/2304]

◆ TEST() [924/2304]

◆ TEST() [925/2304]

◆ TEST() [926/2304]

◆ TEST() [927/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50207000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [928/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58206000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [929/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50206000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [930/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18207000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [931/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10207000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [932/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18206000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [933/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10206000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [934/2304]

◆ TEST() [935/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50006040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [936/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18006040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [937/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10006040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [938/2304]

◆ TEST() [939/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [940/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [941/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [942/2304]

◆ TEST() [943/2304]

◆ TEST() [944/2304]

◆ TEST() [945/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10006200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [946/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [947/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [948/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58006000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [949/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50006000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [950/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [951/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [952/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18006000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [953/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10006000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [954/2304]

◆ TEST() [955/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60206040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [956/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28206040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [957/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20206040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [958/2304]

◆ TEST() [959/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60206080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [960/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28206080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [961/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20206080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [962/2304]

◆ TEST() [963/2304]

◆ TEST() [964/2304]

◆ TEST() [965/2304]

◆ TEST() [966/2304]

◆ TEST() [967/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60207000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [968/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68206000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [969/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60206000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [970/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28207000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [971/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20207000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [972/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28206000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [973/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20206000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [974/2304]

◆ TEST() [975/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40242840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [976/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8242840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [977/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x242840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [978/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48202840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [979/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40202840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [980/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48206040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [981/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40206040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [982/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48202040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [983/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40202040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [984/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8202840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [985/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x202840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [986/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8206040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [987/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x206040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [988/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8202040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [989/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x202040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [990/2304]

◆ TEST() [991/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40242880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [992/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8242880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [993/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x242880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [994/2304]

◆ TEST() [995/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40202880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [996/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48206080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [997/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40206080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [998/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48202080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [999/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40202080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1000/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8202880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1001/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x202880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1002/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8206080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1003/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x206080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1004/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8202080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1005/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x202080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1006/2304]

◆ TEST() [1007/2304]

◆ TEST() [1008/2304]

◆ TEST() [1009/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x242a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1010/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48243800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1011/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40243800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1012/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48242800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1013/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40242800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1014/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8243800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1015/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x243800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1016/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8242800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1017/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x242800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1018/2304]

◆ TEST() [1019/2304]

◆ TEST() [1020/2304]

◆ TEST() [1021/2304]

◆ TEST() [1022/2304]

◆ TEST() [1023/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40202200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1024/2304]

◆ TEST() [1025/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x202a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1026/2304]

◆ TEST() [1027/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x206200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1028/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8202200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1029/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x202200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1030/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48203800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1031/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40203800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1032/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48202800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1033/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40202800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1034/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48207000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1035/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40207000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1036/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48203000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1037/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40203000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1038/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48206000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1039/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40206000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1040/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48202000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1041/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40202000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1042/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8203800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1043/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x203800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1044/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8202800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1045/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x202800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1046/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8207000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1047/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x207000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1048/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8203000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1049/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x203000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1050/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8206000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1051/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x206000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1052/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8202000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1053/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_MODEX", 0x202000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1054/2304]

◆ TEST() [1055/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60006040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1056/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28006040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1057/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20006040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1058/2304]

◆ TEST() [1059/2304]

◆ TEST() [1060/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1061/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1062/2304]

◆ TEST() [1063/2304]

◆ TEST() [1064/2304]

◆ TEST() [1065/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20006200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1066/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1067/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1068/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68006000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1069/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60006000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1070/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1071/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1072/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28006000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1073/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20006000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1074/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48042840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1075/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40042840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1076/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8042840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1077/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x42840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1078/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48002840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1079/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40002840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1080/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48006040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1081/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40006040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1082/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48002040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1083/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40002040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1084/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8002840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1085/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x2840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1086/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8006040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1087/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x6040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1088/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8002040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1089/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OFFSCREENPLAIN", 0x2040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1090/2304]

◆ TEST() [1091/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40042880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1092/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8042880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1093/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x42880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1094/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48002880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1095/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40002880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1096/2304]

◆ TEST() [1097/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1098/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48002080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1099/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40002080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1100/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8002880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1101/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x2880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1102/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8006080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1103/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x6080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1104/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8002080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1105/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OVERLAY", 0x2080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1106/2304]

◆ TEST() [1107/2304]

◆ TEST() [1108/2304]

◆ TEST() [1109/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x42a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1110/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48043800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1111/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40043800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1112/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48042800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1113/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40042800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1114/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8043800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1115/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x43800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1116/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8042800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1117/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x42800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1118/2304]

◆ TEST() [1119/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40002a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1120/2304]

◆ TEST() [1121/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40006200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1122/2304]

◆ TEST() [1123/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40002200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1124/2304]

◆ TEST() [1125/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x2a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1126/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8006200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1127/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x6200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1128/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8002200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1129/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_PRIMARYSURFACE", 0x2200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1130/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48003800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1131/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40003800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1132/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48002800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1133/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40002800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1134/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1135/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1136/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48003000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1137/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40003000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1138/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48006000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1139/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40006000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1140/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48002000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1141/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_STANDARDVGAMODE", 0x40002000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1142/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8003800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1143/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x3800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1144/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8002800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1145/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_SYSTEMMEMORY", 0x2800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1146/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8007000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1147/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x7000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1148/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8003000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1149/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_TEXTURE", 0x3000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1150/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8006000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1151/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_VIDEOMEMORY", 0x6000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1152/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE | DDSCAPS_VIDEOPORT", 0x8002000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1153/2304]

TEST ( TestCaps("DDSCAPS_3DDEVICE", 0x2000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1154/2304]

◆ TEST() [1155/2304]

◆ TEST() [1156/2304]

◆ TEST() [1157/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14385000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1158/2304]

◆ TEST() [1159/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1160/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1161/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1162/2304]

◆ TEST() [1163/2304]

◆ TEST() [1164/2304]

◆ TEST() [1165/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24385000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1166/2304]

◆ TEST() [1167/2304]

◆ TEST() [1168/2304]

◆ TEST() [1169/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x43c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1170/2304]

◆ TEST() [1171/2304]

◆ TEST() [1172/2304]

◆ TEST() [1173/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44385000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1174/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c381000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1175/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44381000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1176/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc381800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1177/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4381800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1178/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc385000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1179/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4385000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1180/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc381000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1181/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4381000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1182/2304]

◆ TEST() [1183/2304]

◆ TEST() [1184/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1185/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1186/2304]

◆ TEST() [1187/2304]

◆ TEST() [1188/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc1c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1189/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x41c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1190/2304]

◆ TEST() [1191/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44181800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1192/2304]

◆ TEST() [1193/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1194/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c181000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1195/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44181000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1196/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc181800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1197/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4181800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1198/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1199/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1200/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc181000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1201/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x4181000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1202/2304]

◆ TEST() [1203/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1204/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1205/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1206/2304]

◆ TEST() [1207/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1208/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1209/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1210/2304]

◆ TEST() [1211/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1212/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1213/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1214/2304]

◆ TEST() [1215/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44341800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1216/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc341800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1217/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4341800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1218/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c301800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1219/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44301800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1220/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1221/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1222/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c301000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1223/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44301000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1224/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc301800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1225/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4301800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1226/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1227/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1228/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc301000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1229/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4301000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1230/2304]

◆ TEST() [1231/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1232/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1233/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1234/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c141800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1235/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44141800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1236/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc141800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1237/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4141800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1238/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c101800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1239/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44101800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1240/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1241/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1242/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c101000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1243/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44101000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1244/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc101800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1245/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4101800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1246/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1247/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1248/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc101000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1249/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_HWCODEC | DDSCAPS_TEXTURE", 0x4101000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1250/2304]

◆ TEST() [1251/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1252/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1253/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1254/2304]

◆ TEST() [1255/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1256/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1257/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1258/2304]

◆ TEST() [1259/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1260/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1261/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1262/2304]

◆ TEST() [1263/2304]

◆ TEST() [1264/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc2c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1265/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x42c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1266/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c281800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1267/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44281800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1268/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1269/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1270/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c281000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1271/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44281000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1272/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc281800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1273/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4281800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1274/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1275/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1276/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc281000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1277/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4281000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1278/2304]

◆ TEST() [1279/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1280/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1281/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1282/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c0c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1283/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x440c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1284/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc0c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1285/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1286/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c081800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1287/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44081800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1288/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1289/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1290/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c081000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1291/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44081000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1292/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc081800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1293/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4081800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1294/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1295/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1296/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc081000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1297/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x4081000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1298/2304]

◆ TEST() [1299/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1300/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1301/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1302/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x5c005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1303/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x54005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1304/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x1c005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1305/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x14005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1306/2304]

◆ TEST() [1307/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1308/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1309/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1310/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c241800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1311/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44241800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1312/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc241800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1313/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4241800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1314/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c201800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1315/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44201800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1316/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1317/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1318/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c201000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1319/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44201000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1320/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc201800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1321/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4201800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1322/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1323/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1324/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc201000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1325/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x4201000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1326/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x6c005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1327/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x64005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1328/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x2c005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1329/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x24005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1330/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c041800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1331/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44041800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1332/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc041800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1333/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4041800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1334/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c001800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1335/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x44001800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1336/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x4c005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1337/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x44005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1338/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x4c001000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1339/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x44001000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1340/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc001800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1341/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x4001800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1342/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0xc005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1343/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x4005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1344/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0xc001000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1345/2304]

TEST ( TestCaps("DDSCAPS_ALLOCONLOAD | DDSCAPS_TEXTURE", 0x4001000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1346/2304]

◆ TEST() [1347/2304]

◆ TEST() [1348/2304]

◆ TEST() [1349/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10384040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1350/2304]

◆ TEST() [1351/2304]

◆ TEST() [1352/2304]

◆ TEST() [1353/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10384080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1354/2304]

◆ TEST() [1355/2304]

◆ TEST() [1356/2304]

◆ TEST() [1357/2304]

◆ TEST() [1358/2304]

◆ TEST() [1359/2304]

◆ TEST() [1360/2304]

◆ TEST() [1361/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50384000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1362/2304]

◆ TEST() [1363/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10385000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1364/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18384000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1365/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10384000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1366/2304]

◆ TEST() [1367/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50184040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1368/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18184040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1369/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10184040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1370/2304]

◆ TEST() [1371/2304]

◆ TEST() [1372/2304]

◆ TEST() [1373/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1374/2304]

◆ TEST() [1375/2304]

◆ TEST() [1376/2304]

◆ TEST() [1377/2304]

◆ TEST() [1378/2304]

◆ TEST() [1379/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1380/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58184000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1381/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50184000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1382/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1383/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1384/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18184000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1385/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10184000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1386/2304]

◆ TEST() [1387/2304]

◆ TEST() [1388/2304]

◆ TEST() [1389/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20384040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1390/2304]

◆ TEST() [1391/2304]

◆ TEST() [1392/2304]

◆ TEST() [1393/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20384080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1394/2304]

◆ TEST() [1395/2304]

◆ TEST() [1396/2304]

◆ TEST() [1397/2304]

◆ TEST() [1398/2304]

◆ TEST() [1399/2304]

◆ TEST() [1400/2304]

◆ TEST() [1401/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60384000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1402/2304]

◆ TEST() [1403/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20385000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1404/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28384000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1405/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20384000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1406/2304]

◆ TEST() [1407/2304]

◆ TEST() [1408/2304]

◆ TEST() [1409/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x3c0840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1410/2304]

◆ TEST() [1411/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40380840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1412/2304]

◆ TEST() [1413/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40384040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1414/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48380040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1415/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40380040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1416/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8380840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1417/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x380840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1418/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8384040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1419/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x384040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1420/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8380040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1421/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x380040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1422/2304]

◆ TEST() [1423/2304]

◆ TEST() [1424/2304]

◆ TEST() [1425/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x3c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1426/2304]

◆ TEST() [1427/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40380880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1428/2304]

◆ TEST() [1429/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40384080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1430/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48380080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1431/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40380080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1432/2304]

◆ TEST() [1433/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x380880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1434/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8384080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1435/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x384080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1436/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8380080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1437/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x380080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1438/2304]

◆ TEST() [1439/2304]

◆ TEST() [1440/2304]

◆ TEST() [1441/2304]

◆ TEST() [1442/2304]

◆ TEST() [1443/2304]

◆ TEST() [1444/2304]

◆ TEST() [1445/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x403c0800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1446/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x83c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1447/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x3c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1448/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x83c0800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1449/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x3c0800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1450/2304]

◆ TEST() [1451/2304]

◆ TEST() [1452/2304]

◆ TEST() [1453/2304]

◆ TEST() [1454/2304]

◆ TEST() [1455/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40380200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1456/2304]

◆ TEST() [1457/2304]

◆ TEST() [1458/2304]

◆ TEST() [1459/2304]

◆ TEST() [1460/2304]

◆ TEST() [1461/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x380200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1462/2304]

◆ TEST() [1463/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40381800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1464/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48380800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1465/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40380800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1466/2304]

◆ TEST() [1467/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40385000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1468/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48381000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1469/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40381000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1470/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48384000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1471/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40384000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1472/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48380000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1473/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40380000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1474/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8381800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1475/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x381800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1476/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8380800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1477/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x380800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1478/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8385000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1479/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x385000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1480/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8381000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1481/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x381000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1482/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8384000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1483/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x384000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1484/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8380000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1485/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX", 0x380000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1486/2304]

◆ TEST() [1487/2304]

◆ TEST() [1488/2304]

◆ TEST() [1489/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20184040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1490/2304]

◆ TEST() [1491/2304]

◆ TEST() [1492/2304]

◆ TEST() [1493/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1494/2304]

◆ TEST() [1495/2304]

◆ TEST() [1496/2304]

◆ TEST() [1497/2304]

◆ TEST() [1498/2304]

◆ TEST() [1499/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1500/2304]

◆ TEST() [1501/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60184000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1502/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1503/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1504/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28184000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1505/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20184000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1506/2304]

◆ TEST() [1507/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x401c0840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1508/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x81c0840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1509/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x1c0840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1510/2304]

◆ TEST() [1511/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40180840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1512/2304]

◆ TEST() [1513/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40184040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1514/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48180040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1515/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40180040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1516/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8180840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1517/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x180840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1518/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8184040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1519/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x184040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1520/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8180040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1521/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN", 0x180040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1522/2304]

◆ TEST() [1523/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x401c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1524/2304]

◆ TEST() [1525/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x1c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1526/2304]

◆ TEST() [1527/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40180880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1528/2304]

◆ TEST() [1529/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1530/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48180080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1531/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40180080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1532/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8180880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1533/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x180880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1534/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1535/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x184080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1536/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8180080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1537/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY", 0x180080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1538/2304]

◆ TEST() [1539/2304]

◆ TEST() [1540/2304]

◆ TEST() [1541/2304]

◆ TEST() [1542/2304]

◆ TEST() [1543/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x401c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1544/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x481c0800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1545/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x401c0800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1546/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x81c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1547/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x1c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1548/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x81c0800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1549/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x1c0800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1550/2304]

◆ TEST() [1551/2304]

◆ TEST() [1552/2304]

◆ TEST() [1553/2304]

◆ TEST() [1554/2304]

◆ TEST() [1555/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40180200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1556/2304]

◆ TEST() [1557/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x180a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1558/2304]

◆ TEST() [1559/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x184200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1560/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8180200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1561/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE", 0x180200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1562/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48181800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1563/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40181800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1564/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48180800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1565/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40180800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1566/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1567/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1568/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48181000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1569/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40181000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1570/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48184000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1571/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40184000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1572/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48180000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1573/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE", 0x40180000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1574/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8181800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1575/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x181800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1576/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8180800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1577/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY", 0x180800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1578/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1579/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x185000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1580/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8181000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1581/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x181000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1582/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8184000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1583/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY", 0x184000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1584/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOPORT", 0x8180000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1585/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LIVEVIDEO", 0x180000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1586/2304]

◆ TEST() [1587/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50304040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1588/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18304040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1589/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10304040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1590/2304]

◆ TEST() [1591/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50304080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1592/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18304080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1593/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10304080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1594/2304]

◆ TEST() [1595/2304]

◆ TEST() [1596/2304]

◆ TEST() [1597/2304]

◆ TEST() [1598/2304]

◆ TEST() [1599/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1600/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58304000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1601/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50304000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1602/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1603/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1604/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18304000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1605/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10304000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1606/2304]

◆ TEST() [1607/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50104040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1608/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18104040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1609/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10104040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1610/2304]

◆ TEST() [1611/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1612/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1613/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1614/2304]

◆ TEST() [1615/2304]

◆ TEST() [1616/2304]

◆ TEST() [1617/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10104200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1618/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1619/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1620/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58104000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1621/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50104000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1622/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1623/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1624/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18104000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1625/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10104000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1626/2304]

◆ TEST() [1627/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60304040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1628/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28304040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1629/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20304040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1630/2304]

◆ TEST() [1631/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60304080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1632/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28304080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1633/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20304080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1634/2304]

◆ TEST() [1635/2304]

◆ TEST() [1636/2304]

◆ TEST() [1637/2304]

◆ TEST() [1638/2304]

◆ TEST() [1639/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1640/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68304000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1641/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60304000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1642/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1643/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1644/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28304000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1645/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20304000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1646/2304]

◆ TEST() [1647/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40340840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1648/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8340840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1649/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x340840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1650/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48300840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1651/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40300840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1652/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48304040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1653/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40304040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1654/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48300040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1655/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40300040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1656/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8300840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1657/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x300840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1658/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8304040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1659/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x304040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1660/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8300040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1661/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x300040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1662/2304]

◆ TEST() [1663/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40340880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1664/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8340880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1665/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x340880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1666/2304]

◆ TEST() [1667/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40300880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1668/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48304080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1669/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40304080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1670/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48300080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1671/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40300080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1672/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8300880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1673/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x300880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1674/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8304080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1675/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x304080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1676/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8300080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1677/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x300080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1678/2304]

◆ TEST() [1679/2304]

◆ TEST() [1680/2304]

◆ TEST() [1681/2304]

◆ TEST() [1682/2304]

◆ TEST() [1683/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40341800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1684/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48340800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1685/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40340800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1686/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8341800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1687/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x341800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1688/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8340800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1689/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x340800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1690/2304]

◆ TEST() [1691/2304]

◆ TEST() [1692/2304]

◆ TEST() [1693/2304]

◆ TEST() [1694/2304]

◆ TEST() [1695/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40300200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1696/2304]

◆ TEST() [1697/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x300a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1698/2304]

◆ TEST() [1699/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x304200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1700/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8300200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1701/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x300200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1702/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48301800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1703/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40301800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1704/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48300800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1705/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40300800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1706/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1707/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1708/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48301000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1709/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40301000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1710/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48304000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1711/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40304000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1712/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48300000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1713/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40300000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1714/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8301800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1715/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x301800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1716/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8300800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1717/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x300800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1718/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1719/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x305000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1720/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8301000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1721/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x301000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1722/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8304000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1723/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x304000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1724/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8300000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1725/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_MODEX", 0x300000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1726/2304]

◆ TEST() [1727/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60104040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1728/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28104040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1729/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20104040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1730/2304]

◆ TEST() [1731/2304]

◆ TEST() [1732/2304]

◆ TEST() [1733/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1734/2304]

◆ TEST() [1735/2304]

◆ TEST() [1736/2304]

◆ TEST() [1737/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20104200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1738/2304]

◆ TEST() [1739/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1740/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68104000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1741/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60104000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1742/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1743/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1744/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28104000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1745/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20104000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1746/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48140840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1747/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40140840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1748/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8140840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1749/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x140840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1750/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48100840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1751/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40100840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1752/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48104040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1753/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40104040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1754/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48100040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1755/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40100040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1756/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8100840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1757/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x100840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1758/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8104040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1759/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x104040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1760/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8100040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1761/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OFFSCREENPLAIN", 0x100040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1762/2304]

◆ TEST() [1763/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40140880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1764/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8140880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1765/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x140880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1766/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48100880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1767/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40100880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1768/2304]

◆ TEST() [1769/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1770/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48100080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1771/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40100080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1772/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8100880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1773/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x100880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1774/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1775/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x104080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1776/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8100080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1777/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OVERLAY", 0x100080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1778/2304]

◆ TEST() [1779/2304]

◆ TEST() [1780/2304]

◆ TEST() [1781/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x140a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1782/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48141800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1783/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40141800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1784/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48140800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1785/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40140800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1786/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8141800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1787/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x141800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1788/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8140800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1789/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x140800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1790/2304]

◆ TEST() [1791/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40100a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1792/2304]

◆ TEST() [1793/2304]

◆ TEST() [1794/2304]

◆ TEST() [1795/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40100200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1796/2304]

◆ TEST() [1797/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x100a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1798/2304]

◆ TEST() [1799/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x104200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1800/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8100200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1801/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_PRIMARYSURFACE", 0x100200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1802/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48101800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1803/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40101800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1804/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48100800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1805/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40100800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1806/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1807/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1808/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48101000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1809/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40101000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1810/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48104000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1811/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40104000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1812/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48100000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1813/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_STANDARDVGAMODE", 0x40100000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1814/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8101800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1815/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x101800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1816/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8100800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1817/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_SYSTEMMEMORY", 0x100800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1818/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1819/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x105000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1820/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8101000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1821/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_TEXTURE", 0x101000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1822/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8104000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1823/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_VIDEOMEMORY", 0x104000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1824/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC | DDSCAPS_VIDEOPORT", 0x8100000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1825/2304]

TEST ( TestCaps("DDSCAPS_HWCODEC", 0x100000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1826/2304]

◆ TEST() [1827/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50284040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1828/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18284040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1829/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10284040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1830/2304]

◆ TEST() [1831/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50284080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1832/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18284080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1833/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10284080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1834/2304]

◆ TEST() [1835/2304]

◆ TEST() [1836/2304]

◆ TEST() [1837/2304]

◆ TEST() [1838/2304]

◆ TEST() [1839/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1840/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58284000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1841/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50284000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1842/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1843/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1844/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18284000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1845/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10284000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1846/2304]

◆ TEST() [1847/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50084040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1848/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18084040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1849/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10084040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1850/2304]

◆ TEST() [1851/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1852/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1853/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1854/2304]

◆ TEST() [1855/2304]

◆ TEST() [1856/2304]

◆ TEST() [1857/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10084200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1858/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1859/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1860/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58084000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1861/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50084000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1862/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1863/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1864/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18084000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1865/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10084000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1866/2304]

◆ TEST() [1867/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60284040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1868/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28284040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1869/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20284040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1870/2304]

◆ TEST() [1871/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60284080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1872/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28284080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1873/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20284080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1874/2304]

◆ TEST() [1875/2304]

◆ TEST() [1876/2304]

◆ TEST() [1877/2304]

◆ TEST() [1878/2304]

◆ TEST() [1879/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1880/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68284000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1881/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60284000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1882/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1883/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1884/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28284000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1885/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20284000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1886/2304]

◆ TEST() [1887/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x402c0840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1888/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x82c0840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1889/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x2c0840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1890/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48280840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1891/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40280840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1892/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48284040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1893/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40284040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1894/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48280040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1895/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40280040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1896/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8280840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1897/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x280840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1898/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8284040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1899/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x284040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1900/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8280040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1901/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x280040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1902/2304]

◆ TEST() [1903/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x402c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1904/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x82c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1905/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x2c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1906/2304]

◆ TEST() [1907/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40280880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1908/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48284080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1909/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40284080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1910/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48280080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1911/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40280080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1912/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8280880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1913/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x280880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [1914/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8284080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1915/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x284080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1916/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8280080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1917/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x280080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1918/2304]

◆ TEST() [1919/2304]

◆ TEST() [1920/2304]

◆ TEST() [1921/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x2c0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1922/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x482c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1923/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x402c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1924/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x482c0800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1925/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x402c0800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1926/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x82c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1927/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x2c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1928/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x82c0800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1929/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x2c0800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1930/2304]

◆ TEST() [1931/2304]

◆ TEST() [1932/2304]

◆ TEST() [1933/2304]

◆ TEST() [1934/2304]

◆ TEST() [1935/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40280200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1936/2304]

◆ TEST() [1937/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x280a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1938/2304]

◆ TEST() [1939/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x284200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1940/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8280200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1941/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x280200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1942/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48281800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1943/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40281800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1944/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48280800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1945/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40280800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1946/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1947/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1948/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48281000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1949/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40281000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1950/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48284000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1951/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40284000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1952/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48280000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1953/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40280000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1954/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8281800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1955/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x281800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1956/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8280800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1957/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x280800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1958/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1959/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x285000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1960/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8281000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1961/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x281000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1962/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8284000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1963/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x284000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1964/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8280000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1965/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_MODEX", 0x280000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1966/2304]

◆ TEST() [1967/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60084040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1968/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28084040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1969/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20084040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1970/2304]

◆ TEST() [1971/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1972/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1973/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [1974/2304]

◆ TEST() [1975/2304]

◆ TEST() [1976/2304]

◆ TEST() [1977/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20084200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [1978/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1979/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1980/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68084000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1981/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60084000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1982/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1983/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1984/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28084000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1985/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20084000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1986/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x480c0840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1987/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x400c0840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1988/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x80c0840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1989/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0xc0840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1990/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48080840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1991/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40080840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1992/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48084040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1993/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40084040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1994/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48080040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1995/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40080040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1996/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8080840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1997/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x80840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1998/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8084040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [1999/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x84040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2000/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8080040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2001/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OFFSCREENPLAIN", 0x80040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2002/2304]

◆ TEST() [2003/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x400c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2004/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x80c0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2005/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0xc0880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2006/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48080880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2007/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40080880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2008/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2009/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2010/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48080080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2011/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40080080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2012/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8080880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2013/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x80880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2014/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8084080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2015/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x84080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2016/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8080080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2017/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OVERLAY", 0x80080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2018/2304]

◆ TEST() [2019/2304]

◆ TEST() [2020/2304]

◆ TEST() [2021/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0xc0a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2022/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x480c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2023/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x400c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2024/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x480c0800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2025/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x400c0800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2026/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x80c1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2027/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0xc1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2028/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x80c0800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2029/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0xc0800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2030/2304]

◆ TEST() [2031/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40080a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2032/2304]

◆ TEST() [2033/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40084200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2034/2304]

◆ TEST() [2035/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40080200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2036/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8080a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2037/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x80a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2038/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8084200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2039/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x84200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2040/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8080200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2041/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_PRIMARYSURFACE", 0x80200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2042/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48081800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2043/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40081800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2044/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48080800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2045/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40080800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2046/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2047/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2048/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48081000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2049/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40081000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2050/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48084000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2051/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40084000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2052/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48080000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2053/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_STANDARDVGAMODE", 0x40080000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2054/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8081800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2055/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x81800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2056/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8080800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2057/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_SYSTEMMEMORY", 0x80800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2058/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8085000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2059/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x85000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2060/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8081000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2061/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_TEXTURE", 0x81000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2062/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8084000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2063/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOMEMORY", 0x84000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2064/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO | DDSCAPS_VIDEOPORT", 0x8080000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2065/2304]

TEST ( TestCaps("DDSCAPS_LIVEVIDEO", 0x80000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2066/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58204040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2067/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50204040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2068/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18204040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2069/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10204040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2070/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58204080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2071/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50204080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2072/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18204080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2073/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10204080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2074/2304]

◆ TEST() [2075/2304]

◆ TEST() [2076/2304]

◆ TEST() [2077/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10204200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2078/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2079/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2080/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58204000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2081/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50204000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2082/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2083/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2084/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18204000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2085/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x10204000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2086/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58004040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2087/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50004040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2088/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18004040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2089/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x10004040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2090/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2091/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2092/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2093/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x10004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2094/2304]

◆ TEST() [2095/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2096/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2097/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x10004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2098/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2099/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x50005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2100/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x58004000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2101/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x50004000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2102/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2103/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x10005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2104/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x18004000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2105/2304]

TEST ( TestCaps("DDSCAPS_LOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x10004000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2106/2304]

◆ TEST() [2107/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60204040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2108/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28204040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2109/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20204040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2110/2304]

◆ TEST() [2111/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60204080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2112/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28204080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2113/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20204080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2114/2304]

◆ TEST() [2115/2304]

◆ TEST() [2116/2304]

◆ TEST() [2117/2304]

◆ TEST() [2118/2304]

◆ TEST() [2119/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2120/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68204000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2121/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60204000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2122/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2123/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2124/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28204000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2125/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20204000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2126/2304]

◆ TEST() [2127/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40240840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2128/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8240840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2129/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x240840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2130/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48200840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2131/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40200840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2132/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48204040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2133/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40204040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2134/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48200040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2135/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40200040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2136/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8200840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2137/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x200840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2138/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8204040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2139/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x204040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2140/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8200040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2141/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OFFSCREENPLAIN", 0x200040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2142/2304]

◆ TEST() [2143/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40240880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2144/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8240880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2145/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x240880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2146/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48200880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2147/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40200880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2148/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48204080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2149/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40204080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2150/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48200080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2151/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40200080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2152/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8200880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2153/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x200880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2154/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8204080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2155/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x204080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2156/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8200080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2157/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OVERLAY", 0x200080, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2158/2304]

◆ TEST() [2159/2304]

◆ TEST() [2160/2304]

◆ TEST() [2161/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x240a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2162/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48241800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2163/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40241800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2164/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48240800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2165/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40240800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2166/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8241800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2167/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x241800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2168/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8240800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2169/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x240800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2170/2304]

◆ TEST() [2171/2304]

◆ TEST() [2172/2304]

◆ TEST() [2173/2304]

◆ TEST() [2174/2304]

◆ TEST() [2175/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40200200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2176/2304]

◆ TEST() [2177/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x200a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2178/2304]

◆ TEST() [2179/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x204200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2180/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8200200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2181/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_PRIMARYSURFACE", 0x200200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2182/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48201800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2183/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40201800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2184/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48200800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2185/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40200800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2186/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2187/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2188/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48201000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2189/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40201000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2190/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48204000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2191/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40204000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2192/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48200000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2193/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_STANDARDVGAMODE", 0x40200000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2194/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8201800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2195/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x201800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2196/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8200800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2197/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_SYSTEMMEMORY", 0x200800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2198/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2199/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x205000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2200/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8201000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2201/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_TEXTURE", 0x201000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2202/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8204000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2203/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_VIDEOMEMORY", 0x204000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2204/2304]

TEST ( TestCaps("DDSCAPS_MODEX | DDSCAPS_VIDEOPORT", 0x8200000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2205/2304]

TEST ( TestCaps("DDSCAPS_MODEX", 0x200000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2206/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68004040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2207/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60004040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2208/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28004040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2209/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x20004040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2210/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2211/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2212/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2213/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x20004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2214/2304]

◆ TEST() [2215/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2216/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2217/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x20004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2218/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2219/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x60005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2220/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x68004000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2221/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x60004000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2222/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2223/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x20005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2224/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x28004000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2225/2304]

TEST ( TestCaps("DDSCAPS_NONLOCALVIDMEM | DDSCAPS_VIDEOMEMORY", 0x20004000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2226/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48040840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2227/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40040840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2228/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8040840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2229/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x40840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2230/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48000840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2231/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40000840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2232/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48004040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2233/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40004040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2234/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48000040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2235/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_STANDARDVGAMODE", 0x40000040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2236/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8000840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2237/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY", 0x840, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2238/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8004040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2239/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOMEMORY", 0x4040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2240/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN | DDSCAPS_VIDEOPORT", 0x8000040, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2241/2304]

TEST ( TestCaps("DDSCAPS_OFFSCREENPLAIN", 0x40, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2242/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48040880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2243/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40040880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2244/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8040880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2245/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY | DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x40880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2246/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48000880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2247/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40000880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2248/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2249/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2250/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48000080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2251/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY | DDSCAPS_STANDARDVGAMODE", 0x40000080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2252/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8000880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2253/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY | DDSCAPS_SYSTEMMEMORY", 0x880, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2254/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8004080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2255/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY | DDSCAPS_VIDEOMEMORY", 0x4080, DDERR_INVALIDPARAMS, DDERR_INVALIDPIXELFORMAT )

◆ TEST() [2256/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY | DDSCAPS_VIDEOPORT", 0x8000080, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2257/2304]

TEST ( TestCaps("DDSCAPS_OVERLAY", 0x80, DDERR_INVALIDPARAMS, DDERR_NOOVERLAYHW )

◆ TEST() [2258/2304]

◆ TEST() [2259/2304]

◆ TEST() [2260/2304]

◆ TEST() [2261/2304]

TEST ( TestCaps("DDSCAPS_OWNDC | DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0x40a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2262/2304]

TEST ( TestCaps("DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48041800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2263/2304]

TEST ( TestCaps("DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40041800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2264/2304]

TEST ( TestCaps("DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48040800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2265/2304]

TEST ( TestCaps("DDSCAPS_OWNDC | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40040800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2266/2304]

TEST ( TestCaps("DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8041800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2267/2304]

TEST ( TestCaps("DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x41800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2268/2304]

TEST ( TestCaps("DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8040800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2269/2304]

TEST ( TestCaps("DDSCAPS_OWNDC | DDSCAPS_SYSTEMMEMORY", 0x40800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2270/2304]

TEST ( TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48000a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2271/2304]

TEST ( TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40000a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2272/2304]

TEST ( TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2273/2304]

TEST ( TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2274/2304]

TEST ( TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48000200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2275/2304]

TEST ( TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_STANDARDVGAMODE", 0x40000200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2276/2304]

TEST ( TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8000a00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2277/2304]

TEST ( TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY", 0xa00, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2278/2304]

TEST ( TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8004200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2279/2304]

TEST ( TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOMEMORY", 0x4200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2280/2304]

TEST ( TestCaps("DDSCAPS_PRIMARYSURFACE | DDSCAPS_VIDEOPORT", 0x8000200, DDERR_PRIMARYSURFACEALREADYEXISTS, DDERR_INVALIDPARAMS )

◆ TEST() [2281/2304]

TEST ( TestCaps("DDSCAPS_PRIMARYSURFACE", 0x200, DD_OK, DDERR_INVALIDPARAMS )

◆ TEST() [2282/2304]

TEST ( TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48001800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2283/2304]

TEST ( TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x40001800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2284/2304]

TEST ( TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x48000800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2285/2304]

TEST ( TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_SYSTEMMEMORY", 0x40000800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2286/2304]

TEST ( TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2287/2304]

TEST ( TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x40005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2288/2304]

TEST ( TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x48001000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2289/2304]

TEST ( TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_TEXTURE", 0x40001000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2290/2304]

TEST ( TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x48004000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2291/2304]

TEST ( TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOMEMORY", 0x40004000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2292/2304]

TEST ( TestCaps("DDSCAPS_STANDARDVGAMODE | DDSCAPS_VIDEOPORT", 0x48000000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2293/2304]

TEST ( TestCaps("DDSCAPS_STANDARDVGAMODE", 0x40000000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2294/2304]

TEST ( TestCaps("DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8001800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2295/2304]

TEST ( TestCaps("DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE", 0x1800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2296/2304]

TEST ( TestCaps("DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOPORT", 0x8000800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2297/2304]

TEST ( TestCaps("DDSCAPS_SYSTEMMEMORY", 0x800, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2298/2304]

TEST ( TestCaps("DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8005000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2299/2304]

TEST ( TestCaps("DDSCAPS_TEXTURE | DDSCAPS_VIDEOMEMORY", 0x5000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2300/2304]

TEST ( TestCaps("DDSCAPS_TEXTURE | DDSCAPS_VIDEOPORT", 0x8001000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2301/2304]

TEST ( TestCaps("DDSCAPS_TEXTURE", 0x1000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2302/2304]

TEST ( TestCaps("DDSCAPS_VIDEOMEMORY | DDSCAPS_VIDEOPORT", 0x8004000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2303/2304]

TEST ( TestCaps("DDSCAPS_VIDEOMEMORY", 0x4000, DDERR_INVALIDPARAMS, DD_OK )

◆ TEST() [2304/2304]

TEST ( TestCaps("DDSCAPS_VIDEOPORT", 0x8000000, DDERR_INVALIDPARAMS, DD_OK )