KsGetBusEnumPnpDeviceObject function (swenum.h)
This function is intended for internal use only.
The KsGetBusEnumPnpDeviceObject function retrieves the Plug and Play device object attached to the given device object.
Syntax
KSDDKAPI NTSTATUS KsGetBusEnumPnpDeviceObject(
[in] PDEVICE_OBJECT DeviceObject,
[out] PDEVICE_OBJECT *PnpDeviceObject
);
Parameters
[in] DeviceObject
Pointer to the device object from which to retrieve the Plug and Play device object.
[out] PnpDeviceObject
Pointer to the device object to receive the Plug and Play device object pointer.
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 an FDO.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Header | swenum.h (include Swenum.h) |
Library | Ks.lib |
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