// 61883.h
typedef struct _GET_UNIT_INFO {
IN ULONG nLevel;
IN OUT PVOID Information;
} GET_UNIT_INFO, *PGET_UNIT_INFO;
View the official Windows Driver Kit DDI referenceNo description available.
This structure is used to get unit information.The request retrieves unit information about the device. The Plug and Play ID for a 61883 device is based on its VendorID, ModelID, and Character/Transaction Set.
nLevelOn input, the level of information to retrieve. Can be one of the following:
GET_UNIT_INFO_IDS
GET_UNIT_INFO_CAPABILITIES
GET_UNIT_INFO_ISOCH_PARAMS
GET_UNIT_BUS_GENERATION_NODE
GET_UNIT_DDI_VERSION
GET_UNIT_DIAG_LEVEL
InformationIn input, a pointer to information supplied by the protocol driver about the device.
| Value of nLevel | Action of the Protocol Driver |
|---|---|
| GET_UNIT_INFO_IDS | The protocol driver writes device ID information to the caller-allocated GET_UNIT_IDS structure at Information. |
| GET_UNIT_INFO_CAPABILITIES | The protocol driver writes a GET_UNIT_CAPABILITIES structure containing device capability information. |
| GET_UNIT_ISOCH_PARAMS | The protocol driver writes a UNIT_ISOCH_PARAMS structure containing device parameters used by the device to capture and transmit isochronous packets. |
| GET_UNIT_BUS_GENERATION_NODE | The protocol driver writes current bus characteristics to the caller-allocated BUS_GENERATION_NODE structure at Information. |
| GET_UNIT_DDI_VERSION | The protocol driver writes current 61883 DDI version to the caller-allocated UNIT_DDI_VERSION structure at Information. |
| GET_UNIT_DIAG_LEVEL | The protocol driver writes current diag level to the caller-allocated UNIT_DIAG_LEVEL structure at Information. |
Flags in the request specifies either RETRIEVE_DEVICE_UNIT_INFO or RETRIEVE_LOCAL_UNIT_INFO. Only used when nLevel is set to GET_UNIT_INFO_CAPABILITIES.