Author: tkreuzer
Date: Tue Jun 2 02:16:54 2009
New Revision: 41243
URL:
http://svn.reactos.org/svn/reactos?rev=41243&view=rev
Log:
Add missing exports to videoprt
Added:
trunk/reactos/drivers/video/videoprt/stubs.c (with props)
Modified:
trunk/reactos/drivers/video/videoprt/videoprt.rbuild
trunk/reactos/drivers/video/videoprt/videoprt.spec
Added: trunk/reactos/drivers/video/videoprt/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/videoprt/stu…
==============================================================================
--- trunk/reactos/drivers/video/videoprt/stubs.c (added)
+++ trunk/reactos/drivers/video/videoprt/stubs.c [iso-8859-1] Tue Jun 2 02:16:54 2009
@@ -1,0 +1,117 @@
+/*
+ * VideoPort driver
+ *
+ * Copyright (C) 2002-2004, 2007 ReactOS Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; see the file COPYING.LIB.
+ * If not, write to the Free Software Foundation,
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ */
+
+
+#include "videoprt.h"
+#include <wdmguid.h>
+
+VIDEOPORT_API
+VP_STATUS
+DDKAPI
+VideoPortFlushRegistry(
+ PVOID HwDeviceExtension)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+VIDEOPORT_API
+ULONG
+DDKAPI
+VideoPortGetAssociatedDeviceID(
+ IN PVOID DeviceObject)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+
+VIDEOPORT_API
+ULONG
+DDKAPI
+VideoPortGetBytesUsed(
+ IN PVOID HwDeviceExtension,
+ IN PDMA pDma)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+VIDEOPORT_API
+PVOID
+DDKAPI
+VideoPortGetMdl(
+ IN PVOID HwDeviceExtension,
+ IN PDMA pDma)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+VIDEOPORT_API
+BOOLEAN
+DDKAPI
+VideoPortLockPages(
+ IN PVOID HwDeviceExtension,
+ IN OUT PVIDEO_REQUEST_PACKET pVrp,
+ IN PEVENT pUEvent,
+ IN PEVENT pDisplayEvent,
+ IN DMA_FLAGS DmaFlags)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+VIDEOPORT_API
+LONG
+DDKAPI
+VideoPortReadStateEvent(
+ IN PVOID HwDeviceExtension,
+ IN PEVENT pEvent)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+VIDEOPORT_API
+VOID
+DDKAPI
+VideoPortSetBytesUsed(
+ IN PVOID HwDeviceExtension,
+ IN OUT PDMA pDma,
+ IN ULONG BytesUsed)
+{
+ UNIMPLEMENTED;
+}
+
+VIDEOPORT_API
+BOOLEAN
+DDKAPI
+VideoPortUnlockPages(
+ IN PVOID hwDeviceExtension,
+ IN PDMA pDma)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+
Propchange: trunk/reactos/drivers/video/videoprt/stubs.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/drivers/video/videoprt/videoprt.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/videoprt/vid…
==============================================================================
--- trunk/reactos/drivers/video/videoprt/videoprt.rbuild [iso-8859-1] (original)
+++ trunk/reactos/drivers/video/videoprt/videoprt.rbuild [iso-8859-1] Tue Jun 2 02:16:54
2009
@@ -19,6 +19,7 @@
<file>resource.c</file>
<file>services.c</file>
<file>spinlock.c</file>
+ <file>stubs.c</file>
<file>timer.c</file>
<file>videoprt.c</file>
<file>videoprt.rc</file>
Modified: trunk/reactos/drivers/video/videoprt/videoprt.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/videoprt/vid…
==============================================================================
--- trunk/reactos/drivers/video/videoprt/videoprt.spec [iso-8859-1] (original)
+++ trunk/reactos/drivers/video/videoprt/videoprt.spec [iso-8859-1] Tue Jun 2 02:16:54
2009
@@ -5,11 +5,11 @@
@ stdcall VideoPortAllocateCommonBuffer(ptr ptr long ptr long ptr)
@ stdcall VideoPortAllocateContiguousMemory(ptr long long long)
@ stdcall VideoPortAllocatePool(ptr long long long)
-;VideoPortAssociateEventsWithDmaHandle
+@ stdcall VideoPortAssociateEventsWithDmaHandle(ptr ptr ptr ptr)
@ stdcall VideoPortCheckForDeviceExistence(ptr long long long long long long)
@ stdcall VideoPortClearEvent(ptr ptr)
@ stdcall VideoPortCompareMemory(ptr ptr long) NTOSKRNL.RtlCompareMemory
-;VideoPortCompleteDma
+@ stdcall VideoPortCompleteDma(ptr ptr ptr long)
@ stdcall VideoPortCreateEvent(ptr long ptr ptr)
@ stdcall VideoPortCreateSecondaryDisplay(ptr ptr long)
@ stdcall VideoPortCreateSpinLock(ptr ptr)
@@ -18,26 +18,26 @@
@ stdcall VideoPortDeleteEvent(ptr ptr)
@ stdcall VideoPortDeleteSpinLock(ptr ptr)
@ stdcall VideoPortDisableInterrupt(ptr)
-;VideoPortDoDma
+@ stdcall VideoPortDoDma(ptr ptr long)
@ stdcall VideoPortEnableInterrupt(ptr)
@ stdcall VideoPortEnumerateChildren(ptr ptr)
-;VideoPortFlushRegistry
+@ stdcall VideoPortFlushRegistry(ptr)
@ stdcall VideoPortFreeCommonBuffer(ptr long ptr long long long)
@ stdcall VideoPortFreeDeviceBase(ptr ptr)
@ stdcall VideoPortFreePool(ptr ptr)
@ stdcall VideoPortGetAccessRanges(ptr long ptr long ptr ptr ptr ptr)
@ stdcall VideoPortGetAgpServices(ptr ptr)
@ stdcall VideoPortGetAssociatedDeviceExtension(ptr)
-;VideoPortGetAssociatedDeviceID
+@ stdcall VideoPortGetAssociatedDeviceID(ptr)
@ stdcall VideoPortGetBusData(ptr long long ptr long long)
-;VideoPortGetBytesUsed
-;VideoPortGetCommonBuffer
+@ stdcall VideoPortGetBytesUsed(ptr ptr)
+@ stdcall VideoPortGetCommonBuffer(ptr long long ptr ptr long)
@ stdcall VideoPortGetCurrentIrql()
@ stdcall VideoPortGetDeviceBase(ptr long long long long)
@ stdcall VideoPortGetDeviceData(ptr long ptr ptr)
@ stdcall VideoPortGetDmaAdapter(ptr ptr)
-;VideoPortGetDmaContext
-;VideoPortGetMdl
+@ stdcall VideoPortGetDmaContext(ptr ptr)
+@ stdcall VideoPortGetMdl(ptr ptr)
@ stdcall VideoPortGetRegistryParameters(ptr wstr long ptr ptr)
@ stdcall VideoPortGetRomImage(ptr ptr long long)
@ stdcall VideoPortGetVersion(ptr ptr)
@@ -48,10 +48,10 @@
@ fastcall VideoPortInterlockedExchange(ptr long) NTOSKRNL.InterlockedExchange
@ fastcall VideoPortInterlockedIncrement(ptr) NTOSKRNL.InterlockedIncrement
@ stdcall VideoPortLockBuffer(ptr ptr long long)
-;VideoPortLockPages
+@ stdcall VideoPortLockPages(ptr ptr ptr ptr long)
@ stdcall VideoPortLogError(ptr ptr long long)
@ stdcall VideoPortMapBankedMemory(ptr long long ptr ptr ptr long long ptr ptr)
-;VideoPortMapDmaMemory
+@ stdcall VideoPortMapDmaMemory(ptr ptr double ptr ptr ptr ptr ptr)
@ stdcall VideoPortMapMemory(ptr long long ptr ptr ptr)
@ stdcall VideoPortMoveMemory(ptr ptr long) NTOSKRNL.RtlMoveMemory
@ stdcall VideoPortPutDmaAdapter(ptr ptr)
@@ -71,7 +71,7 @@
@ stdcall VideoPortReadRegisterBufferUchar(ptr ptr long)
NTOSKRNL.READ_REGISTER_BUFFER_UCHAR
@ stdcall VideoPortReadRegisterBufferUshort(ptr ptr long)
NTOSKRNL.READ_REGISTER_BUFFER_USHORT
@ stdcall VideoPortReadRegisterBufferUlong(ptr ptr long)
NTOSKRNL.READ_REGISTER_BUFFER_ULONG
-;VideoPortReadStateEvent
+@ stdcall VideoPortReadStateEvent(ptr ptr)
@ stdcall VideoPortRegisterBugcheckCallback(ptr long ptr long)
@ stdcall VideoPortReleaseBuffer(ptr ptr)
@ stdcall VideoPortReleaseCommonBuffer(ptr ptr long long long ptr long)
@@ -80,20 +80,20 @@
@ stdcall VideoPortReleaseSpinLockFromDpcLevel(ptr ptr)
@ stdcall VideoPortScanRom(ptr ptr long ptr)
@ stdcall VideoPortSetBusData(ptr long long ptr long long)
-;VideoPortSetBytesUsed
-;VideoPortSetDmaContext
+@ stdcall VideoPortSetBytesUsed(ptr ptr long)
+@ stdcall VideoPortSetDmaContext(ptr ptr ptr)
@ stdcall VideoPortSetEvent(ptr ptr)
@ stdcall VideoPortSetRegistryParameters(ptr wstr ptr long)
@ stdcall VideoPortSetTrappedEmulatorPorts(ptr long ptr)
-;VideoPortSignalDmaComplete
+@ stdcall VideoPortSignalDmaComplete(ptr ptr)
@ stdcall VideoPortStallExecution(ptr) HAL.KeStallExecutionProcessor
-;VideoPortStartDma
+@ stdcall VideoPortStartDma(ptr ptr ptr long ptr ptr ptr long)
@ stdcall VideoPortStartTimer(ptr)
@ stdcall VideoPortStopTimer(ptr)
@ stdcall VideoPortSynchronizeExecution(ptr long ptr ptr)
@ stdcall VideoPortUnlockBuffer(ptr ptr)
-;VideoPortUnlockPages
-;VideoPortUnmapDmaMemory
+@ stdcall VideoPortUnlockPages(ptr ptr)
+@ stdcall VideoPortUnmapDmaMemory(ptr ptr ptr ptr)
@ stdcall VideoPortUnmapMemory(ptr ptr ptr)
@ stdcall VideoPortVerifyAccessRanges(ptr long ptr)
@ stdcall VideoPortWaitForSingleObject(ptr ptr ptr)