Set svn:eol-style "native" for all apitest stuff
[reactos.git] / rostests / apitests / w32knapi / ntgdi / NtGdiArcInternal.c
index ce7ba5b..81c0bde 100644 (file)
@@ -1,36 +1,36 @@
-INT\r
-Test_NtGdiArcInternal(PTESTINFO pti)\r
-{\r
-       HDC hDC = CreateDCW(L"Display",NULL,NULL,NULL);\r
-\r
-       SetLastError(ERROR_SUCCESS);\r
-       TEST(NtGdiArcInternal(0, 0, 0, 0, 0, 0, 0, 0, 0, 0) == FALSE);\r
-       TEST(GetLastError() == ERROR_INVALID_HANDLE);\r
-\r
-       SetLastError(ERROR_SUCCESS);\r
-       TEST(NtGdiArcInternal(0, hDC, 0, 0, 0, 0, 0, 0, 0, 0) == TRUE);\r
-       TEST(NtGdiArcInternal(1, hDC, 0, 0, 0, 0, 0, 0, 0, 0) == TRUE);\r
-       TEST(NtGdiArcInternal(2, hDC, 0, 0, 0, 0, 0, 0, 0, 0) == TRUE);\r
-       TEST(NtGdiArcInternal(3, hDC, 0, 0, 0, 0, 0, 0, 0, 0) == TRUE);\r
-       TEST(GetLastError() == ERROR_SUCCESS);\r
-\r
-       SetLastError(ERROR_SUCCESS);\r
-       TEST(NtGdiArcInternal(4, hDC, 0, 0, 0, 0, 0, 0, 0, 0) == FALSE);\r
-       TEST(GetLastError() == ERROR_INVALID_PARAMETER);\r
-\r
-       SetLastError(ERROR_SUCCESS);\r
-       TEST(NtGdiArcInternal(4, (HDC)10, 0, 0, 0, 0, 0, 0, 0, 0) == FALSE);\r
-       TEST(GetLastError() == ERROR_INVALID_HANDLE);\r
-\r
-       SetLastError(ERROR_SUCCESS);\r
-       TEST(NtGdiArcInternal(0, hDC, 10, 10, 0, 0, 0, 0, 0, 0) == TRUE);\r
-       TEST(NtGdiArcInternal(0, hDC, 10, 10, -10, -10, 0, 0, 0, 0) == TRUE);\r
-       TEST(NtGdiArcInternal(0, hDC, 0, 0, 0, 0, 10, 0, -10, 0) == TRUE);\r
-\r
-// was passiert, wenn left > right ? einfach tauschen?\r
-\r
-\r
-       DeleteDC(hDC);\r
-\r
-       return APISTATUS_NORMAL;\r
-}\r
+INT
+Test_NtGdiArcInternal(PTESTINFO pti)
+{
+       HDC hDC = CreateDCW(L"Display",NULL,NULL,NULL);
+
+       SetLastError(ERROR_SUCCESS);
+       TEST(NtGdiArcInternal(0, 0, 0, 0, 0, 0, 0, 0, 0, 0) == FALSE);
+       TEST(GetLastError() == ERROR_INVALID_HANDLE);
+
+       SetLastError(ERROR_SUCCESS);
+       TEST(NtGdiArcInternal(0, hDC, 0, 0, 0, 0, 0, 0, 0, 0) == TRUE);
+       TEST(NtGdiArcInternal(1, hDC, 0, 0, 0, 0, 0, 0, 0, 0) == TRUE);
+       TEST(NtGdiArcInternal(2, hDC, 0, 0, 0, 0, 0, 0, 0, 0) == TRUE);
+       TEST(NtGdiArcInternal(3, hDC, 0, 0, 0, 0, 0, 0, 0, 0) == TRUE);
+       TEST(GetLastError() == ERROR_SUCCESS);
+
+       SetLastError(ERROR_SUCCESS);
+       TEST(NtGdiArcInternal(4, hDC, 0, 0, 0, 0, 0, 0, 0, 0) == FALSE);
+       TEST(GetLastError() == ERROR_INVALID_PARAMETER);
+
+       SetLastError(ERROR_SUCCESS);
+       TEST(NtGdiArcInternal(4, (HDC)10, 0, 0, 0, 0, 0, 0, 0, 0) == FALSE);
+       TEST(GetLastError() == ERROR_INVALID_HANDLE);
+
+       SetLastError(ERROR_SUCCESS);
+       TEST(NtGdiArcInternal(0, hDC, 10, 10, 0, 0, 0, 0, 0, 0) == TRUE);
+       TEST(NtGdiArcInternal(0, hDC, 10, 10, -10, -10, 0, 0, 0, 0) == TRUE);
+       TEST(NtGdiArcInternal(0, hDC, 0, 0, 0, 0, 10, 0, -10, 0) == TRUE);
+
+// was passiert, wenn left > right ? einfach tauschen?
+
+
+       DeleteDC(hDC);
+
+       return APISTATUS_NORMAL;
+}