-#include <stdio.h>
+#ifndef _SAMLIB_PCH_
+#define _SAMLIB_PCH_
+
#include <stdarg.h>
#define WIN32_NO_STATUS
-#include <windows.h>
-#include <winerror.h>
-#define NTOS_MODE_USER
-#include <ndk/rtlfuncs.h>
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
+#include <windef.h>
+#include <winbase.h>
+#include <winnls.h>
-#include "debug.h"
+#endif /* _SAMLIB_PCH_ */