KsGetDeviceForDeviceObject function (ks.h)
The KsGetDeviceForDeviceObject function returns the AVStream device structure for a given functional device object.
Syntax
KSDDKAPI PKSDEVICE KsGetDeviceForDeviceObject(
[in] PDEVICE_OBJECT FunctionalDeviceObject
);
Parameters
[in] FunctionalDeviceObject
A pointer to the DEVICE_OBJECT for which to return the corresponding KSDEVICE structure.
Return value
KsGetDeviceForDeviceObject returns a pointer to the KSDEVICE structure corresponding to FunctionalDeviceObject. It returns NULL if FunctionalDeviceObject is a child PDO.
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 | 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