36 if (Ret) pdc->ipfdDevMax = Ret;
45NtGdiDescribePixelFormat(
76 Ret = pdc->ipfdDevMax;
80 if ((
ipfd < 1) || (
ipfd > pdc->ipfdDevMax))
137 DPRINT1(
"Setting pixel format from win32k!\n");
146 if (!pdc->ipfdDevMax)
150 ipfd > pdc->ipfdDevMax )
FORCEINLINE VOID DC_UnlockDc(PDC pdc)
FORCEINLINE PDC DC_LockDc(HDC hdc)
HWND FASTCALL UserGethWnd(HDC, PWNDOBJ *)
#define ERROR_INVALID_PARAMETER
#define ERROR_INVALID_HANDLE
VOID NTAPI ProbeForWrite(IN PVOID Address, IN SIZE_T Length, IN ULONG Alignment)
#define EXCEPTION_EXECUTE_HANDLER
#define _Out_writes_bytes_(s)
static INT FASTCALL IntGetipfdDevMax(PDC pdc)
BOOL APIENTRY NtGdiSetPixelFormat(_In_ HDC hdc, _In_ INT ipfd)
BOOL APIENTRY NtGdiSwapBuffers(_In_ HDC hdc)
VOID FASTCALL UserLeave(VOID)
VOID FASTCALL UserEnterExclusive(VOID)
#define _SEH2_GetExceptionCode()
#define _SEH2_EXCEPT(...)
PFN_DrvSetPixelFormat SetPixelFormat
PFN_DrvDescribePixelFormat DescribePixelFormat
PFN_DrvSwapBuffers SwapBuffers
DRIVER_FUNCTIONS DriverFunctions
#define RtlCopyMemory(Destination, Source, Length)
VOID FASTCALL SetLastNtError(_In_ NTSTATUS Status)
_In_ HANDLE _In_ SURFOBJ * pso
ENGAPI VOID APIENTRY EngSetLastError(_In_ ULONG iError)
_In_ LONG _In_ ULONG cjpfd
_In_ LONG _In_ ULONG _Out_opt_ PIXELFORMATDESCRIPTOR * ppfd
#define ERROR_INVALID_PIXEL_FORMAT
#define ERROR_INVALID_WINDOW_STYLE