www.pudn.com > cspeech.zip > guidseg.cpp


/******************************************************************************\ 
*       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  
#include  
#include  
#include  
#include  
 
#ifdef DIRECTSOUND 
#include  
#endif // DIRECTSOUND 
 
#include 	  // init GUIDs for Speech API (see initguid.h)