swenum.h header

This header is used by stream. For more information, see:

swenum.h contains the following programming interfaces:

IOCTLs

 
IOCTL_SWENUM_GET_BUS_ID

Learn more about: IOCTL_SWENUM_GET_BUS_ID IOCTL
IOCTL_SWENUM_INSTALL_INTERFACE

Learn more about: IOCTL_SWENUM_INSTALL_INTERFACE IOCTL
IOCTL_SWENUM_REMOVE_INTERFACE

Learn more about: IOCTL_SWENUM_REMOVE_INTERFACE IOCTL

Functions

 
DEFINE_GUIDEX

Learn more about: DEFINE_GUIDEX function
KsCreateBusEnumObject

The KsCreateBusEnumObject function is for system use only.
KsDereferenceSoftwareBusObject

The KsDereferenceSoftwareBusObject function decrements the reference count of the demand-load bus enumerator object's PDO.
KsGetBusEnumIdentifier

The KsGetBusEnumIdentifier function retrieves the software bus enumerator identifier for the bus device associated with the given IRP.
KsGetBusEnumParentFDOFromChildPDO

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

The KsGetBusEnumPnpDeviceObject function retrieves the Plug and Play device object attached to the given device object.
KsInstallBusEnumInterface

The KsInstallBusEnumInterface function installs an interface to the demand-load bus enumerator object.
KsIsBusEnumChildDevice

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

The KsQuerySoftwareBusInterface function creates a buffer from the paged pool and copies the reference string associated with the demand-load bus enumerator object's PDO into the buffer.
KsReferenceSoftwareBusObject

The KsReferenceSoftwareBusObject function increments the reference count of the demand-load bus enumerator object's PDO.
KsRemoveBusEnumInterface

The KsRemoveBusEnumInterface function removes an interface to the demand-load bus enumerator object.
KsServiceBusEnumCreateRequest

The KsServiceBusEnumCreateRequest function services IRP_MJ_CREATE requests for the software bus device interface.
KsServiceBusEnumPnpRequest

The KsServiceBusEnumPnpRequest function is for system use only.

Callback functions

 
PFNDEREFERENCEDEVICEOBJECT

The PFNDEREFERENCEDEVICEOBJECT callback function (swenum.h) can be invoked by the driver to decrement the reference count of the Physical Device Object (PDO).
PFNQUERYREFERENCESTRING

The PFNQUERYREFERENCESTRING callback function (swenum.h) copies the reference string associated with the PDO into a buffer that is created and freed by the caller.
PFNREFERENCEDEVICEOBJECT

The PFNREFERENCEDEVICEOBJECT callback function (swenum.h) can be invoked by the driver to increment the reference count of the Physical Device Object (PDO).

Structures

 
BUS_INTERFACE_SWENUM

The BUS_INTERFACE_SWENUM structure describes the demand-load bus enumerator object's interface.
SWENUM_INSTALL_INTERFACE

The SWENUM_INSTALL_INTERFACE structure describes a specific demand-load bus enumerator object interface to install.