KsGetPinFromFileObject function (ks.h)
The KsGetPinFromFileObject function returns the AVStream pin object associated with FileObject.
Syntax
PKSPIN KsGetPinFromFileObject(
[in] PFILE_OBJECT FileObject
);
Parameters
[in] FileObject
A pointer to the FILE_OBJECT structure for which to return the associated AVStream pin object.
Return value
KsGetPinFromFileObject returns a pointer to the KSPIN structure associated with FileObject.
Remarks
The minidriver must verify that FileObject is a file object associated with an AVStream pin. Do this by calling KsGetObjectTypeFromFileObject.
This call is an inline call to KsGetObjectFromFileObject. KsGetPinFromFileObject typecasts the return as a PKSPIN.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions. |
Target Platform | Desktop |
Header | ks.h (include Ks.h) |
IRQL | Any level |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for