Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.3 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: dvsetup.h
  6. * Content: Defines functions for the DirectXVoiceClient interface
  7. *
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 09/02/99 pnewson Created It
  12. * 11/04/99 pnewson Bug #115297 - removed unused members of Setup interface
  13. * - added HWND to check audio setup
  14. * 11/30/99 pnewson Bug #117449 - IDirectPlayVoiceSetup Parameter validation
  15. * 05/03/2000 rodtoll Bug #33640 - CheckAudioSetup takes GUID * instead of const GUID *
  16. *
  17. ***************************************************************************/
  18. #ifndef __DVSETUP__
  19. #define __DVSETUP__
  20. class CDirectVoiceSetup;
  21. struct DIRECTVOICESETUPOBJECT
  22. {
  23. LPVOID lpVtbl;
  24. LONG lIntRefCnt;
  25. DNCRITICAL_SECTION csCountLock;
  26. CDirectVoiceSetup* lpDVSetup;
  27. };
  28. typedef DIRECTVOICESETUPOBJECT *LPDIRECTVOICESETUPOBJECT;
  29. #ifdef __cplusplus
  30. extern "C" {
  31. #endif
  32. STDAPI DVT_AddRef(LPDIRECTVOICESETUPOBJECT lpDVT);
  33. STDAPI DVT_Release(LPDIRECTVOICESETUPOBJECT lpDVT );
  34. STDAPI DVT_QueryInterface( LPDIRECTVOICESETUPOBJECT lpDVT, REFIID riid, LPVOID * ppvObj );
  35. STDAPI DVT_CheckAudioSetup( LPDIRECTVOICESETUPOBJECT, const GUID *, const GUID * , HWND, DWORD );
  36. #ifdef __cplusplus
  37. }
  38. #endif
  39. #endif