projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PSDK]
[reactos.git]
/
reactos
/
sdk
/
include
/
psdk
/
ks.h
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
_IRQL_requires_max_(PASSIVE_LEVEL)
KSDDKAPI
+PKSDEVICE
+NTAPI
+KsGetDevice(
+ _In_ PVOID Object);
+
+_IRQL_requires_max_(PASSIVE_LEVEL)
+static
__inline
PKSDEVICE
KsFilterFactoryGetDevice(
__inline
PKSDEVICE
KsFilterFactoryGetDevice(
- _In_ PKSFILTERFACTORY FilterFactory);
+ _In_ PKSFILTERFACTORY FilterFactory)
+{
+ return KsGetDevice((PVOID)FilterFactory);
+}
/* etc. */
#endif /* avstream */
/* etc. */
#endif /* avstream */