Author: janderwald
Date: Mon Dec 8 13:06:15 2008
New Revision: 37942
URL:
http://svn.reactos.org/svn/reactos?rev=37942&view=rev
Log:
- Add IID_IInterruptSync
Modified:
trunk/reactos/include/ddk/portcls.h
Modified: trunk/reactos/include/ddk/portcls.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/portcls.h?rev=…
==============================================================================
--- trunk/reactos/include/ddk/portcls.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/portcls.h [iso-8859-1] Mon Dec 8 13:06:15 2008
@@ -694,7 +694,7 @@
IN BOOLEAN WriteToDevice) PURE; \
\
STDMETHOD_(NTSTATUS, Stop)( THIS ) PURE; \
- STDMETHOD_(NTSTATUS, ReadCounter)( THIS ) PURE; \
+ STDMETHOD_(ULONG, ReadCounter)( THIS ) PURE; \
\
STDMETHOD_(NTSTATUS, WaitForTC)( THIS_ \
ULONG Timeout) PURE;
@@ -705,16 +705,19 @@
IN BOOLEAN WriteToDevice); \
\
STDMETHODIMP_(NTSTATUS) Stop(void); \
- STDMETHODIMP_(NTSTATUS) ReadCounter)(void); \
+ STDMETHODIMP_(ULONG) ReadCounter)(void); \
\
STDMETHODIMP_(NTSTATUS, WaitForTC)( \
ULONG Timeout);
+#undef INTERFACE
+#define INTERFACE IDmaChannelSlave
+
DECLARE_INTERFACE_(IDmaChannelSlave, IDmaChannel)
{
- DEFINE_ABSTRACT_UNKNOWN()
- DEFINE_ABSTRACT_DMACHANNEL()
- DEFINE_ABSTRACT_DMACHANNELSLAVE()
+ DEFINE_ABSTRACT_UNKNOWN();
+ DEFINE_ABSTRACT_DMACHANNEL();
+ DEFINE_ABSTRACT_DMACHANNELSLAVE();
};
typedef IDmaChannelSlave *PDMACHANNELSLAVE;
@@ -737,6 +740,9 @@
IN struct IInterruptSync* InterruptSync,
IN PVOID DynamicContext);
+#undef INTERFACE
+#define INTERFACE IInterruptSync
+
DECLARE_INTERFACE_(IInterruptSync, IUnknown)
{
DEFINE_ABSTRACT_UNKNOWN()
@@ -754,6 +760,8 @@
IN PVOID DynamicContext,
IN BOOLEAN First) PURE;
};
+
+DEFINE_GUID(IID_IInterruptSync, 0x22C6AC63L, 0x851B, 0x11D0, 0x9A, 0x7F, 0x00, 0xAA,
0x00, 0x38, 0xAC, 0xFE);
#define IMP_IInterruptSync \
STDMETHODIMP_(NTSTATUS, CallSynchronizedRoutine)( \