Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / reactos / win32ss / gdi / eng / error.c
diff --git a/reactos/win32ss/gdi/eng/error.c b/reactos/win32ss/gdi/eng/error.c
deleted file mode 100644 (file)
index 2ff3688..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#include <win32k.h>
-
-#define NDEBUG
-#include <debug.h>
-
-/*
- * @implemented
- * http://msdn.microsoft.com/en-us/library/ff564940%28VS.85%29.aspx
- */
-ULONG
-APIENTRY
-EngGetLastError(VOID)
-{
-    PTEB pTeb = NtCurrentTeb();
-    if (pTeb)
-        return NtCurrentTeb()->LastErrorValue;
-    else
-        return ERROR_SUCCESS;
-}
-
-/*
- * @implemented
- * http://msdn.microsoft.com/en-us/library/ff565015%28VS.85%29.aspx
- */
-VOID
-APIENTRY
-EngSetLastError(_In_ ULONG iError)
-{
-    PTEB pTeb = NtCurrentTeb();
-    if (pTeb)
-        pTeb->LastErrorValue = iError;
-}
-
-VOID
-FASTCALL
-SetLastNtError(NTSTATUS Status)
-{
-    EngSetLastError(RtlNtStatusToDosError(Status));
-}