Simplify code
svn path=/trunk/; revision=56586
+ if (fuUsage != DIB_RGB_COLORS)
- if (lpbmih && (lpbmih != (PVOID)0xc0000000) && (lpbmih->biSize != 0))
- {
- if (hdc == (HDC)-1)
- {
- *pdwError = ERROR_INVALID_PARAMETER;
- return FALSE;
- }
- }
-
-
if ((lpbmih == NULL) ||
(lpbmih == (PVOID)0xC0000000) ||
(lpbmih->biSize == 0))
if ((lpbmih == NULL) ||
(lpbmih == (PVOID)0xC0000000) ||
(lpbmih->biSize == 0))
+ if (hdc == (HDC)-1)
+ {
+ *pdwError = ERROR_INVALID_PARAMETER;
+ return FALSE;
+ }
+
+
if (lpbmi == (PVOID)0xc0000000) return FALSE;
if (lpbmi == (PVOID)0xc0000000) return FALSE;