Author: sginsberg
Date: Thu Aug 20 12:29:54 2009
New Revision: 42795
URL:
http://svn.reactos.org/svn/reactos?rev=42795&view=rev
Log:
Don't use dllexport for videoprt; we use a .spec. Also, don't use DDKAPI as it is
a w32api/ReactOS define.
We welcome videoprt into the club of modules compiling *and* linking under msvc.
Modified:
trunk/reactos/drivers/video/videoprt/stubs.c
trunk/reactos/include/ddk/video.h
Modified: 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 [iso-8859-1] (original)
+++ trunk/reactos/drivers/video/videoprt/stubs.c [iso-8859-1] Thu Aug 20 12:29:54 2009
@@ -24,9 +24,8 @@
#include "videoprt.h"
#include <wdmguid.h>
-VIDEOPORT_API
VP_STATUS
-DDKAPI
+NTAPI
VideoPortFlushRegistry(
PVOID HwDeviceExtension)
{
@@ -34,9 +33,8 @@
return 0;
}
-VIDEOPORT_API
ULONG
-DDKAPI
+NTAPI
VideoPortGetAssociatedDeviceID(
IN PVOID DeviceObject)
{
@@ -45,9 +43,8 @@
}
-VIDEOPORT_API
ULONG
-DDKAPI
+NTAPI
VideoPortGetBytesUsed(
IN PVOID HwDeviceExtension,
IN PDMA pDma)
@@ -56,9 +53,8 @@
return 0;
}
-VIDEOPORT_API
PVOID
-DDKAPI
+NTAPI
VideoPortGetMdl(
IN PVOID HwDeviceExtension,
IN PDMA pDma)
@@ -67,9 +63,8 @@
return 0;
}
-VIDEOPORT_API
BOOLEAN
-DDKAPI
+NTAPI
VideoPortLockPages(
IN PVOID HwDeviceExtension,
IN OUT PVIDEO_REQUEST_PACKET pVrp,
@@ -81,9 +76,8 @@
return 0;
}
-VIDEOPORT_API
LONG
-DDKAPI
+NTAPI
VideoPortReadStateEvent(
IN PVOID HwDeviceExtension,
IN PEVENT pEvent)
@@ -92,9 +86,8 @@
return 0;
}
-VIDEOPORT_API
VOID
-DDKAPI
+NTAPI
VideoPortSetBytesUsed(
IN PVOID HwDeviceExtension,
IN OUT PDMA pDma,
@@ -103,9 +96,8 @@
UNIMPLEMENTED;
}
-VIDEOPORT_API
BOOLEAN
-DDKAPI
+NTAPI
VideoPortUnlockPages(
IN PVOID hwDeviceExtension,
IN PDMA pDma)
@@ -113,5 +105,3 @@
UNIMPLEMENTED;
return 0;
}
-
-
Modified: trunk/reactos/include/ddk/video.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/video.h?rev=42…
==============================================================================
--- trunk/reactos/include/ddk/video.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/video.h [iso-8859-1] Thu Aug 20 12:29:54 2009
@@ -28,7 +28,7 @@
#else
#if defined(_VIDEOPORT_)
- #define VPAPI DECLSPEC_EXPORT
+ #define VPAPI
#else
#define VPAPI DECLSPEC_IMPORT
#endif