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.
52 lines
954 B
52 lines
954 B
#include "multimediapch.h"
|
|
#pragma hdrstop
|
|
|
|
#include <mmsystem.h>
|
|
#include <dsound.h>
|
|
|
|
static
|
|
HRESULT
|
|
WINAPI
|
|
DirectSoundCaptureCreate(
|
|
LPCGUID pcGuidDevice,
|
|
LPDIRECTSOUNDCAPTURE *ppDSC,
|
|
LPUNKNOWN pUnkOuter
|
|
)
|
|
{
|
|
return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
|
|
}
|
|
|
|
static
|
|
HRESULT
|
|
WINAPI
|
|
DirectSoundCaptureEnumerateA(
|
|
LPDSENUMCALLBACKA pDSEnumCallback,
|
|
LPVOID pContext
|
|
)
|
|
{
|
|
return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
|
|
}
|
|
|
|
static
|
|
HRESULT
|
|
WINAPI
|
|
DirectSoundCaptureEnumerateW(
|
|
LPDSENUMCALLBACKW pDSEnumCallback,
|
|
LPVOID pContext
|
|
)
|
|
{
|
|
return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
|
|
}
|
|
|
|
|
|
//
|
|
// !! WARNING !! The entries below must be in order by ORDINAL
|
|
//
|
|
DEFINE_ORDINAL_ENTRIES(dsound)
|
|
{
|
|
DLOENTRY(6, DirectSoundCaptureCreate)
|
|
DLOENTRY(7, DirectSoundCaptureEnumerateA)
|
|
DLOENTRY(8, DirectSoundCaptureEnumerateW)
|
|
};
|
|
|
|
DEFINE_ORDINAL_MAP(dsound)
|