Commit c4479390 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Interlocked LONG* gcc warning fixes.

parent 9f7e794c
...@@ -37,37 +37,37 @@ ...@@ -37,37 +37,37 @@
typedef struct { typedef struct {
IDirectXFile lpVtbl; IDirectXFile lpVtbl;
ULONG ref; LONG ref;
} IDirectXFileImpl; } IDirectXFileImpl;
typedef struct { typedef struct {
IDirectXFileBinary lpVtbl; IDirectXFileBinary lpVtbl;
ULONG ref; LONG ref;
} IDirectXFileBinaryImpl; } IDirectXFileBinaryImpl;
typedef struct { typedef struct {
IDirectXFileData lpVtbl; IDirectXFileData lpVtbl;
ULONG ref; LONG ref;
} IDirectXFileDataImpl; } IDirectXFileDataImpl;
typedef struct { typedef struct {
IDirectXFileDataReference lpVtbl; IDirectXFileDataReference lpVtbl;
ULONG ref; LONG ref;
} IDirectXFileDataReferenceImpl; } IDirectXFileDataReferenceImpl;
typedef struct { typedef struct {
IDirectXFileObject lpVtbl; IDirectXFileObject lpVtbl;
ULONG ref; LONG ref;
} IDirectXFileObjectImpl; } IDirectXFileObjectImpl;
typedef struct { typedef struct {
IDirectXFileEnumObject lpVtbl; IDirectXFileEnumObject lpVtbl;
ULONG ref; LONG ref;
} IDirectXFileEnumObjectImpl; } IDirectXFileEnumObjectImpl;
typedef struct { typedef struct {
IDirectXFileSaveObject lpVtbl; IDirectXFileSaveObject lpVtbl;
ULONG ref; LONG ref;
} IDirectXFileSaveObjectImpl; } IDirectXFileSaveObjectImpl;
HRESULT IDirectXFileImpl_Create(IUnknown *pUnkOuter, LPVOID *ppObj); HRESULT IDirectXFileImpl_Create(IUnknown *pUnkOuter, LPVOID *ppObj);
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(d3dxof); WINE_DEFAULT_DEBUG_CHANNEL(d3dxof);
static DWORD dll_ref = 0; static LONG dll_ref = 0;
/* For the moment, do nothing here. */ /* For the moment, do nothing here. */
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
...@@ -64,7 +64,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) ...@@ -64,7 +64,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
typedef struct { typedef struct {
IClassFactory ITF_IClassFactory; IClassFactory ITF_IClassFactory;
DWORD ref; LONG ref;
HRESULT (*pfnCreateInstance)(IUnknown *pUnkOuter, LPVOID *ppObj); HRESULT (*pfnCreateInstance)(IUnknown *pUnkOuter, LPVOID *ppObj);
} IClassFactoryImpl; } IClassFactoryImpl;
......
...@@ -31,7 +31,7 @@ typedef struct IDirectInputDevice2AImpl IDirectInputDevice2AImpl; ...@@ -31,7 +31,7 @@ typedef struct IDirectInputDevice2AImpl IDirectInputDevice2AImpl;
struct IDirectInputDevice2AImpl struct IDirectInputDevice2AImpl
{ {
const IDirectInputDevice2AVtbl *lpVtbl; const IDirectInputDevice2AVtbl *lpVtbl;
DWORD ref; LONG ref;
GUID guid; GUID guid;
}; };
......
...@@ -71,7 +71,7 @@ static const IDirectInputDevice8WVtbl JoystickWvt; ...@@ -71,7 +71,7 @@ static const IDirectInputDevice8WVtbl JoystickWvt;
struct JoystickImpl struct JoystickImpl
{ {
const void *lpVtbl; const void *lpVtbl;
DWORD ref; LONG ref;
GUID guid; GUID guid;
......
...@@ -92,7 +92,7 @@ struct IDirectMusicBandImpl { ...@@ -92,7 +92,7 @@ struct IDirectMusicBandImpl {
const IDirectMusicBandVtbl *BandVtbl; const IDirectMusicBandVtbl *BandVtbl;
const IDirectMusicObjectVtbl *ObjectVtbl; const IDirectMusicObjectVtbl *ObjectVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicBandImpl fields */ /* IDirectMusicBandImpl fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -108,7 +108,7 @@ struct IDirectMusicBandTrack { ...@@ -108,7 +108,7 @@ struct IDirectMusicBandTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicBandTrack fields */ /* IDirectMusicBandTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
......
...@@ -67,7 +67,7 @@ struct IDirectMusicChordMapImpl { ...@@ -67,7 +67,7 @@ struct IDirectMusicChordMapImpl {
const IDirectMusicChordMapVtbl *ChordMapVtbl; const IDirectMusicChordMapVtbl *ChordMapVtbl;
const IDirectMusicObjectVtbl *ObjectVtbl; const IDirectMusicObjectVtbl *ObjectVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicChordMapImpl fields */ /* IDirectMusicChordMapImpl fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -89,7 +89,7 @@ extern ULONG WINAPI IDirectMusicChordMapImpl_IPersistStream_AddRef (LPPERSISTS ...@@ -89,7 +89,7 @@ extern ULONG WINAPI IDirectMusicChordMapImpl_IPersistStream_AddRef (LPPERSISTS
struct IDirectMusicComposerImpl { struct IDirectMusicComposerImpl {
/* IUnknown fields */ /* IUnknown fields */
const IDirectMusicComposerVtbl *lpVtbl; const IDirectMusicComposerVtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirectMusicComposerImpl fields */ /* IDirectMusicComposerImpl fields */
}; };
...@@ -106,7 +106,7 @@ struct IDirectMusicChordMapTrack { ...@@ -106,7 +106,7 @@ struct IDirectMusicChordMapTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicChordMapTrack fields */ /* IDirectMusicChordMapTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -127,7 +127,7 @@ struct IDirectMusicSignPostTrack { ...@@ -127,7 +127,7 @@ struct IDirectMusicSignPostTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicSignPostTrack fields */ /* IDirectMusicSignPostTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
......
...@@ -132,7 +132,7 @@ typedef struct DMUSIC_PRIVATE_PCHANNEL_ { ...@@ -132,7 +132,7 @@ typedef struct DMUSIC_PRIVATE_PCHANNEL_ {
struct IDirectMusicPerformance8Impl { struct IDirectMusicPerformance8Impl {
/* IUnknown fields */ /* IUnknown fields */
const IDirectMusicPerformance8Vtbl *lpVtbl; const IDirectMusicPerformance8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirectMusicPerformanceImpl fields */ /* IDirectMusicPerformanceImpl fields */
IDirectMusic8* pDirectMusic; IDirectMusic8* pDirectMusic;
...@@ -176,7 +176,7 @@ struct IDirectMusicSegment8Impl { ...@@ -176,7 +176,7 @@ struct IDirectMusicSegment8Impl {
const IDirectMusicSegment8Vtbl *SegmentVtbl; const IDirectMusicSegment8Vtbl *SegmentVtbl;
const IDirectMusicObjectVtbl *ObjectVtbl; const IDirectMusicObjectVtbl *ObjectVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicSegment8Impl fields */ /* IDirectMusicSegment8Impl fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -191,7 +191,7 @@ struct IDirectMusicSegment8Impl { ...@@ -191,7 +191,7 @@ struct IDirectMusicSegment8Impl {
struct IDirectMusicSegmentState8Impl { struct IDirectMusicSegmentState8Impl {
/* IUnknown fields */ /* IUnknown fields */
const IDirectMusicSegmentState8Vtbl *lpVtbl; const IDirectMusicSegmentState8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirectMusicSegmentState8Impl fields */ /* IDirectMusicSegmentState8Impl fields */
}; };
...@@ -205,7 +205,7 @@ struct IDirectMusicGraphImpl { ...@@ -205,7 +205,7 @@ struct IDirectMusicGraphImpl {
const IDirectMusicGraphVtbl *GraphVtbl; const IDirectMusicGraphVtbl *GraphVtbl;
const IDirectMusicObjectVtbl *ObjectVtbl; const IDirectMusicObjectVtbl *ObjectVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicGraphImpl fields */ /* IDirectMusicGraphImpl fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -222,7 +222,7 @@ struct IDirectMusicAudioPathImpl { ...@@ -222,7 +222,7 @@ struct IDirectMusicAudioPathImpl {
const IDirectMusicAudioPathVtbl *AudioPathVtbl; const IDirectMusicAudioPathVtbl *AudioPathVtbl;
const IDirectMusicObjectVtbl *ObjectVtbl; const IDirectMusicObjectVtbl *ObjectVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicAudioPathImpl fields */ /* IDirectMusicAudioPathImpl fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -241,7 +241,7 @@ struct IDirectMusicAudioPathImpl { ...@@ -241,7 +241,7 @@ struct IDirectMusicAudioPathImpl {
struct IDirectMusicTool8Impl { struct IDirectMusicTool8Impl {
/* IUnknown fields */ /* IUnknown fields */
const IDirectMusicTool8Vtbl *lpVtbl; const IDirectMusicTool8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirectMusicTool8Impl fields */ /* IDirectMusicTool8Impl fields */
}; };
...@@ -252,7 +252,7 @@ struct IDirectMusicTool8Impl { ...@@ -252,7 +252,7 @@ struct IDirectMusicTool8Impl {
struct IDirectMusicPatternTrackImpl { struct IDirectMusicPatternTrackImpl {
/* IUnknown fields */ /* IUnknown fields */
const IDirectMusicPatternTrackVtbl *lpVtbl; const IDirectMusicPatternTrackVtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirectMusicPatternTrackImpl fields */ /* IDirectMusicPatternTrackImpl fields */
}; };
...@@ -266,7 +266,7 @@ struct IDirectMusicLyricsTrack ...@@ -266,7 +266,7 @@ struct IDirectMusicLyricsTrack
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicLyricsTrack fields */ /* IDirectMusicLyricsTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -280,7 +280,7 @@ struct IDirectMusicMarkerTrack { ...@@ -280,7 +280,7 @@ struct IDirectMusicMarkerTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicMarkerTrack fields */ /* IDirectMusicMarkerTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -294,7 +294,7 @@ struct IDirectMusicParamControlTrack { ...@@ -294,7 +294,7 @@ struct IDirectMusicParamControlTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicParamControlTrack fields */ /* IDirectMusicParamControlTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -308,7 +308,7 @@ struct IDirectMusicSegTriggerTrack { ...@@ -308,7 +308,7 @@ struct IDirectMusicSegTriggerTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicSegTriggerTrack fields */ /* IDirectMusicSegTriggerTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -324,7 +324,7 @@ struct IDirectMusicSeqTrack { ...@@ -324,7 +324,7 @@ struct IDirectMusicSeqTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicSeqTrack fields */ /* IDirectMusicSeqTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -338,7 +338,7 @@ struct IDirectMusicSysExTrack { ...@@ -338,7 +338,7 @@ struct IDirectMusicSysExTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicSysExTrack fields */ /* IDirectMusicSysExTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -352,7 +352,7 @@ struct IDirectMusicTempoTrack { ...@@ -352,7 +352,7 @@ struct IDirectMusicTempoTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicTempoTrack fields */ /* IDirectMusicTempoTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -368,7 +368,7 @@ struct IDirectMusicTimeSigTrack { ...@@ -368,7 +368,7 @@ struct IDirectMusicTimeSigTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicTimeSigTrack fields */ /* IDirectMusicTimeSigTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -382,7 +382,7 @@ struct IDirectMusicWaveTrack { ...@@ -382,7 +382,7 @@ struct IDirectMusicWaveTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicWaveTrack fields */ /* IDirectMusicWaveTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
......
...@@ -65,7 +65,7 @@ struct IDirectMusicScriptImpl { ...@@ -65,7 +65,7 @@ struct IDirectMusicScriptImpl {
const IDirectMusicScriptVtbl *ScriptVtbl; const IDirectMusicScriptVtbl *ScriptVtbl;
const IDirectMusicObjectVtbl *ObjectVtbl; const IDirectMusicObjectVtbl *ObjectVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicScriptImpl fields */ /* IDirectMusicScriptImpl fields */
IDirectMusicPerformance* pPerformance; IDirectMusicPerformance* pPerformance;
...@@ -94,7 +94,7 @@ struct IDirectMusicScriptTrack { ...@@ -94,7 +94,7 @@ struct IDirectMusicScriptTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicScriptTrack fields */ /* IDirectMusicScriptTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
......
...@@ -109,7 +109,7 @@ struct IDirectMusicStyle8Impl { ...@@ -109,7 +109,7 @@ struct IDirectMusicStyle8Impl {
const IDirectMusicStyle8Vtbl *StyleVtbl; const IDirectMusicStyle8Vtbl *StyleVtbl;
const IDirectMusicObjectVtbl *ObjectVtbl; const IDirectMusicObjectVtbl *ObjectVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicStyle8Impl fields */ /* IDirectMusicStyle8Impl fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -138,7 +138,7 @@ struct IDirectMusicAuditionTrack { ...@@ -138,7 +138,7 @@ struct IDirectMusicAuditionTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicAuditionTrack fields */ /* IDirectMusicAuditionTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -160,7 +160,7 @@ struct IDirectMusicChordTrack { ...@@ -160,7 +160,7 @@ struct IDirectMusicChordTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicChordTrack fields */ /* IDirectMusicChordTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -189,7 +189,7 @@ struct IDirectMusicCommandTrack { ...@@ -189,7 +189,7 @@ struct IDirectMusicCommandTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicCommandTrack fields */ /* IDirectMusicCommandTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -213,7 +213,7 @@ struct IDirectMusicMelodyFormulationTrack { ...@@ -213,7 +213,7 @@ struct IDirectMusicMelodyFormulationTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicMelodyFormulationTrack fields */ /* IDirectMusicMelodyFormulationTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -235,7 +235,7 @@ struct IDirectMusicMotifTrack { ...@@ -235,7 +235,7 @@ struct IDirectMusicMotifTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicMotifTrack fields */ /* IDirectMusicMotifTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -257,7 +257,7 @@ struct IDirectMusicMuteTrack { ...@@ -257,7 +257,7 @@ struct IDirectMusicMuteTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicMuteTrack fields */ /* IDirectMusicMuteTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
...@@ -279,7 +279,7 @@ struct IDirectMusicStyleTrack { ...@@ -279,7 +279,7 @@ struct IDirectMusicStyleTrack {
const IUnknownVtbl *UnknownVtbl; const IUnknownVtbl *UnknownVtbl;
const IDirectMusicTrack8Vtbl *TrackVtbl; const IDirectMusicTrack8Vtbl *TrackVtbl;
const IPersistStreamVtbl *PersistStreamVtbl; const IPersistStreamVtbl *PersistStreamVtbl;
DWORD ref; LONG ref;
/* IDirectMusicStyleTrack fields */ /* IDirectMusicStyleTrack fields */
LPDMUS_OBJECTDESC pDesc; LPDMUS_OBJECTDESC pDesc;
......
...@@ -58,7 +58,7 @@ extern HRESULT WINAPI DMUSIC_CreateDirectMusicSynthSinkImpl (LPCGUID lpcGUID, LP ...@@ -58,7 +58,7 @@ extern HRESULT WINAPI DMUSIC_CreateDirectMusicSynthSinkImpl (LPCGUID lpcGUID, LP
struct IDirectMusicSynth8Impl { struct IDirectMusicSynth8Impl {
/* IUnknown fields */ /* IUnknown fields */
const IDirectMusicSynth8Vtbl *lpVtbl; const IDirectMusicSynth8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirectMusicSynth8 fields */ /* IDirectMusicSynth8 fields */
DMUS_PORTCAPS pCaps; DMUS_PORTCAPS pCaps;
...@@ -77,7 +77,7 @@ extern ULONG WINAPI IDirectMusicSynth8Impl_AddRef (LPDIRECTMUSICSYNTH8 iface); ...@@ -77,7 +77,7 @@ extern ULONG WINAPI IDirectMusicSynth8Impl_AddRef (LPDIRECTMUSICSYNTH8 iface);
struct IDirectMusicSynthSinkImpl { struct IDirectMusicSynthSinkImpl {
/* IUnknown fields */ /* IUnknown fields */
const IDirectMusicSynthSinkVtbl *lpVtbl; const IDirectMusicSynthSinkVtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirectMusicSynthSinkImpl fields */ /* IDirectMusicSynthSinkImpl fields */
}; };
......
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