KsPinGetConnectedPinFileObject function (ks.h)
The KsPinGetConnectedPinFileObject function returns the file object for the pin to which Pin is connected. Works only for source pins.
Syntax
KSDDKAPI PFILE_OBJECT KsPinGetConnectedPinFileObject(
[in] PKSPIN Pin
);
Parameters
[in] Pin
A pointer to a KSPIN structure that is the AVStream pin object for which to acquire the file object for the connected pin.
Return value
If Pin is a source pin, KsPinGetConnectedPinFileObject returns a pointer to the FILE_OBJECT structure for the pin to which Pin is connected. If Pin is not a source pin, it returns NULL.
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 | Universal |
Header | ks.h (include Ks.h) |
Library | Ks.lib |
IRQL | PASSIVE_LEVEL |