mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
- Add KsFilterFactoryGetParentDevice macro
- Fix inline function for msvc compability svn path=/trunk/; revision=42587
This commit is contained in:
parent
5292ae1686
commit
c4ba7bb1d8
1 changed files with 12 additions and 1 deletions
|
@ -3747,8 +3747,8 @@ KsGetParent(
|
|||
);
|
||||
|
||||
|
||||
PKSFILTERFACTORY
|
||||
static
|
||||
PKSFILTERFACTORY
|
||||
__inline
|
||||
KsFilterGetParentFilterFactory(
|
||||
IN PKSFILTER Filter
|
||||
|
@ -3757,6 +3757,17 @@ KsFilterGetParentFilterFactory(
|
|||
return (PKSFILTERFACTORY) KsGetParent((PVOID) Filter);
|
||||
}
|
||||
|
||||
static
|
||||
PKSDEVICE
|
||||
__inline
|
||||
KsFilterFactoryGetParentDevice(
|
||||
IN PKSFILTERFACTORY FilterFactory
|
||||
)
|
||||
{
|
||||
return (PKSDEVICE) KsGetParent((PVOID) FilterFactory);
|
||||
}
|
||||
|
||||
|
||||
|
||||
#define KsDeleteFilterFactory(FilterFactory) \
|
||||
KsFreeObjectCreateItemsByContext( \
|
||||
|
|
Loading…
Reference in a new issue