9.1.4 Open a Handle

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

LONG NcDetectOpenHandle(
PVOID pvToken,
PVOID
*ppvHandle
);

Parameters

ppvToken

Points to a token output by NcDetectFirstNext and used to obtain a handle to the NIC.

ppvHandle

Points to a variable in which the opaque handle to be created by the detection DLL is returned.