Implemented a large number of the 32-bit setupapi functions.
Fixed a number of setupx functions by making them call the setupapi
equivalents.

diff --git a/include/winnt.h b/include/winnt.h
index a8d9a80..76976e8 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -212,6 +212,13 @@
 #define OPTIONAL
 #endif
 
+/* Error Masks */
+#define APPLICATION_ERROR_MASK       0x20000000
+#define ERROR_SEVERITY_SUCCESS       0x00000000
+#define ERROR_SEVERITY_INFORMATIONAL 0x40000000
+#define ERROR_SEVERITY_WARNING       0x80000000
+#define ERROR_SEVERITY_ERROR         0xC0000000
+
 /* Standard data types */
 typedef const void                  *PCVOID,   *LPCVOID;
 typedef int             BOOL,       *PBOOL,    *LPBOOL;