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);
This function causes a NDI_CREATE message to be sent to the newly created NDI object.