projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67e4aa5
)
[PSDK]
author
Thomas Faber
<thomas.faber@reactos.org>
Sat, 18 Feb 2017 09:30:59 +0000
(09:30 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sat, 18 Feb 2017 09:30:59 +0000
(09:30 +0000)
- Fix KsFilterFactoryGetDevice
CORE-11794
svn path=/trunk/; revision=73824
reactos/sdk/include/psdk/ks.h
patch
|
blob
|
history
diff --git
a/reactos/sdk/include/psdk/ks.h
b/reactos/sdk/include/psdk/ks.h
index
ac9407f
..
38aee9e
100644
(file)
--- a/
reactos/sdk/include/psdk/ks.h
+++ b/
reactos/sdk/include/psdk/ks.h
@@
-5064,10
+5064,20
@@
KsFilterCreatePinFactory(
_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 */