fix: #51 Different function calling convention

This commit is contained in:
yuanyuanxiang
2025-03-30 20:18:18 +08:00
parent 0ec02402e3
commit 53f2bbed73
16 changed files with 29 additions and 63 deletions

View File

@@ -60,7 +60,7 @@ CScreenManager::CScreenManager(IOCPClient* ClientObject, int n, void* user):CMan
Mprintf("CScreenManager: DXGI %s Algorithm: %d\n", DXGI ? "On":"Off", int(algo));
m_ScreenSpyObject = (DXGI && IsWindows8orHigher()) ? (ScreenCapture*) new ScreenCapturerDXGI(algo) : new CScreenSpy(32, algo);
m_hWorkThread = CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)WorkThreadProc,this,0,NULL);
m_hWorkThread = CreateThread(NULL,0, WorkThreadProc,this,0,NULL);
}