The KsGetFilterFromFileObject function returns the AVStream filter object associated with FileObject.
- FileObject [in]
A pointer to the FILE_OBJECT for which to return the associated AVStream filter object.
KsGetFilterFromFileObject returns a pointer to the KSFILTER structure associated with FileObject.
It is the responsibility of the minidriver to verify that FileObject is a file object associated with an AVStream filter. Do this by calling KsGetObjectTypeFromFileObject before calling KsGetFilterFromFileObject.
|Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.|