添加一些东西

This commit is contained in:
2022-10-30 09:51:07 +08:00
parent ad0c970d67
commit 9aed7a1d2f
5 changed files with 102 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#include <windows.h>
#include <iostream>
//#include <stdlib.h>
//#include <stdio.h>
using namespace std;
int main(void)
{
HKEY hKey;
if(RegOpenKey(HKEY_LOCAL_MACHINE, TEXT("Software/Wine"), &hKey == ERROR_SUCCESS)){
cout << "Run In Wine" << endl;
return 0;
}
cout << "Don't 'Run In Wine" << endl;
return 0;
}