mmdevapi: Constify IMMDeviceEnumeratorVtbl.
This commit is contained in:
parent
c274d6f06e
commit
056588abbc
@ -35,12 +35,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(mmdevapi);
|
|||||||
|
|
||||||
typedef struct MMDevEnumImpl
|
typedef struct MMDevEnumImpl
|
||||||
{
|
{
|
||||||
IMMDeviceEnumeratorVtbl *lpVtbl;
|
const IMMDeviceEnumeratorVtbl *lpVtbl;
|
||||||
LONG ref;
|
LONG ref;
|
||||||
} MMDevEnumImpl;
|
} MMDevEnumImpl;
|
||||||
|
|
||||||
static MMDevEnumImpl *MMDevEnumerator;
|
static MMDevEnumImpl *MMDevEnumerator;
|
||||||
static IMMDeviceEnumeratorVtbl MMDevEnumVtbl;
|
static const IMMDeviceEnumeratorVtbl MMDevEnumVtbl;
|
||||||
|
|
||||||
HRESULT MMDevEnum_Create(REFIID riid, void **ppv)
|
HRESULT MMDevEnum_Create(REFIID riid, void **ppv)
|
||||||
{
|
{
|
||||||
@ -147,7 +147,7 @@ static HRESULT WINAPI MMDevEnum_UnregisterEndpointNotificationCallback(IMMDevice
|
|||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static IMMDeviceEnumeratorVtbl MMDevEnumVtbl =
|
static const IMMDeviceEnumeratorVtbl MMDevEnumVtbl =
|
||||||
{
|
{
|
||||||
MMDevEnum_QueryInterface,
|
MMDevEnum_QueryInterface,
|
||||||
MMDevEnum_AddRef,
|
MMDevEnum_AddRef,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user