KsIsBusEnumChildDevice function

This function is intended for internal use only.

The KsIsBusEnumChildDevice function determines if the given device object is a child device of the demand-load bus enumerator object.

Syntax


NTSTATUS KsIsBusEnumChildDevice(
  _In_  PDEVICE_OBJECT DeviceObject,
  _Out_ PBOOLEAN       ChildDevice
);

Parameters

DeviceObject [in]

Pointer to a device object.

ChildDevice [out]

Pointer to a BOOLEAN to receive the result. KsIsBusEnumChildDevice sets this to TRUE if the given device object is a child device of the demand-load bus enumerator object, or FALSE otherwise.

Return value

Returns STATUS_SUCCESS if the given device object's device extension is valid; otherwise, it returns an error code.

Requirements

Target platform

Universal

Header

Swenum.h (include Swenum.h)

Library

Ks.lib

 

 

Send comments about this topic to Microsoft

Show: