|
/******************************************************************************\
* This code and information is provided "as is" without warranty
* of any kind, either expressed or implied, including but not
* limited to the implied warranties of merchantability and/or
* fitness for a particular purpose.
*
* Copyright (C) 1995 Microsoft Corporation. All Rights Reserved.
*
\******************************************************************************/
// Voice Command notifications
class CIVCmdNotifySink : public IVCmdNotifySink {
private:
DWORD m_dwRefCnt;
HWND m_hwnd;
public:
CIVCmdNotifySink(void);
~CIVCmdNotifySink(void);
// IUnkown members that delegate to m_punkOuter
// Non-delegating object IUnknown
STDMETHODIMP QueryInterface (REFIID, LPVOID FAR *);
STDMETHODIMP_(ULONG) AddRef(void);
STDMETHODIMP_(ULONG) Release(void);
// IVCmdNotifySink members
STDMETHODIMP CommandRecognize (DWORD, PVCMDNAME, DWORD, DWORD, PVOID, DWORD, PSTR, PSTR);
STDMETHODIMP CommandOther (PVCMDNAME, PTSTR);
STDMETHODIMP CommandStart (void);
STDMETHODIMP MenuActivate (PVCMDNAME, BOOL);
STDMETHODIMP UtteranceBegin (void);
STDMETHODIMP UtteranceEnd (void);
STDMETHODIMP VUMeter (WORD);
STDMETHODIMP AttribChanged (DWORD);
STDMETHODIMP Interference (DWORD);
};
typedef CIVCmdNotifySink * PCIVCmdNotifySink;
BOOL BeginOLE();
BOOL EndOLE();
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.