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.
hndi
Identifies the NDI object.
lpszDeviceID
Points to the buffer that is to receive the text.
cbDeviceID
Specifies the maximum number of bytes to be copied, including the terminating null character.