Author: greatlrd
Date: Tue May 2 21:53:04 2006
New Revision: 21770
URL:
http://svn.reactos.ru/svn/reactos?rev=21770&view=rev
Log:
remove unsuse files after some redesign of ddraw
Removed:
trunk/reactos/dll/directx/ddraw/main/color_main.c
trunk/reactos/dll/directx/ddraw/main/gamma_main.c
trunk/reactos/dll/directx/ddraw/main/kernel_main.c
trunk/reactos/dll/directx/ddraw/main/palette_main.c
trunk/reactos/dll/directx/ddraw/main/videoport_main.c
Removed: trunk/reactos/dll/directx/ddraw/main/color_main.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/directx/ddraw/main/colo…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/main/color_main.c (original)
+++ trunk/reactos/dll/directx/ddraw/main/color_main.c (removed)
@@ -1,88 +1,0 @@
-/* $Id$
- *
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS
- * FILE: lib/ddraw/main/color.c
- * PURPOSE: IDirectDrawColorControl Implementation
- * PROGRAMMER: Maarten Bosma
- *
- */
-
-#include "rosdraw.h"
-
-ULONG WINAPI
-DirectDrawColorControl_AddRef( LPDIRECTDRAWCOLORCONTROL iface)
-{
- DX_WINDBG_trace();
-
- IDirectDrawColorImpl * This = (IDirectDrawColorImpl*)iface;
-
- ULONG ref=0;
-
- if (iface!=NULL)
- {
- ref = InterlockedIncrement( (PLONG) &This->ref);
- }
- return ref;
-}
-
-ULONG WINAPI
-DirectDrawColorControl_Release( LPDIRECTDRAWCOLORCONTROL iface)
-{
- DX_WINDBG_trace();
-
- IDirectDrawColorImpl* This = (IDirectDrawColorImpl*)iface;
- ULONG ref=0;
-
- if (iface!=NULL)
- {
- ref = InterlockedDecrement( (PLONG) &This->ref);
-
- if (ref == 0)
- {
- /* Add here if we need releae some memory pointer before
- * exists
- */
-
- if (This!=NULL)
- {
- HeapFree(GetProcessHeap(), 0, This);
- }
- }
- }
- return ref;
-}
-
-HRESULT WINAPI
-DirectDrawColorControl_QueryInterface( LPDIRECTDRAWCOLORCONTROL iface,
- REFIID riid,
- LPVOID* ppvObj)
-{
- DX_WINDBG_trace();
- DX_STUB;
-}
-
-HRESULT WINAPI
-DirectDrawColorControl_GetColorControls( LPDIRECTDRAWCOLORCONTROL iface,
- LPDDCOLORCONTROL lpColorControl)
-{
- DX_WINDBG_trace();
- DX_STUB;
-}
-
-HRESULT WINAPI
-DirectDrawColorControl_SetColorControls( LPDIRECTDRAWCOLORCONTROL iface,
- LPDDCOLORCONTROL lpColorControl)
-{
- DX_WINDBG_trace();
- DX_STUB;
-}
-
-IDirectDrawColorControlVtbl DirectDrawColorControl_Vtable =
-{
- DirectDrawColorControl_QueryInterface,
- DirectDrawColorControl_AddRef,
- DirectDrawColorControl_Release,
- DirectDrawColorControl_GetColorControls,
- DirectDrawColorControl_SetColorControls
-};
Removed: trunk/reactos/dll/directx/ddraw/main/gamma_main.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/directx/ddraw/main/gamm…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/main/gamma_main.c (original)
+++ trunk/reactos/dll/directx/ddraw/main/gamma_main.c (removed)
@@ -1,51 +1,0 @@
-/* $Id$
- *
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS
- * FILE: lib/ddraw/main/gamma.c
- * PURPOSE: IDirectDrawGamma Implementation
- * PROGRAMMER: Maarten Bosma
- *
- */
-
-#include "rosdraw.h"
-
-ULONG WINAPI
-Main_DirectDrawGammaControl_AddRef(LPDIRECTDRAWGAMMACONTROL iface)
-{
- return 1;
-}
-
-ULONG WINAPI
-Main_DirectDrawGammaControl_Release(LPDIRECTDRAWGAMMACONTROL iface)
-{
- return 0;
-}
-
-HRESULT WINAPI
-Main_DirectDrawGammaControl_QueryInterface(LPDIRECTDRAWGAMMACONTROL iface, REFIID riid,
- LPVOID *ppObj)
-{
- return E_NOINTERFACE;
-}
-
-HRESULT WINAPI
-Main_DirectDrawGammaControl_GetGammaRamp(LPDIRECTDRAWGAMMACONTROL iface, DWORD dwFlags,
LPDDGAMMARAMP lpGammaRamp)
-{
- DX_STUB;
-}
-
-HRESULT WINAPI
-Main_DirectDrawGammaControl_SetGammaRamp(LPDIRECTDRAWGAMMACONTROL iface, DWORD dwFlags,
LPDDGAMMARAMP lpGammaRamp)
-{
- DX_STUB;
-}
-
-IDirectDrawGammaControlVtbl DirectDrawGammaControl_Vtable =
-{
- Main_DirectDrawGammaControl_QueryInterface,
- Main_DirectDrawGammaControl_AddRef,
- Main_DirectDrawGammaControl_Release,
- Main_DirectDrawGammaControl_GetGammaRamp,
- Main_DirectDrawGammaControl_SetGammaRamp
-};
Removed: trunk/reactos/dll/directx/ddraw/main/kernel_main.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/directx/ddraw/main/kern…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/main/kernel_main.c (original)
+++ trunk/reactos/dll/directx/ddraw/main/kernel_main.c (removed)
@@ -1,86 +1,0 @@
-/* $Id$
- *
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS
- * FILE: lib/ddraw/main/kernel.c
- * PURPOSE: IDirectDrawKernel and IDirectDrawSurfaceKernel Implementation
- * PROGRAMMER: Maarten Bosma
- *
- */
-
-#include "rosdraw.h"
-
-
-/***** IDirectDrawKernel ****/
-
-ULONG WINAPI Main_DirectDrawKernel_AddRef (LPDIRECTDRAWKERNEL iface)
-{
- return 1;
-}
-
-ULONG WINAPI Main_DirectDrawKernel_Release (LPDIRECTDRAWKERNEL iface)
-{
- return 0;
-}
-
-HRESULT WINAPI Main_DirectDrawKernel_QueryInterface (LPDIRECTDRAWKERNEL iface, REFIID
riid, LPVOID* ppvObj)
-{
- return E_NOINTERFACE;
-}
-
-HRESULT WINAPI Main_DirectDrawKernel_GetKernelHandle (LPDIRECTDRAWKERNEL iface, ULONG*
handle)
-{
- DX_STUB;
-}
-
-HRESULT WINAPI Main_DirectDrawKernel_ReleaseKernelHandle (LPDIRECTDRAWKERNEL iface)
-{
- DX_STUB;
-}
-
-
-/***** IDirectDrawSurfaceKernel ****/
-
-ULONG WINAPI Main_DDSurfaceKernel_AddRef (LPDIRECTDRAWSURFACEKERNEL iface)
-{
- return 1;
-}
-
-ULONG WINAPI Main_DDSurfaceKernel_Release (LPDIRECTDRAWSURFACEKERNEL iface)
-{
- return 0;
-}
-
-HRESULT WINAPI Main_DDSurfaceKernel_QueryInterface (LPDIRECTDRAWSURFACEKERNEL iface,
REFIID riid, LPVOID* ppvObj)
-{
- return E_NOINTERFACE;
-}
-
-HRESULT WINAPI Main_DDSurfaceKernel_GetKernelHandle (LPDIRECTDRAWSURFACEKERNEL iface,
ULONG* handle)
-{
- DX_STUB;
-}
-
-HRESULT WINAPI Main_DDSurfaceKernel_ReleaseKernelHandle (LPDIRECTDRAWSURFACEKERNEL
iface)
-{
- DX_STUB;
-}
-
-
-IDirectDrawKernelVtbl DirectDrawKernel_Vtable =
-{
- Main_DirectDrawKernel_QueryInterface,
- Main_DirectDrawKernel_AddRef,
- Main_DirectDrawKernel_Release,
- Main_DirectDrawKernel_GetKernelHandle,
- Main_DirectDrawKernel_ReleaseKernelHandle
-};
-
-IDirectDrawSurfaceKernelVtbl DirectDrawSurfaceKernel_Vtable =
-{
- Main_DDSurfaceKernel_QueryInterface,
- Main_DDSurfaceKernel_AddRef,
- Main_DDSurfaceKernel_Release,
- Main_DDSurfaceKernel_GetKernelHandle,
- Main_DDSurfaceKernel_ReleaseKernelHandle
-};
Removed: trunk/reactos/dll/directx/ddraw/main/palette_main.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/directx/ddraw/main/pale…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/main/palette_main.c (original)
+++ trunk/reactos/dll/directx/ddraw/main/palette_main.c (removed)
@@ -1,69 +1,0 @@
-/* $Id$
- *
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS
- * FILE: lib/ddraw/main/palette.c
- * PURPOSE: IDirectDrawPalette Implementation
- * PROGRAMMER: Maarten Bosma
- *
- */
-
-#include "rosdraw.h"
-
-ULONG WINAPI
-Main_DirectDrawPalette_Release(LPDIRECTDRAWPALETTE iface)
-{
- return 1;
-}
-
-ULONG WINAPI Main_DirectDrawPalette_AddRef(LPDIRECTDRAWPALETTE iface)
-{
- return 0;
-}
-
-HRESULT WINAPI
-Main_DirectDrawPalette_Initialize(LPDIRECTDRAWPALETTE iface,
- LPDIRECTDRAW ddraw, DWORD dwFlags,
- LPPALETTEENTRY palent)
-{
- return DD_OK;
-}
-
-HRESULT WINAPI
-Main_DirectDrawPalette_GetEntries(LPDIRECTDRAWPALETTE iface, DWORD dwFlags,
- DWORD dwStart, DWORD dwCount,
- LPPALETTEENTRY palent)
-{
- DX_STUB;
-}
-
-HRESULT WINAPI
-Main_DirectDrawPalette_SetEntries(LPDIRECTDRAWPALETTE iface, DWORD dwFlags,
- DWORD dwStart, DWORD dwCount,
- LPPALETTEENTRY palent)
-{
- DX_STUB;
-}
-HRESULT WINAPI
-Main_DirectDrawPalette_GetCaps(LPDIRECTDRAWPALETTE iface, LPDWORD lpdwCaps)
-{
- DX_STUB;
-}
-
-HRESULT WINAPI
-Main_DirectDrawPalette_QueryInterface(LPDIRECTDRAWPALETTE iface,
- REFIID refiid, LPVOID *obj)
-{
- return E_NOINTERFACE;
-}
-
-IDirectDrawPaletteVtbl DirectDrawPalette_Vtable =
-{
- Main_DirectDrawPalette_QueryInterface,
- Main_DirectDrawPalette_AddRef,
- Main_DirectDrawPalette_Release,
- Main_DirectDrawPalette_GetCaps,
- Main_DirectDrawPalette_GetEntries,
- Main_DirectDrawPalette_Initialize,
- Main_DirectDrawPalette_SetEntries
-};
Removed: trunk/reactos/dll/directx/ddraw/main/videoport_main.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/directx/ddraw/main/vide…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/main/videoport_main.c (original)
+++ trunk/reactos/dll/directx/ddraw/main/videoport_main.c (removed)
@@ -1,218 +1,0 @@
-/* $Id$
- *
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS
- * FILE: lib/ddraw/main/videoport.c
- * PURPOSE: IDirectDrawVideoPort, DDVideoPortContainer and
IDirectDrawVideoPortNotify Implementation
- * PROGRAMMER: Maarten Bosma
- *
- */
-
-#include "rosdraw.h"
-
-
-/************* IDirectDrawVideoPort *************/
-
-HRESULT WINAPI
-Main_DirectDrawVideoPort_QueryInterface (LPDIRECTDRAWVIDEOPORT iface, REFIID riid,
LPVOID* ppvObj)
-{
- return E_NOINTERFACE;
-}
-
-ULONG WINAPI
-Main_DirectDrawVideoPort_AddRef (LPDIRECTDRAWVIDEOPORT iface)
-{
- return 1;
-}
-
-ULONG WINAPI
-Main_DirectDrawVideoPort_Release (LPDIRECTDRAWVIDEOPORT iface)
-{
- return 0;
-}
-
-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)
-{
- return E_NOINTERFACE;
-}
-
-ULONG WINAPI Main_DDVideoPortContainer_AddRef (LPDDVIDEOPORTCONTAINER iface)
-{
- return 1;
-}
-
-ULONG WINAPI Main_DDVideoPortContainer_Release (LPDDVIDEOPORTCONTAINER iface)
-{
- return 0;
-}
-
-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;
-}
-
-/************* IDirectDrawVideoPortNotify *************/
-
-HRESULT WINAPI Main_DDVideoPortNotify_QueryInterface (LPDIRECTDRAWVIDEOPORTNOTIFY iface,
REFIID riid, LPVOID* ppvObj)
-{
- return E_NOINTERFACE;
-}
-
-ULONG WINAPI Main_DDVideoPortNotify_AddRef (LPDIRECTDRAWVIDEOPORTNOTIFY iface)
-{
- return 1;
-}
-
-ULONG WINAPI Main_DDVideoPortNotify_Release (LPDIRECTDRAWVIDEOPORTNOTIFY iface)
-{
- return 0;
-}
-
-HRESULT WINAPI Main_DDVideoPortNotify_AcquireNotification (LPDIRECTDRAWVIDEOPORTNOTIFY
iface, HANDLE* h, LPDDVIDEOPORTNOTIFY pVideoPortNotify)
-{
- DX_STUB;
-}
-
-HRESULT WINAPI Main_DDVideoPortNotify_ReleaseNotification (LPDIRECTDRAWVIDEOPORTNOTIFY
iface, HANDLE h)
-{
- 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
-};
-
-IDirectDrawVideoPortNotifyVtbl DDVideoPortNotify_Vtable =
-{
- Main_DDVideoPortNotify_QueryInterface,
- Main_DDVideoPortNotify_AddRef,
- Main_DDVideoPortNotify_Release,
- Main_DDVideoPortNotify_AcquireNotification,
- Main_DDVideoPortNotify_ReleaseNotification
-};