KsGetBusEnumParentFDOFromChildPDO function (swenum.h)
This function is intended for internal use only.
The KsGetBusEnumParentFDOFromChildPDO function retrieves the FDO of the parent of the given child PDO.
Syntax
KSDDKAPI NTSTATUS KsGetBusEnumParentFDOFromChildPDO(
[in] PDEVICE_OBJECT DeviceObject,
[out] PDEVICE_OBJECT *FunctionalDeviceObject
);
Parameters
[in] DeviceObject
Pointer to the child's PDO.
[out] FunctionalDeviceObject
Pointer to the device object to receive the parent's FDO.
Return value
Returns STATUS_SUCCESS if successful, or STATUS_INVALID_PARAMETER if DeviceObject does not contain a device extension, or if the device extension specified in DeviceObject is not that of a PDO.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Header | swenum.h (include Swenum.h) |
Library | Ks.lib |