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.

93 lines
2.5 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1995-1999 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: dxvhelp.h
  6. * Content: Project wide structures
  7. * History:
  8. *
  9. * Date By Reason
  10. * ==== == ======
  11. * 10/15/99 rodtoll created it
  12. * rodtoll Added member to track manager thread handle
  13. * 11/02/99 rodtoll Bug #116677 - Can't use lobby clients that don't hang around
  14. * 11/12/99 rodtoll Added support for the new waveIN/waveOut flags and the
  15. * echo suppression flag.
  16. * 12/01/99 rodtoll Added members to allow control of microphone autoselection and
  17. * to allow user to select the recording/playback devices.
  18. * 12/07/99 rodtoll Bug #122628 Make error messages silent when running in silent mode
  19. * rodtoll Bug #122979 Make invisible to end user
  20. * 12/08/99 rodtoll Bug #121054 Add support for new DX71. interfaces.
  21. *
  22. ***************************************************************************/
  23. #ifndef __DXVHELP_H
  24. #undef DPF_SUBCOMP
  25. #define DPF_SUBCOMP DN_SUBCOMP_VOICE
  26. // Parameters for the session
  27. //
  28. typedef struct
  29. {
  30. BOOL fRegister;
  31. BOOL fUnRegister;
  32. BOOL fHost;
  33. BOOL fLobbyLaunched;
  34. BOOL fSilent;
  35. DWORD dwSessionType;
  36. GUID guidCT;
  37. TCHAR lpszConnectAddress[_MAX_PATH];
  38. BOOL fAGC;
  39. BOOL fAdvancedUI;
  40. BOOL fWaitForSettings;
  41. LONG lRecordVolume;
  42. BOOL fKill;
  43. BOOL fIgnoreLobbyDestroy;
  44. BOOL fAllowWaveOut;
  45. BOOL fForceWaveOut;
  46. BOOL fAllowWaveIn;
  47. BOOL fForceWaveIn;
  48. BOOL fEchoSuppression;
  49. BOOL fAutoSelectMic;
  50. GUID guidPlaybackDevice;
  51. GUID guidRecordDevice;
  52. BOOL fSelectCards;
  53. BOOL fStrictFocus;
  54. BOOL fDisableFocus;
  55. } DXVHELP_PARAMETERS, *PDXVHELP_PARAMETERS;
  56. // Runtime information, handles etc.
  57. //
  58. typedef struct
  59. {
  60. HWND hMainDialog;
  61. GUID guidInstance;
  62. DPID dpidLocalPlayer;
  63. HANDLE hReceiveEvent;
  64. HANDLE hLobbyEvent;
  65. HANDLE hThreadDone;
  66. HANDLE hShutdown;
  67. HANDLE hGo;
  68. HANDLE hManagerThread;
  69. DWORD dwNumClients;
  70. HWND hMainWnd;
  71. HINSTANCE hInst;
  72. int lVolumeHeight;
  73. LPDIRECTPLAYVOICECLIENT lpdvClient;
  74. LPDIRECTPLAYVOICESERVER lpdvServer;
  75. LPDIRECTPLAYLOBBY3A lpdpLobby;
  76. LPDIRECTPLAY4A lpdpDirectPlay;
  77. DXVHELP_PARAMETERS dxvParameters;
  78. } DXVHELP_RTINFO, *PDXVHELP_RTINFO;
  79. // {D08922EF-59C1-48c8-90DA-E6BC275D5C8D}
  80. DEFINE_GUID(DPVHELP_PRIVATE_APPID, 0xd08922ef, 0x59c1, 0x48c8, 0x90, 0xda, 0xe6, 0xbc, 0x27, 0x5d, 0x5c, 0x8d);
  81. // {3B296900-A2E0-4d54-AEA0-BAEE895E43B3}
  82. DEFINE_GUID(DPVHELP_PUBLIC_APPID,
  83. 0x3b296900, 0xa2e0, 0x4d54, 0xae, 0xa0, 0xba, 0xee, 0x89, 0x5e, 0x43, 0xb3);
  84. #endif