In the example provider component, one code 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. The supported method is listed in the following table.
| Method | Description |
|---|---|
| CSampleDSProviderCF::CreateInstance | Creates an instance of the class factory for the ADS provider object. |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
