Accessing the LEAD Network Source Object

The LEAD Network Source object can be obtained by creating an instance of the ltmmNetSrc class using the following code:

ILMNetSrc* pns;

CoCreateInstance(CLSID_LMNetSrc, NULL, CLSCTX_INPROC_SERVER, IID_ILMNetSrc, (void**) &pns)