RETERR NdiGetDeviceID(hndi,lpszDeviceID,cbDeviceID)
HNDI hndi; // NDI handle
LPSTR lpszDeviceID; // address of buffer for device ID
UINT cbDeviceID; // number of bytes to copy
The NdiGetDeviceID function copies the Plug and Play device ID for the given NDI object to lpszDeviceID.