commit | 161bc83164ef500940a132e42233effe476002de | [log] [tgz] |
---|---|---|
author | Brian Teague <bteague@rice.edu> | Wed Nov 29 20:02:46 2000 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Wed Nov 29 20:02:46 2000 +0000 |
tree | 5e3bf4e1b1559a922f38944da2869afb814a68c9 | |
parent | e296bf3717236c0b112dc8b60126db7ee3a40b62 [diff] [blame] |
Add a stub for the CAPS1 capability in GetDeviceCaps. Define the CAPS1 bit flags in wingdi.h Make various calls to GetDeviceCaps in DLLS use #defined values.
diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c index 4215a7e..dd39fa2 100644 --- a/dlls/comctl32/imagelist.c +++ b/dlls/comctl32/imagelist.c
@@ -1952,7 +1952,7 @@ return TRUE; if (bitspixel<=4) return FALSE; - return GetDeviceCaps(hdc,94) & 0x10; + return GetDeviceCaps(hdc,CAPS1) & C1_DIBENGINE; } #endif