diff --git a/reactos/include/dxsdk/bdamedia.h b/reactos/include/dxsdk/bdamedia.h index ccebd94e1c2..84f1e212aed 100644 --- a/reactos/include/dxsdk/bdamedia.h +++ b/reactos/include/dxsdk/bdamedia.h @@ -1,4 +1,5 @@ - +#ifndef BDAMEDIA_H__ +#define BDAMEDIA_H__ typedef struct _KSP_BDA_NODE_PIN { KSPROPERTY Property; @@ -6,3 +7,5 @@ typedef struct _KSP_BDA_NODE_PIN { ULONG ulInputPinId; ULONG ulOutputPinId; } KSP_BDA_NODE_PIN, *PKSP_BDA_NODE_PIN; + +#endif diff --git a/reactos/include/dxsdk/bdatypes.h b/reactos/include/dxsdk/bdatypes.h index 3a979efe42e..6220d8527d9 100644 --- a/reactos/include/dxsdk/bdatypes.h +++ b/reactos/include/dxsdk/bdatypes.h @@ -163,7 +163,16 @@ typedef struct } PID_MAP ; - +typedef struct _KSM_PIN +{ + KSMETHOD Method; + union + { + ULONG PinId; + ULONG PinType; + }; + ULONG Reserved; +} KSM_PIN, * PKSM_PIN; typedef struct _BDA_PID_MAP diff --git a/reactos/include/psdk/ks.h b/reactos/include/psdk/ks.h index 0fb701d92dc..5c9ac50834d 100644 --- a/reactos/include/psdk/ks.h +++ b/reactos/include/psdk/ks.h @@ -3699,6 +3699,22 @@ KsCreateFilterFactory( IN PFNKSFILTERFACTORYPOWER WakeCallback OPTIONAL, OUT PKSFILTERFACTORY *FilterFactory OPTIONAL); +KSDDKAPI +NTSTATUS +NTAPI +KsFilterFactoryUpdateCacheData( + IN PKSFILTERFACTORY FilterFactory, + IN const KSFILTER_DESCRIPTOR *FilterDescriptor OPTIONAL + ); + + +KSDDKAPI +PKSFILTER +NTAPI +KsGetFilterFromIrp( + IN PIRP Irp + ); + KSDDKAPI NTSTATUS NTAPI @@ -3723,6 +3739,23 @@ KsDispatchSetSecurity( IN PIRP Irp ); +KSDDKAPI +PVOID +NTAPI +KsGetParent( + IN PVOID Object + ); + + +PKSFILTERFACTORY +static +__inline +KsFilterGetParentFilterFactory( + IN PKSFILTER Filter + ) +{ + return (PKSFILTERFACTORY) KsGetParent((PVOID) Filter); +} #define KsDeleteFilterFactory(FilterFactory) \