RETERR NdiGetDeviceInfo(hndi, lplpdi);
HNDI hndi; // NDI handle
LPLPDEVICE_INFO lplpdi; // address of pointer to structure
The NdiGetDeviceInfo function retrieves the address of the DEVICE_INFO structure associated with the NDI object.