[PATCH 4/8] mmdevapi: Constify IMMDeviceEnumeratorVtbl
Maarten Lankhorst
m.b.lankhorst at gmail.com
Mon Jan 4 15:38:04 CST 2010
---
dlls/mmdevapi/devenum.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/mmdevapi/devenum.c b/dlls/mmdevapi/devenum.c
index 90347b1..f6992df 100644
--- a/dlls/mmdevapi/devenum.c
+++ b/dlls/mmdevapi/devenum.c
@@ -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,
--
1.6.5.7
--------------040503070509090504070806--
More information about the wine-patches
mailing list