mirror of
https://github.com/reactos/reactos.git
synced 2024-07-21 19:58:08 +00:00
implement DeviceCapabilitiesExA and DeviceCapabilitiesExW, both always return -1
redirect DeleteColorSpace@4 to NtGdiDeleteColorSpace@4 svn path=/trunk/; revision=28494
This commit is contained in:
parent
49b4adc779
commit
ee0dd7fa6e
|
@ -86,18 +86,21 @@ CreateRoundRectRgn@24=NtGdiCreateRoundRectRgn@24
|
|||
CreateScalableFontResourceA@16
|
||||
CreateScalableFontResourceW@16
|
||||
CreateSolidBrush@4
|
||||
|
||||
ClearBitmapAttributes@8
|
||||
ClearBrushAttributes@8
|
||||
DPtoLP@12
|
||||
DeleteColorSpace@4
|
||||
DeleteColorSpace@4=NtGdiDeleteColorSpace@4
|
||||
DeleteDC@4
|
||||
DeleteEnhMetaFile@4
|
||||
DeleteMetaFile@4
|
||||
DeleteObject@4
|
||||
DescribePixelFormat@16
|
||||
DeviceCapabilitiesExA@20
|
||||
DeviceCapabilitiesExW@20
|
||||
DeviceCapabilitiesExA
|
||||
DeviceCapabilitiesExW
|
||||
DrawEscape@16
|
||||
|
||||
ClearBitmapAttributes@8
|
||||
ClearBrushAttributes@8
|
||||
DeleteObject@4
|
||||
DescribePixelFormat@16
|
||||
DdEntry1@16=NtGdiD3dContextCreate@16
|
||||
DdEntry2@4=NtGdiD3dContextDestroy@4
|
||||
DdEntry3@4=NtGdiD3dContextDestroyAll@4
|
||||
|
@ -154,7 +157,6 @@ DdEntry53@8=NtGdiDdUnlock@8
|
|||
DdEntry54@8=NtGdiDdUnlockD3D@8
|
||||
DdEntry55@12=NtGdiDdUpdateOverlay@12
|
||||
DdEntry56@8=NtGdiDdWaitForVerticalBlank@8
|
||||
DrawEscape@16
|
||||
Ellipse@20=NtGdiEllipse@20
|
||||
EnableEUDC@4
|
||||
EndDoc@4
|
||||
|
|
|
@ -836,22 +836,6 @@ SetColorSpace(
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOL
|
||||
STDCALL
|
||||
DeleteColorSpace(
|
||||
HCOLORSPACE a0
|
||||
)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
* @implemented
|
||||
*/
|
||||
int
|
||||
STDCALL
|
||||
|
@ -27,9 +27,8 @@ DeviceCapabilitiesExA(
|
|||
CONST DEVMODEA *pDevMode
|
||||
)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
/* Note Windows 2000/XP/VISTA always return -1 */
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#define UNIMPLEMENTED DbgPrint("GDI32: %s is unimplemented, please try again later.\n", __FUNCTION__);
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
* @implemented
|
||||
*/
|
||||
int
|
||||
STDCALL
|
||||
|
@ -26,18 +26,8 @@ DeviceCapabilitiesExW(
|
|||
CONST DEVMODEW *pDevMode
|
||||
)
|
||||
{
|
||||
#if 0
|
||||
/* FIXME no NtGdiDeviceCapabilities???? */
|
||||
return NtGdiDeviceCapabilities ( pDevice,
|
||||
pPort,
|
||||
fwCapability,
|
||||
pOutput,
|
||||
pDevMode );
|
||||
#else
|
||||
UNIMPLEMENTED;
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
#endif
|
||||
/* Note Windows 2000/XP/VISTA always return -1 */
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue