Author: tfaber
Date: Sat Feb 18 09:30:59 2017
New Revision: 73824
URL:
http://svn.reactos.org/svn/reactos?rev=73824&view=rev
Log:
[PSDK]
- Fix KsFilterFactoryGetDevice
CORE-11794
Modified:
trunk/reactos/sdk/include/psdk/ks.h
Modified: trunk/reactos/sdk/include/psdk/ks.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/ks.h?rev=…
==============================================================================
--- trunk/reactos/sdk/include/psdk/ks.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/psdk/ks.h [iso-8859-1] Sat Feb 18 09:30:59 2017
@@ -5064,10 +5064,20 @@
_IRQL_requires_max_(PASSIVE_LEVEL)
KSDDKAPI
+PKSDEVICE
+NTAPI
+KsGetDevice(
+ _In_ PVOID Object);
+
+_IRQL_requires_max_(PASSIVE_LEVEL)
+static
__inline
PKSDEVICE
KsFilterFactoryGetDevice(
- _In_ PKSFILTERFACTORY FilterFactory);
+ _In_ PKSFILTERFACTORY FilterFactory)
+{
+ return KsGetDevice((PVOID)FilterFactory);
+}
/* etc. */
#endif /* avstream */