/* INCLUDES *****************************************************************/
-#define LEAN_AND_MEAN
-#include <stdio.h>
+#define WIN32_NO_STATUS
+#include <stdarg.h>
+#include <windef.h>
+#include <winbase.h>
+#include <winuser.h>
#include <stdlib.h>
-#include <windows.h>
#include <tchar.h>
+
#define NDEBUG
#include <debug.h>
+
#include "resource.h"
/* FUNCTIONS ****************************************************************/
0,
NULL);
LoadString(GetModuleHandle(NULL),
- IDS_FAILED_WITH_ERROCODE,
+ IDS_FAILED_WITH_ERRORCODE,
szFmtString,
sizeof(szFmtString) / sizeof(szFmtString[0]));
_sntprintf(buffer,
if (IsSubstedDrive(Drive))
{
LoadString(GetModuleHandle(NULL),
- IDS_DRIVE_ALREAD_SUBSTED,
+ IDS_DRIVE_ALREADY_SUBSTED,
szFmtString,
sizeof(szFmtString) / sizeof(szFmtString[0]));
_tprintf(szFmtString);