diff --git a/Sandboxie/core/dll/gdi.c b/Sandboxie/core/dll/gdi.c index 9a07a377..938f7b60 100644 --- a/Sandboxie/core/dll/gdi.c +++ b/Sandboxie/core/dll/gdi.c @@ -96,6 +96,9 @@ static BOOL Gdi_ClosePrinter(HANDLE hPrinter); //typedef HDC (*P_CreateDCW)( // void *lpszDriver, void *lpszDevice, void *lpszOutput, void *lpInitData); +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 ULONG (*P_GdiAddFontResourceW)( const WCHAR *path, ULONG flags, void *reserved); diff --git a/Sandboxie/core/dll/gui_p.h b/Sandboxie/core/dll/gui_p.h index 2c07764f..a111e7e4 100644 --- a/Sandboxie/core/dll/gui_p.h +++ b/Sandboxie/core/dll/gui_p.h @@ -427,10 +427,6 @@ 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_CreateDCW)(LPCWSTR pwszDriver, LPCWSTR pwszDevice, LPCWSTR pszPort,DEVMODEA *pdm); - typedef BOOL (*P_TransparentBlt)( HDC hdcDest, int xoriginDest,