DEVICE_PORT_INFO


typedef struct {
 DWORD dwSize;
 HANDLE hDevicePort;
 DWORD dwLinkSpeed;
} DEVICE_PORT_INFO;

This structure contains the current information of the requested device port. These type of information varies from sessions to sessions.

dwSize

The size in bytes of the DEVICE_PORT_INFO data structure.

hDevicePort

The device port handle for SMM to directly perform I/O operations by using the API set for the device class or pass it to the MAC driver.

dwLinkSpeed

a DWORD to receive the current data transfer rate (in bit-per-second.)