* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "precomp.h"
+#ifndef __REACTOS__
+#define WINVER 0x0501 /* request latest DEVMODE */
+#endif
+#define NONAMELESSSTRUCT
+#define NONAMELESSUNION
+
+#include <assert.h>
+#include <stdio.h>
-#include <winspool.h>
+#include "wine/test.h"
+#include "winbase.h"
+#include "wingdi.h"
+#include "winuser.h"
+#include "winspool.h"
+#include "winerror.h"
#ifndef LAYOUT_LTR
#define LAYOUT_LTR 0
case LOGPIXELSY:
hdc_caps *= scale;
break;
+ case VREFRESH:
+ if (GetDeviceCaps( hdc, TECHNOLOGY ) == DT_RASDISPLAY)
+ ok( hdc_caps > 0, "expected a positive value on %s, got %d\n", descr, hdc_caps );
+ else
+ ok( hdc_caps == 0, "expected 0 on %s, got %d\n", descr, hdc_caps );
+ break;
}
ok( abs(hdc_caps - GetDeviceCaps( ref_dc, caps[i] )) <= precision,