- Add include guards

- Add KSM_PIN
- Add a few function prototypes

svn path=/trunk/; revision=42585
This commit is contained in:
Johannes Anderwald 2009-08-10 11:10:37 +00:00
parent ecf94cf3ae
commit f85104f4a1
3 changed files with 47 additions and 2 deletions

View file

@ -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

View file

@ -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

View file

@ -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) \