- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
guidseg.cpp
资源名称:cspeech.zip [点击查看]
上传用户:zhaopin
上传日期:2007-01-07
资源大小:79k
文件大小:3k
源码类别:
语音合成与识别
开发平台:
Visual C++
- /******************************************************************************
- * guidseg.cpp
- *
- * This file initializes GUIDS for the Microsoft Speech API
- * NOTE: do not use Precompiled Headers to compile this file
- * due to the inclusion of initguid.h.
- *
- * 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-1997 by Microsoft Corporation
- THE INFORMATION AND CODE PROVIDED HEREUNDER (COLLECTIVELY REFERRED TO
- AS "SOFTWARE") IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN
- NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
- ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
- CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
- MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR
- LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE
- FOREGOING LIMITATION MAY NOT APPLY.
- This Software may be copied and distributed royalty-free subject to
- the following conditions:
- 1. You must copy all Software without modification and must include
- all pages, if the Software is distributed without inclusion in your
- software product. If you are incorporating the Software in
- conjunction with and as a part of your software product which adds
- substantial value, you may modify and include portions of the
- Software.
- 2. You must place all copyright notices and other protective
- disclaimers and notices contained on the Software on all copies of
- the Software and your software product.
- 3. Unless the Software is incorporated in your software product which
- adds substantial value, you may not distribute this Software for
- profit.
- 4. You may not use Microsoft's name, logo, or trademarks to market
- your software product.
- 5. You agree to indemnify, hold harmless, and defend Microsoft and its
- suppliers from and against any claims or lawsuits, including
- attorneys' fees, that arise or result from the use or distribution
- of your software product and any modifications to the Software.
- */
- #include <windows.h>
- #include <mmsystem.h>
- #include <objbase.h>
- #include <initguid.h>
- #include <objerror.h>
- #ifdef DIRECTSOUND
- #include <dsound.h>
- #endif // DIRECTSOUND
- #include <speech.h> // init GUIDs for Speech API (see initguid.h)