diff --git a/certs/.gitignore b/certs/.gitignore
new file mode 100644
index 00000000..12621cbc
--- /dev/null
+++ b/certs/.gitignore
@@ -0,0 +1 @@
+!*.pfx
\ No newline at end of file
diff --git a/certs/Magpie.pfx b/certs/Magpie.pfx
new file mode 100644
index 00000000..d12c476b
Binary files /dev/null and b/certs/Magpie.pfx differ
diff --git a/src/TouchHelper/TouchHelper.vcxproj b/src/TouchHelper/TouchHelper.vcxproj
index bea2a1a5..179414b3 100644
--- a/src/TouchHelper/TouchHelper.vcxproj
+++ b/src/TouchHelper/TouchHelper.vcxproj
@@ -34,7 +34,7 @@
Windows
- Pathcch.lib;%(AdditionalDependencies)
+ Magnification.lib;%(AdditionalDependencies)
true
diff --git a/src/TouchHelper/main.cpp b/src/TouchHelper/main.cpp
index f44c6828..97905037 100644
--- a/src/TouchHelper/main.cpp
+++ b/src/TouchHelper/main.cpp
@@ -1,4 +1,5 @@
#include "pch.h"
+#include
int APIENTRY wWinMain(
_In_ HINSTANCE /*hInstance*/,
@@ -6,5 +7,17 @@ int APIENTRY wWinMain(
_In_ LPWSTR /*lpCmdLine*/,
_In_ int /*nCmdShow*/
) {
+ if (!MagInitialize()) {
+ MessageBox(NULL, L"失败", L"消息", MB_OK);
+ return 1;
+ }
+
+ RECT srcRect{ 0,0,100,100 };
+ RECT destRect{ 10,10,210,210 };
+ if (!MagSetInputTransform(TRUE, &srcRect, &destRect)) {
+ MessageBox(NULL, L"失败", L"消息", MB_OK);
+ return 1;
+ }
+
return 0;
}