(COM Utility Library).
#include <comstl/comstl.h>
#include <comstl/util/creation_functions.hpp>
#include <comstl/util/interface_traits.hpp>
#include <stlsoft/conversion/char_conversions.hpp>
#include <stlsoft/shims/access/string.hpp>
#include <stlsoft/shims/attribute/get_ptr.hpp>
#include <stlsoft/smartptr/ref_ptr.hpp>
Go to the source code of this file.
Namespaces | |
namespace | impl |
Classes | |
struct | ISpNotifySource_ |
Interface that emulates the vtable of ISpNotifySource. More... | |
struct | ISpEventSource_ |
Interface that emulates the vtable of ISpEventSource. More... | |
struct | ISpVoice_ |
Interface that emulates the vtable of ISpVoice. More... | |
Defines | |
#define | CLSID_SpVoice comstl_ns_qual(CLSID_SpVoice_) |
#define | ISpVoice comstl_ns_qual(ISpVoice_) |
Enumerations | |
enum | SPEAKFLAGS { SPF_DEFAULT = 0, SPF_ASYNC = 1L << 0, SPF_PURGEBEFORESPEAK = 1L << 1, SPF_IS_FILENAME = 1L << 2, SPF_IS_XML = 1L << 3, SPF_IS_NOT_XML = 1L << 4, SPF_PERSIST_XML = 1L << 5, SPF_NLP_SPEAK_PUNC = 1L << 6, SPF_NLP_MASK = SPF_NLP_SPEAK_PUNC, SPF_VOICE_MASK = SPF_ASYNC | SPF_PURGEBEFORESPEAK | SPF_IS_FILENAME | SPF_IS_XML | SPF_IS_NOT_XML | SPF_NLP_MASK | SPF_PERSIST_XML, SPF_UNUSED_FLAGS = ~SPF_VOICE_MASK } |
Flags that may be passed to comstl::sapi_speak(). More... | |
Functions | |
HRESULT | sapi_speak_ (ISpVoice *voice, wchar_t const *words, DWORD flags) |
HRESULT | sapi_speak_ (ISpVoice *voice, char const *words, DWORD flags) |
template<typename V, typename S> | |
HRESULT | sapi_speak (V &voice, S const &words, DWORD flags) |
HRESULT | sapi_create (stlsoft::ref_ptr< ISpVoice > &voice) |
enum SPEAKFLAGS |
Flags that may be passed to comstl::sapi_speak().