Author: greatlrd
Date: Mon Aug 27 00:33:56 2007
New Revision: 28582
URL:
http://svn.reactos.org/svn/reactos?rev=28582&view=rev
Log:
Implement stub for NtGdiClearBrushAttributes, NtGdiColorCorrectPalette,
NtGdiComputeXformCoefficients, NtGdiConsoleTextOut, NtGdiConvertMetafileRect,
NtGdiCreateColorTransform, NtGdiDvpCanCreateVideoPort, NtGdiDvpColorControl,
NtGdiDvpCreateVideoPort, NtGdiDvpDestroyVideoPort, NtGdiDvpFlipVideoPort,
NtGdiDvpGetVideoPortBandwidth
Modified:
trunk/reactos/subsystems/win32/win32k/stubs/stubs.c
trunk/reactos/subsystems/win32/win32k/w32ksvc.db
Modified: trunk/reactos/subsystems/win32/win32k/stubs/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/st…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/stubs/stubs.c (original)
+++ trunk/reactos/subsystems/win32/win32k/stubs/stubs.c Mon Aug 27 00:33:56 2007
@@ -1970,3 +1970,174 @@
return NULL;
}
+ /*
+ * @unimplemented
+ */
+DWORD
+STDCALL
+NtGdiDvpCanCreateVideoPort(
+ IN HANDLE hDirectDraw,
+ IN OUT PDD_CANCREATEVPORTDATA puCanCreateVPortData)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+DWORD
+STDCALL
+NtGdiDvpColorControl(
+ IN HANDLE hVideoPort,
+ IN OUT PDD_VPORTCOLORDATA puVPortColorData)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+
+ /*
+ * @unimplemented
+ */
+HANDLE
+STDCALL
+NtGdiDvpCreateVideoPort(
+ IN HANDLE hDirectDraw,
+ IN OUT PDD_CREATEVPORTDATA puCreateVPortData)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+DWORD
+STDCALL
+NtGdiDvpDestroyVideoPort(
+ IN HANDLE hVideoPort,
+ IN OUT PDD_DESTROYVPORTDATA puDestroyVPortData)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+DWORD
+STDCALL
+NtGdiDvpFlipVideoPort(
+ IN HANDLE hVideoPort,
+ IN HANDLE hDDSurfaceCurrent,
+ IN HANDLE hDDSurfaceTarget,
+ IN OUT PDD_FLIPVPORTDATA puFlipVPortData)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+
+ /*
+ * @unimplemented
+ */
+DWORD
+STDCALL
+NtGdiDvpGetVideoPortBandwidth(
+ IN HANDLE hVideoPort,
+ IN OUT PDD_GETVPORTBANDWIDTHDATA puGetVPortBandwidthData)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+HBRUSH
+STDCALL
+NtGdiClearBrushAttributes(
+ IN HBRUSH hbm,
+ IN DWORD dwFlags)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+ /*
+ * @unimplemented
+ */
+ULONG
+STDCALL
+NtGdiColorCorrectPalette(
+ IN HDC hdc,
+ IN HPALETTE hpal,
+ IN ULONG FirstEntry,
+ IN ULONG NumberOfEntries,
+ IN OUT PALETTEENTRY *ppalEntry,
+ IN ULONG Command)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+HANDLE
+STDCALL
+NtGdiCreateColorTransform(
+ IN HDC hdc,
+ IN LPLOGCOLORSPACEW pLogColorSpaceW,
+ IN OPTIONAL PVOID pvSrcProfile,
+ IN ULONG cjSrcProfile,
+ IN OPTIONAL PVOID pvDestProfile,
+ IN ULONG cjDestProfile,
+ IN OPTIONAL PVOID pvTargetProfile,
+ IN ULONG cjTargetProfile)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiComputeXformCoefficients(IN HDC hdc)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiConsoleTextOut(
+ IN HDC hdc,
+ IN POLYTEXTW *lpto,
+ IN UINT nStrings,
+ IN RECTL *prclBounds)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+LONG
+STDCALL
+NtGdiConvertMetafileRect(
+ IN HDC hdc,
+ IN OUT PRECTL prect)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
Modified: trunk/reactos/subsystems/win32/win32k/w32ksvc.db
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/w3…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/w32ksvc.db (original)
+++ trunk/reactos/subsystems/win32/win32k/w32ksvc.db Mon Aug 27 00:33:56 2007
@@ -24,17 +24,17 @@
NtGdiCheckBitmapBits 8
NtGdiCloseFigure 1
NtGdiClearBitmapAttributes 2
-# NtGdiClearBrushAttributes 2
-# NtGdiColorCorrectPalette 6
+NtGdiClearBrushAttributes 2
+NtGdiColorCorrectPalette 6
NtGdiCombineRgn 4
NtGdiCombineTransform 3
-# NtGdiComputeXformCoefficients 1
-# NtGdiConsoleTextOut 4
-# NtGdiConvertMetafileRect 2
+NtGdiComputeXformCoefficients 1
+NtGdiConsoleTextOut 4
+NtGdiConvertMetafileRect 2
NtGdiCreateBitmap 5
NtGdiCreateClientObj 1
NtGdiCreateColorSpace 1
-# NtGdiCreateColorTransform 8
+NtGdiCreateColorTransform 8
NtGdiCreateCompatibleBitmap 3
NtGdiCreateCompatibleDC 1
NtGdiCreateDIBBrush 6
@@ -107,12 +107,12 @@
NtGdiDdUnlockD3D 2
NtGdiDdUpdateOverlay 3
NtGdiDdWaitForVerticalBlank 2
-# NtGdiDvpCanCreateVideoPort 2
-# NtGdiDvpColorControl 2
-# NtGdiDvpCreateVideoPort 2
-# NtGdiDvpDestroyVideoPort 2
-# NtGdiDvpFlipVideoPort 4
-# NtGdiDvpGetVideoPortBandwidth 2
+NtGdiDvpCanCreateVideoPort 2
+NtGdiDvpColorControl 2
+NtGdiDvpCreateVideoPort 2
+NtGdiDvpDestroyVideoPort 2
+NtGdiDvpFlipVideoPort 4
+NtGdiDvpGetVideoPortBandwidth 2
# NtGdiDvpGetVideoPortField 2
# NtGdiDvpGetVideoPortFlipStatus 2
# NtGdiDvpGetVideoPortInputFormats 2