Leaked source code of windows server 2003
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.

40 lines
1.0 KiB

  1. // Copyright (c) 1998-1999 Microsoft Corporation
  2. // dmime.h
  3. //
  4. #ifndef _DMIME_H_
  5. #define _DMIME_H_
  6. // Must be before dmusicc.h, which includes dsound.h
  7. //
  8. #include <windows.h>
  9. #include <mmsystem.h>
  10. #include <dsoundp.h>
  11. #include "dmusici.h"
  12. #define COM_NO_WINDOWS_H
  13. #include <objbase.h>
  14. #include <mmsystem.h>
  15. #define RELEASE(x) if( NULL != x ) { x->Release(); }
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. extern long g_cComponent;
  20. extern bool g_fInitCS;
  21. extern CRITICAL_SECTION g_CritSec;
  22. #define PARTIALLOAD_S_OK (1 << 1)
  23. #define PARTIALLOAD_E_FAIL (1 << 2)
  24. #ifdef __cplusplus
  25. }; /* extern "C" */
  26. #endif
  27. DEFINE_GUID(IID_IDirectMusicPerformanceStats, 0x9301e312, 0x1f22, 0x11d3, 0x82, 0x26, 0xd2, 0xfa, 0x76, 0x25, 0x5d, 0x47);
  28. DEFINE_GUID(IID_IDirectMusicParamHook,0x58880561, 0x5481, 0x11d3, 0x9b, 0xd1, 0xc2, 0x9f, 0xc4, 0xd1, 0xe6, 0x35);
  29. DEFINE_GUID(IID_IDirectMusicSetParamHook,0x679c4138, 0xc62e, 0x4147, 0xb2, 0xb4, 0x9d, 0x56, 0x9a, 0xcb, 0x25, 0x4c);
  30. #endif // _DMIME_H_