21.4 Open a Handle

The NcDetectOpenHandle function obtains a handle to a particular network interface card that has been reported by the detection DLL interface. The function prototype is as follows:

LONG NcDetectOpenHandle(pvToken, *ppvHandle)

PVOID pvToken;
PVOID *ppvHandle;

Parameters

ppvToken

Points to a token output by NcDetectFirstNext and used to obtain a handle for the network interface card.

ppvHandle

Points to the receiving area for the opaque handle to be created by the detection DLL.