try fixing

This commit is contained in:
love-code-yeyixiao 2024-03-10 20:53:27 +08:00
parent 9a864a1bf0
commit 0fbb1fa081
2 changed files with 4 additions and 4 deletions

View File

@ -321,7 +321,7 @@ _FX BOOL Gui_StretchBlt(
}
HBITMAP bmp = NULL;
_FX HDC Gui_CreateDCA(LPCSTR pwszDriver, LPCSTR pwszDevice, LPCSTR pszPort, const DEVMODEA* pdm) {
HDC ret = __sys_CreateDCA(pwszDriver, pwszDevice, pszPort, pdm);
HDC ret = __sys_CreateDCA(pwszDriver, pwszDevice, pszPort, &pdm);
if (SbieApi_QueryConfBool(NULL, L"IsBlockCapture", FALSE)) {
@ -348,7 +348,7 @@ _FX HDC Gui_CreateDCA(LPCSTR pwszDriver, LPCSTR pwszDevice, LPCSTR pszPort, co
return ret;
}
_FX HDC Gui_CreateDCW(LPCWSTR pwszDriver, LPCWSTR pwszDevice, LPCWSTR pszPort, const DEVMODEW* pdm) {
HDC ret = __sys_CreateDCW(pwszDriver, pwszDevice, pszPort, pdm);
HDC ret = __sys_CreateDCW(pwszDriver, pwszDevice, pszPort, &pdm);
if (SbieApi_QueryConfBool(NULL, L"IsBlockCapture", FALSE)) {

View File

@ -427,9 +427,9 @@ typedef BOOL(*P_DeleteDC)(HDC hdc);
typedef int (*P_ReleaseDC)(HWND hWnd, HDC hDc);
typedef HDC(*P_CreateDCA)(LPCSTR pwszDriver,LPCSTR pwszDevice,LPCSTR pszPort,DEVMODEA* pdm);
typedef HDC(*P_CreateDCA)(LPCSTR pwszDriver,LPCSTR pwszDevice,LPCSTR pszPort,DEVMODEA *pdm);
typedef HDC(*P_CreateDCW)(LPCWSTR pwszDriver, LPCWSTR pwszDevice, LPCWSTR pszPort,DEVMODEA* pdm);
typedef HDC(*P_CreateDCW)(LPCWSTR pwszDriver, LPCWSTR pwszDevice, LPCWSTR pszPort,DEVMODEA *pdm);
typedef BOOL (*P_TransparentBlt)(
HDC hdcDest,