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.

39 lines
1.3 KiB

  1. // Copyright (c) 1998 Microsoft Corporation
  2. //
  3. //
  4. //
  5. #ifndef _DMUSIC32_
  6. #define _DMUSIC32_
  7. typedef HRESULT (*PORTENUMCB)(
  8. LPVOID pInstance, // @parm Callback instance data
  9. DMUS_PORTCAPS &dmpc,
  10. PORTTYPE pt,
  11. int idxDev, // @parm The WinMM or SysAudio device ID of this driver
  12. int idxPin, // @parm The Pin ID of the device or -1 if the device is a legacy device
  13. int idxNode, // @parm The node ID of the device's synth node (unused for legacy)
  14. HKEY hkPortsRoot); // @parm Where port information is stored in the registry
  15. extern HRESULT EnumLegacyDevices(
  16. LPVOID pInstance, // @parm Callback instance data
  17. PORTENUMCB cb); // @parm Pointer to callback function
  18. typedef HRESULT (__stdcall *PENUMLEGACYDEVICES)(
  19. LPVOID pInstance, // @parm Callback instance data
  20. PORTENUMCB cb); // @parm Pointer to callback function
  21. extern HRESULT CreateCDirectMusicEmulatePort(
  22. PORTENTRY *pPE,
  23. CDirectMusic *pDM,
  24. LPDMUS_PORTPARAMS pPortParams,
  25. IDirectMusicPort **pPort);
  26. typedef HRESULT (__stdcall *PCREATECDIRECTMUSICEMULATEPORT)(
  27. PORTENTRY *pPE,
  28. CDirectMusic *pDM,
  29. LPDMUS_PORTPARAMS pPortParams,
  30. IDirectMusicPort **pPort);
  31. #endif