Directory Services

CPROVCF.CPP

In the example provider component, one example of the ADs provider object class factory code is in cprovcf.cpp. The provider component never directly creates an instance of this object at any time other than when the object is created automatically during the binding operations in ADsGetObject or the internal function in the Visual Basic method GetObject.

CSampleDSProviderCF::CreateInstance Creates an instance of the class factory for the ADs provider object.