CreateNdiFromDeviceId


RETERR CreateNdiFromDeviceId(lpszId)
LPCSTR lpszId;    // address of the device ID to install

The CreateNdiFromDeviceId function creates an NDI object and installs the given device. To install NetBEUI, for example, the call would be: CreateNdiFromDeviceId("NETBEUI");

lpszId

Points to a string containing the device ID for the device to install.

This function causes a NDI_CREATE message to be sent to the newly created NDI object.