This method queries for the voice command and voice text interfaces.
HRESULT IAPCSpeech::QueryInterface( REFIID riid, LPVOID FAR* ppvObj );
An appropriate HRESULT value is returned.
The application can call QuerySpeechInterface to obtain the IID_IVoiceCmd, IID_IVoiceText, and other related voice command and voice text interface pointers.
The speech object registers a notification sink; therefore, it is not necessary or possible to register your own using a voice command and voice text interface pointer.