In the example provider component, one way to implement the ADs provider object is found in cprov.cpp.