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

// Copyright (c) 1998 Microsoft Corporation
//
//
//
#ifndef _DMUSIC32_
#define _DMUSIC32_
typedef HRESULT (*PORTENUMCB)(
LPVOID pInstance, // @parm Callback instance data
DMUS_PORTCAPS &dmpc,
PORTTYPE pt,
int idxDev, // @parm The WinMM or SysAudio device ID of this driver
int idxPin, // @parm The Pin ID of the device or -1 if the device is a legacy device
int idxNode, // @parm The node ID of the device's synth node (unused for legacy)
HKEY hkPortsRoot); // @parm Where port information is stored in the registry
extern HRESULT EnumLegacyDevices(
LPVOID pInstance, // @parm Callback instance data
PORTENUMCB cb); // @parm Pointer to callback function
typedef HRESULT (__stdcall *PENUMLEGACYDEVICES)(
LPVOID pInstance, // @parm Callback instance data
PORTENUMCB cb); // @parm Pointer to callback function
extern HRESULT CreateCDirectMusicEmulatePort(
PORTENTRY *pPE,
CDirectMusic *pDM,
LPDMUS_PORTPARAMS pPortParams,
IDirectMusicPort **pPort);
typedef HRESULT (__stdcall *PCREATECDIRECTMUSICEMULATEPORT)(
PORTENTRY *pPE,
CDirectMusic *pDM,
LPDMUS_PORTPARAMS pPortParams,
IDirectMusicPort **pPort);
#endif