Created by

To create a speech-recognition enumerator, call CoCreateInstance function with the CLSID_SREnumerator class identifier and the IID_ISRFind or IID_ISREnum interface identifier, depending on the interface desired.

CoCreateInstance returns the address of the requested interface on the newly created speech-recognition enumerator.