RnaGetDevicePort

DWORD WINAPI RnaGetDevicePort(HANDLE hConn, LPDEVICE_PORT_INFO lpdpi)
 

This function is called by an SMM to get a device port information.

hConn
The RNA connection handle.
lpdpi
An address to a DEVICE_PORT_INFO structure to receive the device port informaiton. On entry, the dwSize field must be filled with the size of the structure.
ERROR_INVALID_HANDLE The RNA connection handle is invalid.
ERROR_BUFFER_INVALID The DEVICE_PORT_INFO structure is not valid or missing.