From f5a320f97c51cc4950da457151195f1fb71879da Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Sun, 18 Jan 2009 00:39:15 +0000 Subject: [PATCH] - Add interface IPortEvents svn path=/trunk/; revision=38861 --- reactos/include/ddk/portcls.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/reactos/include/ddk/portcls.h b/reactos/include/ddk/portcls.h index 4f8a5ec62fc..1ef538e2be5 100644 --- a/reactos/include/ddk/portcls.h +++ b/reactos/include/ddk/portcls.h @@ -1606,10 +1606,24 @@ typedef IPinCount *PPINCOUNT; IPortEvents Interface */ +#undef INTERFACE +#define INTERFACE IPortEvents + +DEFINE_GUID(IID_IPortEvents, 0xA80F29C4L, 0x5498, 0x11D2, 0x95, 0xD9, 0x00, 0xC0, 0x4F, 0xB9, 0x25, 0xD3); DECLARE_INTERFACE_(IPortEvents, IUnknown) { DEFINE_ABSTRACT_UNKNOWN() - /* TODO */ + + STDMETHOD_(void,AddEventToEventList)(THIS_ + IN PKSEVENT_ENTRY EventEntry)PURE; + + STDMETHOD_(void,GenerateEventList)(THIS_ + IN GUID* Set OPTIONAL, + IN ULONG EventId, + IN BOOL PinEvent, + IN ULONG PinId, + IN BOOL NodeEvent, + IN ULONG NodeId)PURE; }; typedef IPortEvents *PPORTEVENTS;