mirror of https://github.com/tongzx/nt5src
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.
153 lines
3.5 KiB
153 lines
3.5 KiB
/***************************************************************************
|
|
*
|
|
* Copyright (C) 1995,1996 Microsoft Corporation. All Rights Reserved.
|
|
*
|
|
* File: dsprvobj.h
|
|
* Content: DirectSound Private Object wrapper functions.
|
|
* History:
|
|
* Date By Reason
|
|
* ==== == ======
|
|
* 02/12/98 dereks Created.
|
|
*
|
|
***************************************************************************/
|
|
|
|
#ifndef __DSPRVOBJ_H__
|
|
#define __DSPRVOBJ_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif // __cplusplus
|
|
|
|
HRESULT DirectSoundPrivateCreate
|
|
(
|
|
LPKSPROPERTYSET * ppKsPropertySet
|
|
);
|
|
|
|
HRESULT PrvGetMixerSrcQuality
|
|
(
|
|
LPKSPROPERTYSET pKsPropertySet,
|
|
REFGUID guidDeviceId,
|
|
DIRECTSOUNDMIXER_SRCQUALITY * pSrcQuality
|
|
);
|
|
|
|
HRESULT PrvSetMixerSrcQuality
|
|
(
|
|
LPKSPROPERTYSET pKsPropertySet,
|
|
REFGUID guidDeviceId,
|
|
DIRECTSOUNDMIXER_SRCQUALITY SrcQuality
|
|
);
|
|
|
|
HRESULT PrvGetMixerAcceleration
|
|
(
|
|
LPKSPROPERTYSET pKsPropertySet,
|
|
REFGUID guidDeviceId,
|
|
LPDWORD pdwAcceleration
|
|
);
|
|
|
|
HRESULT PrvSetMixerAcceleration
|
|
(
|
|
LPKSPROPERTYSET pKsPropertySet,
|
|
REFGUID guidDeviceId,
|
|
DWORD dwAcceleration
|
|
);
|
|
|
|
HRESULT PrvGetDevicePresence
|
|
(
|
|
LPKSPROPERTYSET pKsPropertySet,
|
|
REFGUID guidDeviceId,
|
|
LPBOOL pfEnabled
|
|
);
|
|
|
|
HRESULT PrvSetDevicePresence
|
|
(
|
|
LPKSPROPERTYSET pKsPropertySet,
|
|
REFGUID guidDeviceId,
|
|
BOOL fEnabled
|
|
);
|
|
|
|
HRESULT PrvGetWaveDeviceMapping
|
|
(
|
|
LPKSPROPERTYSET pKsPropertySet,
|
|
LPCTSTR pszWaveDevice,
|
|
BOOL fCapture,
|
|
LPGUID pguidDeviceId
|
|
);
|
|
|
|
HRESULT PrvGetDeviceDescription
|
|
(
|
|
LPKSPROPERTYSET pKsPropertySet,
|
|
REFGUID guidDeviceId,
|
|
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA *ppData
|
|
);
|
|
|
|
HRESULT PrvReleaseDeviceDescription
|
|
(
|
|
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA pData
|
|
);
|
|
|
|
HRESULT PrvEnumerateDevices
|
|
(
|
|
LPKSPROPERTYSET pKsPropertySet,
|
|
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK pfnCallback,
|
|
LPVOID pvContext
|
|
);
|
|
|
|
HRESULT PrvGetBasicAcceleration
|
|
(
|
|
LPKSPROPERTYSET pKsPropertySet,
|
|
REFGUID guidDeviceId,
|
|
DIRECTSOUNDBASICACCELERATION_LEVEL * pLevel
|
|
);
|
|
|
|
HRESULT PrvSetBasicAcceleration
|
|
(
|
|
LPKSPROPERTYSET pKsPropertySet,
|
|
REFGUID guidDeviceId,
|
|
DIRECTSOUNDBASICACCELERATION_LEVEL Level
|
|
);
|
|
|
|
HRESULT PrvGetDebugInformation
|
|
(
|
|
LPKSPROPERTYSET pKsPropertySet,
|
|
LPDWORD pdwFlags,
|
|
PULONG pulDpfLevel,
|
|
PULONG pulBreakLevel,
|
|
LPTSTR pszLogFile
|
|
);
|
|
|
|
HRESULT PrvSetDebugInformation
|
|
(
|
|
LPKSPROPERTYSET pKsPropertySet,
|
|
DWORD dwFlags,
|
|
ULONG ulDpfLevel,
|
|
ULONG ulBreakLevel,
|
|
LPCTSTR pszLogFile
|
|
);
|
|
|
|
HRESULT PrvGetPersistentData
|
|
(
|
|
LPKSPROPERTYSET pKsPropertySet,
|
|
REFGUID guidDeviceId,
|
|
LPCTSTR pszSubkey,
|
|
LPCTSTR pszValue,
|
|
LPDWORD pdwRegType,
|
|
LPVOID pvData,
|
|
LPDWORD pcbData
|
|
);
|
|
|
|
HRESULT PrvSetPersistentData
|
|
(
|
|
LPKSPROPERTYSET pKsPropertySet,
|
|
REFGUID guidDeviceId,
|
|
LPCTSTR pszSubkey,
|
|
LPCTSTR pszValue,
|
|
DWORD dwRegType,
|
|
LPVOID pvData,
|
|
DWORD cbData
|
|
);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif // __cplusplus
|
|
|
|
#endif // __DSPRVOBJ_H__
|