first commit

This commit is contained in:
2025-04-07 07:44:27 -07:00
commit d6cde0c05e
512 changed files with 142392 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
// InstallDriver.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "InstallDriver.h"
#include "..\inpout32.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// The one and only application object
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
int nRetCode = 0;
BOOL bResult = IsInpOutDriverOpen();
if (IsXP64Bit())
{
if (bResult)
MessageBox(NULL, _T("Successfully installed and opened\n64bit InpOut driver InpOutx64.sys."), _T("InpOut Installation"), 0);
else
MessageBox(NULL, _T("Unable to install or open the\n64bit InpOut driver InpOutx64.sys.\n\nPlease try running as Administrator"), _T("InpOut Installation"), 0);
}
else
{
if (bResult)
MessageBox(NULL, _T("Successfully installed and opened\n32bit InpOut driver InpOut32.sys."), _T("InpOut Installation"), 0);
else
MessageBox(NULL, _T("Unable to install or open the\n32bit InpOut driver InpOut32.sys.\n\nPlease try running as Administrator"), _T("InpOut Installation"), 0);
}
return nRetCode;
}