summaryrefslogtreecommitdiffstats
path: root/public/oak/inc/dderror.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/oak/inc/dderror.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/public/oak/inc/dderror.h b/public/oak/inc/dderror.h
new file mode 100644
index 000000000..f00da00a3
--- /dev/null
+++ b/public/oak/inc/dderror.h
@@ -0,0 +1,39 @@
+/*++ BUILD Version: 0000 Increment this if a change has global effects
+
+Copyright (c) 1990-1996 Microsoft Corporation
+
+Module Name:
+
+ dderror.h
+
+Abstract:
+
+ This module defines the 32-Bit Windows error codes that are useable by
+ portable kernel drivers.
+
+Revision History:
+
+--*/
+
+#ifndef _DDERROR_
+#define _DDERROR_
+
+/*
+ * This file is a subset of Win32 error codes. Other win32 error codes
+ * are not supported by portable drivers and should not beused.
+ * This #define removes the definitions of all other error codes.
+ */
+
+#define _WINERROR_
+
+#define NO_ERROR 0L
+#define ERROR_INVALID_FUNCTION 1L
+#define ERROR_NOT_ENOUGH_MEMORY 8L
+#define ERROR_DEV_NOT_EXIST 55L
+#define ERROR_INVALID_PARAMETER 87L
+#define ERROR_INSUFFICIENT_BUFFER 122L
+#define ERROR_MORE_DATA 234L
+#define ERROR_IO_PENDING 997L
+
+#endif /* _DDERROR_ */
+