TEST((hBmp = NtGdiCreateBitmap(1, -1, 1, 1, NULL)) == NULL);\r
TEST(GetLastError() == ERROR_INVALID_PARAMETER);\r
\r
+ /* Test witdth 0 params */\r
+ SetLastError(ERROR_SUCCESS);\r
+ TEST((hBmp = NtGdiCreateBitmap(0, 1, 1, 1, NULL)) == NULL);\r
+ TEST(GetLastError() == ERROR_INVALID_PARAMETER);\r
+\r
+ /* Test witdth -1 params */\r
+ SetLastError(ERROR_SUCCESS);\r
+ TEST((hBmp = NtGdiCreateBitmap(-1, 0, 1, 1, NULL)) == NULL);\r
+ TEST(GetLastError() == ERROR_INVALID_PARAMETER);\r
+\r
+\r
+\r
return APISTATUS_NORMAL;\r
}\r
\r