Author: janderwald
Date: Sat Nov 7 13:57:07 2009
New Revision: 43996
URL:
http://svn.reactos.org/svn/reactos?rev=43996&view=rev
Log:
- Add a few constants and types required event handling
Modified:
trunk/reactos/include/psdk/dsound.h
trunk/reactos/include/psdk/ks.h
trunk/reactos/include/psdk/ksmedia.h
Modified: trunk/reactos/include/psdk/dsound.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/dsound.h?rev=…
==============================================================================
--- trunk/reactos/include/psdk/dsound.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/dsound.h [iso-8859-1] Sat Nov 7 13:57:07 2009
@@ -873,6 +873,7 @@
#define WINE_NOBUFFER 0x80000000
#define DSBPN_OFFSETSTOP -1
+#define DSBNOTIFICATIONS_MAX 100000UL
#define INTERFACE IDirectSoundNotify
DECLARE_INTERFACE_(IDirectSoundNotify,IUnknown)
Modified: trunk/reactos/include/psdk/ks.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ks.h?rev=4399…
==============================================================================
--- trunk/reactos/include/psdk/ks.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ks.h [iso-8859-1] Sat Nov 7 13:57:07 2009
@@ -312,6 +312,8 @@
0x8C6F932CL, 0xE771, 0x11D0, 0xB8, 0xFF, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96
DEFINE_GUIDSTRUCT("8C6F932C-E771-11D0-B8FF-00A0C9223196",
KSINTERFACESETID_FileIo);
#define KSINTERFACESETID_FileIo DEFINE_GUIDNAMED(KSINTERFACESETID_FileIo)
+
+
/* ===============================================================
@@ -1723,6 +1725,26 @@
};
} KSEVENTDATA, *PKSEVENTDATA;
+#define KSEVENTF_EVENT_HANDLE 0x00000001
+#define KSEVENTF_SEMAPHORE_HANDLE 0x00000002
+#if defined(_NTDDK_)
+#define KSEVENTF_EVENT_OBJECT 0x00000004
+#define KSEVENTF_SEMAPHORE_OBJECT 0x00000008
+#define KSEVENTF_DPC 0x00000010
+#define KSEVENTF_WORKITEM 0x00000020
+#define KSEVENTF_KSWORKITEM 0x00000080
+#endif
+
+
+#define KSEVENT_TYPE_ENABLE 0x00000001
+#define KSEVENT_TYPE_ONESHOT 0x00000002
+#define KSEVENT_TYPE_ENABLEBUFFERED 0x00000004
+#define KSEVENT_TYPE_SETSUPPORT 0x00000100
+#define KSEVENT_TYPE_BASICSUPPORT 0x00000200
+#define KSEVENT_TYPE_QUERYBUFFER 0x00000400
+
+#define KSEVENT_TYPE_TOPOLOGY 0x10000000
+
typedef struct
{
ULONG Size;
Modified: trunk/reactos/include/psdk/ksmedia.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ksmedia.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/ksmedia.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ksmedia.h [iso-8859-1] Sat Nov 7 13:57:07 2009
@@ -529,6 +529,24 @@
} KSPROPERTY_AUDIO;
+#define STATIC_KSEVENTSETID_LoopedStreaming\
+ 0x4682B940L, 0xC6EF, 0x11D0, 0x96, 0xD8, 0x00, 0xAA, 0x00, 0x51, 0xE5, 0x1D
+DEFINE_GUIDSTRUCT("4682B940-C6EF-11D0-96D8-00AA0051E51D",
KSEVENTSETID_LoopedStreaming);
+#define KSEVENTSETID_LoopedStreaming DEFINE_GUIDNAMED(KSEVENTSETID_LoopedStreaming)
+
+typedef enum {
+ KSEVENT_LOOPEDSTREAMING_POSITION,
+} KSEVENT_LOOPEDSTREAMING;
+
+typedef struct {
+ KSEVENTDATA KsEventData;
+#if defined(_NTDDK_)
+ ULONGLONG Position;
+#else // !_NTDDK_
+ DWORDLONG Position;
+#endif // !_NTDDK_
+} LOOPEDSTREAMING_POSITION_EVENT_DATA, *PLOOPEDSTREAMING_POSITION_EVENT_DATA ;
+
/*
SysAudio Properties