KsGetBusEnumParentFDOFromChildPDO
TOC
Collapse the table of content
Expand the table of content

KsGetBusEnumParentFDOFromChildPDO function

This function is intended for internal use only.

The KsGetBusEnumParentFDOFromChildPDO function retrieves the FDO of the parent of the given child PDO.

Syntax


NTSTATUS KsGetBusEnumParentFDOFromChildPDO(
  _In_  PDEVICE_OBJECT DeviceObject,
  _Out_ PDEVICE_OBJECT *FunctionalDeviceObject
);

Parameters

DeviceObject [in]

Pointer to the child's PDO.

FunctionalDeviceObject [out]

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

Target platform

Universal

Header

Swenum.h (include Swenum.h)

Library

Ks.lib

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft