--- trunk/reactos/lib/ddraw/ddraw.xml 2005-10-28 12:09:22 UTC (rev 18829)
+++ trunk/reactos/lib/ddraw/ddraw.xml 2005-10-28 12:12:33 UTC (rev 18830)
@@ -29,6 +29,7 @@
<file>color.c</file>
<file>gamma.c</file>
<file>palette.c</file>
+ <file>videoport.c</file>
</directory>
<directory name="soft">
--- trunk/reactos/lib/ddraw/main/videoport.c 2005-10-28 12:09:22 UTC (rev 18829)
+++ trunk/reactos/lib/ddraw/main/videoport.c 2005-10-28 12:12:33 UTC (rev 18830)
@@ -0,0 +1,182 @@
+/* $Id$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS
+ * FILE: lib/ddraw/main/videoport.c
+ * PURPOSE: IDirectDrawVideoPort and DDVideoPortContainer Implementation
+ * PROGRAMMER: Maarten Bosma
+ *
+ */
+
+#include "rosdraw.h"
+
+
+/************* IDirectDrawVideoPort *************/
+
+HRESULT WINAPI
+Main_DirectDrawVideoPort_QueryInterface (LPDIRECTDRAWVIDEOPORT iface, REFIID riid, LPVOID* ppvObj)
+{
+ DX_STUB;
+}
+
+ULONG WINAPI
+Main_DirectDrawVideoPort_AddRef (LPDIRECTDRAWVIDEOPORT iface)
+{
+ DX_STUB;
+}
+
+ULONG WINAPI
+Main_DirectDrawVideoPort_Release (LPDIRECTDRAWVIDEOPORT iface)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI
+Main_DirectDrawVideoPort_Flip (LPDIRECTDRAWVIDEOPORT iface, LPDIRECTDRAWSURFACE lpDDSurface, DWORD dwFlags)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI
+Main_DirectDrawVideoPort_GetBandwidthInfo (LPDIRECTDRAWVIDEOPORT iface, LPDDPIXELFORMAT lpddpfFormat, DWORD dwWidth,
+ DWORD dwHeight, DWORD dwFlags, LPDDVIDEOPORTBANDWIDTH lpBandwidth)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI
+Main_DirectDrawVideoPort_GetColorControls (LPDIRECTDRAWVIDEOPORT iface, LPDDCOLORCONTROL lpColorControl)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI Main_DirectDrawVideoPort_GetInputFormats (LPDIRECTDRAWVIDEOPORT iface, LPDWORD lpNumFormats,
+ LPDDPIXELFORMAT lpFormats, DWORD dwFlags)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI Main_DirectDrawVideoPort_GetOutputFormats (LPDIRECTDRAWVIDEOPORT iface, LPDDPIXELFORMAT lpInputFormat,
+ LPDWORD lpNumFormats, LPDDPIXELFORMAT lpFormats, DWORD dwFlags)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI Main_DirectDrawVideoPort_GetFieldPolarity (LPDIRECTDRAWVIDEOPORT iface, LPBOOL lpbFieldPolarity)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI Main_DirectDrawVideoPort_GetVideoLine (LPDIRECTDRAWVIDEOPORT This, LPDWORD lpdwLine)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI Main_DirectDrawVideoPort_GetVideoSignalStatus (LPDIRECTDRAWVIDEOPORT iface, LPDWORD lpdwStatus)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI Main_DirectDrawVideoPort_SetColorControls (LPDIRECTDRAWVIDEOPORT iface, LPDDCOLORCONTROL lpColorControl)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI Main_DirectDrawVideoPort_SetTargetSurface (LPDIRECTDRAWVIDEOPORT iface, LPDIRECTDRAWSURFACE lpDDSurface,
+ DWORD dwFlags)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI Main_DirectDrawVideoPort_StartVideo (LPDIRECTDRAWVIDEOPORT iface, LPDDVIDEOPORTINFO dwFlags)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI Main_DirectDrawVideoPort_StopVideo (LPDIRECTDRAWVIDEOPORT iface)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI Main_DirectDrawVideoPort_UpdateVideo (LPDIRECTDRAWVIDEOPORT iface, LPDDVIDEOPORTINFO dwFlags)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI Main_DirectDrawVideoPort_WaitForSync (LPDIRECTDRAWVIDEOPORT iface, DWORD dwFlags, DWORD dwLine,
+ DWORD dwTimeout)
+{
+ DX_STUB;
+}
+
+/************* IDDVideoPortContainer *************/
+
+HRESULT WINAPI Main_DDVideoPortContainer_QueryInterface (LPDDVIDEOPORTCONTAINER iface, REFIID riid, LPVOID* ppvObj)
+{
+ DX_STUB;
+}
+
+ULONG WINAPI Main_DDVideoPortContainer_AddRef (LPDDVIDEOPORTCONTAINER iface)
+{
+ DX_STUB;
+}
+
+ULONG WINAPI Main_DDVideoPortContainer_Release (LPDDVIDEOPORTCONTAINER iface)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI Main_DDVideoPortContainer_CreateVideoPort (LPDDVIDEOPORTCONTAINER iface, DWORD dwFlags, LPDDVIDEOPORTDESC pPortDesc,
+ LPDIRECTDRAWVIDEOPORT* DDVideoPort, IUnknown* pUnkOuter)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI Main_DDVideoPortContainer_EnumVideoPorts (LPDDVIDEOPORTCONTAINER iface, DWORD dwFlags, LPDDVIDEOPORTCAPS pCaps, LPVOID pContext,
+ LPDDENUMVIDEOCALLBACK pEnumVideoCallback)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI Main_DDVideoPortContainer_GetVideoPortConnectInfo (LPDDVIDEOPORTCONTAINER iface, DWORD PortId, DWORD* pNumEntries,
+ LPDDVIDEOPORTCONNECT pConnectInfo)
+{
+ DX_STUB;
+}
+
+HRESULT WINAPI Main_DDVideoPortContainer_QueryVideoPortStatus (LPDDVIDEOPORTCONTAINER iface, DWORD PortId, LPDDVIDEOPORTSTATUS pStatus)
+{
+ DX_STUB;
+}
+
+IDirectDrawVideoPortVtbl DirectDrawVideoPort_Vtable =
+{
+ Main_DirectDrawVideoPort_QueryInterface,
+ Main_DirectDrawVideoPort_AddRef,
+ Main_DirectDrawVideoPort_Release,
+ Main_DirectDrawVideoPort_Flip,
+ Main_DirectDrawVideoPort_GetBandwidthInfo,
+ Main_DirectDrawVideoPort_GetColorControls,
+ Main_DirectDrawVideoPort_GetInputFormats,
+ Main_DirectDrawVideoPort_GetOutputFormats,
+ Main_DirectDrawVideoPort_GetFieldPolarity,
+ Main_DirectDrawVideoPort_GetVideoLine,
+ Main_DirectDrawVideoPort_GetVideoSignalStatus,
+ Main_DirectDrawVideoPort_SetColorControls,
+ Main_DirectDrawVideoPort_SetTargetSurface,
+ Main_DirectDrawVideoPort_StartVideo,
+ Main_DirectDrawVideoPort_StopVideo,
+ Main_DirectDrawVideoPort_UpdateVideo,
+ Main_DirectDrawVideoPort_WaitForSync
+};
+
+IDDVideoPortContainerVtbl DDVideoPortContainer_Vtable =
+{
+ Main_DDVideoPortContainer_QueryInterface,
+ Main_DDVideoPortContainer_AddRef,
+ Main_DDVideoPortContainer_Release,
+ Main_DDVideoPortContainer_CreateVideoPort,
+ Main_DDVideoPortContainer_EnumVideoPorts,
+ Main_DDVideoPortContainer_GetVideoPortConnectInfo,
+ Main_DDVideoPortContainer_QueryVideoPortStatus
+};
Property changes on: trunk/reactos/lib/ddraw/main/videoport.c
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native