Commit 056588ab authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

mmdevapi: Constify IMMDeviceEnumeratorVtbl.

parent c274d6f0
......@@ -35,12 +35,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(mmdevapi);
typedef struct MMDevEnumImpl
{
IMMDeviceEnumeratorVtbl *lpVtbl;
const IMMDeviceEnumeratorVtbl *lpVtbl;
LONG ref;
} MMDevEnumImpl;
static MMDevEnumImpl *MMDevEnumerator;
static IMMDeviceEnumeratorVtbl MMDevEnumVtbl;
static const IMMDeviceEnumeratorVtbl MMDevEnumVtbl;
HRESULT MMDevEnum_Create(REFIID riid, void **ppv)
{
......@@ -147,7 +147,7 @@ static HRESULT WINAPI MMDevEnum_UnregisterEndpointNotificationCallback(IMMDevice
return E_NOTIMPL;
}
static IMMDeviceEnumeratorVtbl MMDevEnumVtbl =
static const IMMDeviceEnumeratorVtbl MMDevEnumVtbl =
{
MMDevEnum_QueryInterface,
MMDevEnum_AddRef,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment