Author: janderwald
Date: Mon Aug 10 13:10:37 2009
New Revision: 42585
URL:
http://svn.reactos.org/svn/reactos?rev=42585&view=rev
Log:
- Add include guards
- Add KSM_PIN
- Add a few function prototypes
Modified:
trunk/reactos/include/dxsdk/bdamedia.h
trunk/reactos/include/dxsdk/bdatypes.h
trunk/reactos/include/psdk/ks.h
Modified: trunk/reactos/include/dxsdk/bdamedia.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/bdamedia.h?r…
==============================================================================
--- trunk/reactos/include/dxsdk/bdamedia.h [iso-8859-1] (original)
+++ trunk/reactos/include/dxsdk/bdamedia.h [iso-8859-1] Mon Aug 10 13:10:37 2009
@@ -1,4 +1,5 @@
-
+#ifndef BDAMEDIA_H__
+#define BDAMEDIA_H__
typedef struct _KSP_BDA_NODE_PIN {
KSPROPERTY Property;
@@ -6,3 +7,5 @@
ULONG ulInputPinId;
ULONG ulOutputPinId;
} KSP_BDA_NODE_PIN, *PKSP_BDA_NODE_PIN;
+
+#endif
Modified: trunk/reactos/include/dxsdk/bdatypes.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/bdatypes.h?r…
==============================================================================
--- trunk/reactos/include/dxsdk/bdatypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/dxsdk/bdatypes.h [iso-8859-1] Mon Aug 10 13:10:37 2009
@@ -163,7 +163,16 @@
} PID_MAP ;
-
+typedef struct _KSM_PIN
+{
+ KSMETHOD Method;
+ union
+ {
+ ULONG PinId;
+ ULONG PinType;
+ };
+ ULONG Reserved;
+} KSM_PIN, * PKSM_PIN;
typedef struct _BDA_PID_MAP
Modified: trunk/reactos/include/psdk/ks.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ks.h?rev=4258…
==============================================================================
--- trunk/reactos/include/psdk/ks.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ks.h [iso-8859-1] Mon Aug 10 13:10:37 2009
@@ -3702,6 +3702,22 @@
KSDDKAPI
NTSTATUS
NTAPI
+KsFilterFactoryUpdateCacheData(
+ IN PKSFILTERFACTORY FilterFactory,
+ IN const KSFILTER_DESCRIPTOR *FilterDescriptor OPTIONAL
+ );
+
+
+KSDDKAPI
+PKSFILTER
+NTAPI
+KsGetFilterFromIrp(
+ IN PIRP Irp
+ );
+
+KSDDKAPI
+NTSTATUS
+NTAPI
KsDefaultAddEventHandler(
IN PIRP Irp,
IN PKSEVENTDATA EventData,
@@ -3723,6 +3739,23 @@
IN PIRP Irp
);
+KSDDKAPI
+PVOID
+NTAPI
+KsGetParent(
+ IN PVOID Object
+ );
+
+
+PKSFILTERFACTORY
+static
+__inline
+KsFilterGetParentFilterFactory(
+ IN PKSFILTER Filter
+ )
+{
+ return (PKSFILTERFACTORY) KsGetParent((PVOID) Filter);
+}
#define KsDeleteFilterFactory(FilterFactory) \