guidseg.cpp
Upload User: zhaopin
Upload Date: 2007-01-07
Package Size: 79k
Code Size: 1k
Development Platform:

Visual C++

  1. /******************************************************************************
  2. *       guidseg.cpp
  3. *
  4. *       This file initializes GUIDS for the Microsoft Speech API
  5. *       NOTE: do not use Precompiled Headers to compile this file
  6. *       due to the inclusion of initguid.h.
  7. *
  8. *       This code and information is provided "as is" without warranty
  9. *       of any kind, either expressed or implied, including but not
  10. *       limited to the implied warranties of merchantability and/or
  11. *       fitness for a particular purpose.
  12. *
  13. */
  14. #include <windows.h>
  15. #include <mmsystem.h>
  16. #include <objbase.h>
  17. #include <initguid.h>
  18. #include <objerror.h>
  19. #ifdef DIRECTSOUND
  20. #include <dsound.h>
  21. #endif // DIRECTSOUND
  22. #include <speech.h>   // init GUIDs for Speech API (see initguid.h)