HNDI NdiFindNdi(ndiRelation, wNetClass, lpszDeviceId) HNDI ndiRelation; // NDI handle WORD wNetClass; // network class LPCSTR lpszDeviceID; // pointer to string
The NdiFindNDI procedure used for finding or enumerating the NDI objects in the system. For example, you can enumerate all drivers of a certain class, or look up a specific device ID.
ndiRelation
Identifies an NDI object. Pass NULL to search from all NDI objects. Pass in the return value from a previous call to NdiFindNdi to find the next object that matches your criteria.
wNetClass
Specifies the network object class to look for. If zero, all classes match.
Value | Meaning |
NDI_CLASS_NET | Network adapter ("Net") |
NDI_CLASS_TRANS | Network transport ("NetTrans") |
NDI_CLASS_CLIENT | Network client ("NetClient") |
NDI_CLASS_SERVICE | Network service ("NetService") |
lpszDeviceID
Points to a buffer that contains the device ID to match. If NULL, all device IDs match.
Note that when searching for device IDs, more that one instance of that device ID may be installed, so you will want to call NdiFindNdi successively.