RETERR NdiSetText(hndi,lpszText) HNDI hndi; // NDI handle LPCSTR lpszText; // address of buffer
The NdiSetText function sets the text associated with the driver.
hndi
Identifies the NDI object.lpszText Points to a null-terminated string that is the new NDI text.
A driver installer would want to call NdiSetText to distinguish two different instances of the same driver. For example, the TCP/IP transport driver installer changes the text whenever the IP address for the driver changes using the device description from the DEVICE_INFO and the current IP address setting. In this way, the user can distinguish between the different TCP/IP transport instances.