Author: janderwald
Date: Mon Aug 10 13:27:23 2009
New Revision: 42587
URL:
http://svn.reactos.org/svn/reactos?rev=42587&view=rev
Log:
- Add KsFilterFactoryGetParentDevice macro
- Fix inline function for msvc compability
Modified:
trunk/reactos/include/psdk/ks.h
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:27:23 2009
@@ -3747,8 +3747,8 @@
);
+static
PKSFILTERFACTORY
-static
__inline
KsFilterGetParentFilterFactory(
IN PKSFILTER Filter
@@ -3756,6 +3756,17 @@
{
return (PKSFILTERFACTORY) KsGetParent((PVOID) Filter);
}
+
+static
+PKSDEVICE
+__inline
+KsFilterFactoryGetParentDevice(
+ IN PKSFILTERFACTORY FilterFactory
+ )
+{
+ return (PKSDEVICE) KsGetParent((PVOID) FilterFactory);
+}
+
#define KsDeleteFilterFactory(FilterFactory) \