Commit 2d7ea238 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Interlocked LONG* gcc warning fixes.

parent 38ba5fe0
...@@ -36,7 +36,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(amstream); ...@@ -36,7 +36,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(amstream);
typedef struct { typedef struct {
IAMMultiMediaStream lpVtbl; IAMMultiMediaStream lpVtbl;
ULONG ref; LONG ref;
} IAMMultiMediaStreamImpl; } IAMMultiMediaStreamImpl;
static const struct IAMMultiMediaStreamVtbl AM_Vtbl; static const struct IAMMultiMediaStreamVtbl AM_Vtbl;
......
...@@ -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;
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(atl); WINE_DEFAULT_DEBUG_CHANNEL(atl);
ULONG dll_count = 0; LONG dll_count = 0;
/************************************************************** /**************************************************************
* ATLRegistrar implementation * ATLRegistrar implementation
...@@ -79,7 +79,7 @@ typedef struct rep_list_str { ...@@ -79,7 +79,7 @@ typedef struct rep_list_str {
typedef struct { typedef struct {
const IRegistrarVtbl *lpVtbl; const IRegistrarVtbl *lpVtbl;
ULONG ref; LONG ref;
rep_list *rep; rep_list *rep;
} Registrar; } Registrar;
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(ole); WINE_DEFAULT_DEBUG_CHANNEL(ole);
DWORD dll_ref = 0; LONG dll_ref = 0;
/*********************************************************************** /***********************************************************************
* Global string constant definitions * Global string constant definitions
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
/********************************************************************** /**********************************************************************
* Dll lifetime tracking declaration for comcat.dll * Dll lifetime tracking declaration for comcat.dll
*/ */
extern DWORD dll_ref; extern LONG dll_ref;
/********************************************************************** /**********************************************************************
* ClassFactory declaration for comcat.dll * ClassFactory declaration for comcat.dll
...@@ -47,7 +47,7 @@ typedef struct ...@@ -47,7 +47,7 @@ typedef struct
{ {
/* IUnknown fields */ /* IUnknown fields */
const IClassFactoryVtbl *lpVtbl; const IClassFactoryVtbl *lpVtbl;
DWORD ref; LONG ref;
} ClassFactoryImpl; } ClassFactoryImpl;
extern ClassFactoryImpl COMCAT_ClassFactory; extern ClassFactoryImpl COMCAT_ClassFactory;
...@@ -61,7 +61,7 @@ typedef struct ...@@ -61,7 +61,7 @@ typedef struct
const IUnknownVtbl *unkVtbl; const IUnknownVtbl *unkVtbl;
const ICatRegisterVtbl *regVtbl; const ICatRegisterVtbl *regVtbl;
const ICatInformationVtbl *infVtbl; const ICatInformationVtbl *infVtbl;
DWORD ref; LONG ref;
} ComCatMgrImpl; } ComCatMgrImpl;
extern const ComCatMgrImpl COMCAT_ComCatMgr; extern const ComCatMgrImpl COMCAT_ComCatMgr;
......
...@@ -298,7 +298,7 @@ const ICatInformationVtbl COMCAT_ICatInformation_Vtbl = ...@@ -298,7 +298,7 @@ const ICatInformationVtbl COMCAT_ICatInformation_Vtbl =
typedef struct typedef struct
{ {
const IEnumCATEGORYINFOVtbl *lpVtbl; const IEnumCATEGORYINFOVtbl *lpVtbl;
DWORD ref; LONG ref;
LCID lcid; LCID lcid;
HKEY key; HKEY key;
DWORD next_index; DWORD next_index;
...@@ -602,7 +602,7 @@ static HRESULT COMCAT_IsClassOfCategories( ...@@ -602,7 +602,7 @@ static HRESULT COMCAT_IsClassOfCategories(
typedef struct typedef struct
{ {
const IEnumGUIDVtbl *lpVtbl; const IEnumGUIDVtbl *lpVtbl;
DWORD ref; LONG ref;
const struct class_categories *categories; const struct class_categories *categories;
HKEY key; HKEY key;
DWORD next_index; DWORD next_index;
...@@ -795,7 +795,7 @@ static LPENUMGUID COMCAT_CLSID_IEnumGUID_Construct( ...@@ -795,7 +795,7 @@ static LPENUMGUID COMCAT_CLSID_IEnumGUID_Construct(
typedef struct typedef struct
{ {
const IEnumGUIDVtbl *lpVtbl; const IEnumGUIDVtbl *lpVtbl;
DWORD ref; LONG ref;
WCHAR keyname[68]; WCHAR keyname[68];
HKEY key; HKEY key;
DWORD next_index; DWORD next_index;
......
...@@ -342,7 +342,7 @@ struct IDirect3D8Impl ...@@ -342,7 +342,7 @@ struct IDirect3D8Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3D8Vtbl *lpVtbl; const IDirect3D8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* The WineD3D device */ /* The WineD3D device */
IWineD3D *WineD3D; IWineD3D *WineD3D;
...@@ -395,7 +395,7 @@ struct IDirect3DDevice8Impl ...@@ -395,7 +395,7 @@ struct IDirect3DDevice8Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DDevice8Vtbl *lpVtbl; const IDirect3DDevice8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DDevice8 fields */ /* IDirect3DDevice8 fields */
IDirect3D8Impl *direct3d8; IDirect3D8Impl *direct3d8;
...@@ -590,7 +590,7 @@ struct IDirect3DVolume8Impl ...@@ -590,7 +590,7 @@ struct IDirect3DVolume8Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DVolume8Vtbl *lpVtbl; const IDirect3DVolume8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DVolume8 fields */ /* IDirect3DVolume8 fields */
IDirect3DDevice8Impl *Device; IDirect3DDevice8Impl *Device;
...@@ -644,7 +644,7 @@ struct IDirect3DSwapChain8Impl ...@@ -644,7 +644,7 @@ struct IDirect3DSwapChain8Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DSwapChain8Vtbl *lpVtbl; const IDirect3DSwapChain8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DSwapChain8 fields */ /* IDirect3DSwapChain8 fields */
IDirect3DSurface8Impl *frontBuffer; IDirect3DSurface8Impl *frontBuffer;
...@@ -686,7 +686,7 @@ struct IDirect3DSurface8Impl ...@@ -686,7 +686,7 @@ struct IDirect3DSurface8Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DSurface8Vtbl *lpVtbl; const IDirect3DSurface8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DSurface8 fields */ /* IDirect3DSurface8 fields */
IDirect3DDevice8Impl *Device; IDirect3DDevice8Impl *Device;
...@@ -746,7 +746,7 @@ struct IDirect3DResource8Impl ...@@ -746,7 +746,7 @@ struct IDirect3DResource8Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DResource8Vtbl *lpVtbl; const IDirect3DResource8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DResource8 fields */ /* IDirect3DResource8 fields */
IDirect3DDevice8Impl *Device; IDirect3DDevice8Impl *Device;
...@@ -788,7 +788,7 @@ struct IDirect3DVertexBuffer8Impl ...@@ -788,7 +788,7 @@ struct IDirect3DVertexBuffer8Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DVertexBuffer8Vtbl *lpVtbl; const IDirect3DVertexBuffer8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DResource8 fields */ /* IDirect3DResource8 fields */
IDirect3DDevice8Impl *Device; IDirect3DDevice8Impl *Device;
...@@ -836,7 +836,7 @@ struct IDirect3DIndexBuffer8Impl ...@@ -836,7 +836,7 @@ struct IDirect3DIndexBuffer8Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DIndexBuffer8Vtbl *lpVtbl; const IDirect3DIndexBuffer8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DResource8 fields */ /* IDirect3DResource8 fields */
IDirect3DDevice8Impl *Device; IDirect3DDevice8Impl *Device;
...@@ -879,7 +879,7 @@ struct IDirect3DBaseTexture8Impl ...@@ -879,7 +879,7 @@ struct IDirect3DBaseTexture8Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DBaseTexture8Vtbl *lpVtbl; const IDirect3DBaseTexture8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DResource8 fields */ /* IDirect3DResource8 fields */
IDirect3DDevice8Impl *Device; IDirect3DDevice8Impl *Device;
...@@ -936,7 +936,7 @@ struct IDirect3DCubeTexture8Impl ...@@ -936,7 +936,7 @@ struct IDirect3DCubeTexture8Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DCubeTexture8Vtbl *lpVtbl; const IDirect3DCubeTexture8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DResource8 fields */ /* IDirect3DResource8 fields */
IDirect3DDevice8Impl *Device; IDirect3DDevice8Impl *Device;
...@@ -998,7 +998,7 @@ struct IDirect3DTexture8Impl ...@@ -998,7 +998,7 @@ struct IDirect3DTexture8Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DTexture8Vtbl *lpVtbl; const IDirect3DTexture8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DResourc8 fields */ /* IDirect3DResourc8 fields */
IDirect3DDevice8Impl *Device; IDirect3DDevice8Impl *Device;
...@@ -1061,7 +1061,7 @@ struct IDirect3DVolumeTexture8Impl ...@@ -1061,7 +1061,7 @@ struct IDirect3DVolumeTexture8Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DVolumeTexture8Vtbl *lpVtbl; const IDirect3DVolumeTexture8Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DResource8 fields */ /* IDirect3DResource8 fields */
IDirect3DDevice8Impl *Device; IDirect3DDevice8Impl *Device;
...@@ -1149,7 +1149,7 @@ typedef struct SAVEDSTATES { ...@@ -1149,7 +1149,7 @@ typedef struct SAVEDSTATES {
struct IDirect3DStateBlockImpl { struct IDirect3DStateBlockImpl {
/* IUnknown fields */ /* IUnknown fields */
/*const IDirect3DStateBlock9Vtbl *lpVtbl;*/ /*const IDirect3DStateBlock9Vtbl *lpVtbl;*/
DWORD ref; LONG ref;
/* The device, to be replaced by an IDirect3DDeviceImpl */ /* The device, to be replaced by an IDirect3DDeviceImpl */
IDirect3DDevice8Impl* device; IDirect3DDevice8Impl* device;
...@@ -1238,7 +1238,7 @@ extern HRESULT WINAPI IDirect3DDeviceImpl_CaptureStateBlock(IDirect3DDevice8Impl ...@@ -1238,7 +1238,7 @@ extern HRESULT WINAPI IDirect3DDeviceImpl_CaptureStateBlock(IDirect3DDevice8Impl
struct IDirect3DVertexShaderDeclarationImpl { struct IDirect3DVertexShaderDeclarationImpl {
/* IUnknown fields */ /* IUnknown fields */
/*const IDirect3DVertexShaderDeclaration9Vtbl *lpVtbl;*/ /*const IDirect3DVertexShaderDeclaration9Vtbl *lpVtbl;*/
DWORD ref; LONG ref;
/* The device, to be replaced by an IDirect3DDeviceImpl */ /* The device, to be replaced by an IDirect3DDeviceImpl */
IDirect3DDevice8Impl* device; IDirect3DDevice8Impl* device;
...@@ -1274,7 +1274,7 @@ extern HRESULT WINAPI IDirect3DDeviceImpl_CreateVertexShaderDeclaration8(IDirect ...@@ -1274,7 +1274,7 @@ extern HRESULT WINAPI IDirect3DDeviceImpl_CreateVertexShaderDeclaration8(IDirect
*/ */
struct IDirect3DVertexShaderImpl { struct IDirect3DVertexShaderImpl {
/*const IDirect3DVertexShader9Vtbl *lpVtbl;*/ /*const IDirect3DVertexShader9Vtbl *lpVtbl;*/
DWORD ref; LONG ref;
/* The device, to be replaced by an IDirect3DDeviceImpl */ /* The device, to be replaced by an IDirect3DDeviceImpl */
IDirect3DDevice8Impl* device; IDirect3DDevice8Impl* device;
...@@ -1323,7 +1323,7 @@ extern HRESULT WINAPI IDirect3DDeviceImpl_FillVertexShaderInputArbHW(IDirect3DDe ...@@ -1323,7 +1323,7 @@ extern HRESULT WINAPI IDirect3DDeviceImpl_FillVertexShaderInputArbHW(IDirect3DDe
*/ */
struct IDirect3DPixelShaderImpl { struct IDirect3DPixelShaderImpl {
/*const IDirect3DPixelShader9Vtbl *lpVtbl;*/ /*const IDirect3DPixelShader9Vtbl *lpVtbl;*/
DWORD ref; LONG ref;
/* The device, to be replaced by an IDirect3DDeviceImpl */ /* The device, to be replaced by an IDirect3DDeviceImpl */
IDirect3DDevice8Impl* device; IDirect3DDevice8Impl* device;
......
...@@ -47,7 +47,7 @@ struct ID3DXBufferImpl ...@@ -47,7 +47,7 @@ struct ID3DXBufferImpl
{ {
/* IUnknown fields */ /* IUnknown fields */
const ID3DXBufferVtbl *lpVtbl; const ID3DXBufferVtbl *lpVtbl;
DWORD ref; LONG ref;
/* ID3DXBuffer fields */ /* ID3DXBuffer fields */
DWORD *buffer; DWORD *buffer;
...@@ -79,7 +79,7 @@ struct ID3DXFontImpl ...@@ -79,7 +79,7 @@ struct ID3DXFontImpl
{ {
/* IUnknown fields */ /* IUnknown fields */
const ID3DXFontVtbl *lpVtbl; const ID3DXFontVtbl *lpVtbl;
DWORD ref; LONG ref;
/* ID3DXFont fields */ /* ID3DXFont fields */
}; };
......
...@@ -67,7 +67,7 @@ typedef struct STATEBLOCK { ...@@ -67,7 +67,7 @@ typedef struct STATEBLOCK {
struct IDirect3DLightImpl struct IDirect3DLightImpl
{ {
ICOM_VFIELD_MULTI(IDirect3DLight); ICOM_VFIELD_MULTI(IDirect3DLight);
DWORD ref; LONG ref;
/* IDirect3DLight fields */ /* IDirect3DLight fields */
IDirectDrawImpl *d3d; IDirectDrawImpl *d3d;
/* If this light is active for one viewport, put the viewport here */ /* If this light is active for one viewport, put the viewport here */
...@@ -95,7 +95,7 @@ struct IDirect3DMaterialImpl ...@@ -95,7 +95,7 @@ struct IDirect3DMaterialImpl
ICOM_VFIELD_MULTI(IDirect3DMaterial3); ICOM_VFIELD_MULTI(IDirect3DMaterial3);
ICOM_VFIELD_MULTI(IDirect3DMaterial2); ICOM_VFIELD_MULTI(IDirect3DMaterial2);
ICOM_VFIELD_MULTI(IDirect3DMaterial); ICOM_VFIELD_MULTI(IDirect3DMaterial);
DWORD ref; LONG ref;
/* IDirect3DMaterial2 fields */ /* IDirect3DMaterial2 fields */
IDirectDrawImpl *d3d; IDirectDrawImpl *d3d;
IDirect3DDeviceImpl *active_device; IDirect3DDeviceImpl *active_device;
...@@ -111,7 +111,7 @@ struct IDirect3DMaterialImpl ...@@ -111,7 +111,7 @@ struct IDirect3DMaterialImpl
struct IDirect3DViewportImpl struct IDirect3DViewportImpl
{ {
ICOM_VFIELD_MULTI(IDirect3DViewport3); ICOM_VFIELD_MULTI(IDirect3DViewport3);
DWORD ref; LONG ref;
/* IDirect3DViewport fields */ /* IDirect3DViewport fields */
IDirectDrawImpl *d3d; IDirectDrawImpl *d3d;
/* If this viewport is active for one device, put the device here */ /* If this viewport is active for one device, put the device here */
...@@ -145,7 +145,7 @@ struct IDirect3DViewportImpl ...@@ -145,7 +145,7 @@ struct IDirect3DViewportImpl
struct IDirect3DExecuteBufferImpl struct IDirect3DExecuteBufferImpl
{ {
ICOM_VFIELD_MULTI(IDirect3DExecuteBuffer); ICOM_VFIELD_MULTI(IDirect3DExecuteBuffer);
DWORD ref; LONG ref;
/* IDirect3DExecuteBuffer fields */ /* IDirect3DExecuteBuffer fields */
IDirectDrawImpl *d3d; IDirectDrawImpl *d3d;
IDirect3DDeviceImpl* d3ddev; IDirect3DDeviceImpl* d3ddev;
...@@ -195,7 +195,7 @@ struct IDirect3DDeviceImpl ...@@ -195,7 +195,7 @@ struct IDirect3DDeviceImpl
ICOM_VFIELD_MULTI(IDirect3DDevice3); ICOM_VFIELD_MULTI(IDirect3DDevice3);
ICOM_VFIELD_MULTI(IDirect3DDevice2); ICOM_VFIELD_MULTI(IDirect3DDevice2);
ICOM_VFIELD_MULTI(IDirect3DDevice); ICOM_VFIELD_MULTI(IDirect3DDevice);
DWORD ref; LONG ref;
/* Version of the Direct3D object from which the device has been created */ /* Version of the Direct3D object from which the device has been created */
DWORD version; DWORD version;
...@@ -260,7 +260,7 @@ struct IDirect3DVertexBufferImpl ...@@ -260,7 +260,7 @@ struct IDirect3DVertexBufferImpl
{ {
ICOM_VFIELD_MULTI(IDirect3DVertexBuffer7); ICOM_VFIELD_MULTI(IDirect3DVertexBuffer7);
ICOM_VFIELD_MULTI(IDirect3DVertexBuffer); ICOM_VFIELD_MULTI(IDirect3DVertexBuffer);
DWORD ref; LONG ref;
IDirectDrawImpl *d3d; IDirectDrawImpl *d3d;
D3DVERTEXBUFFERDESC desc; D3DVERTEXBUFFERDESC desc;
LPVOID *vertices; LPVOID *vertices;
......
...@@ -86,7 +86,7 @@ struct IDirectDrawImpl ...@@ -86,7 +86,7 @@ struct IDirectDrawImpl
ICOM_VFIELD_MULTI(IDirect3D2); ICOM_VFIELD_MULTI(IDirect3D2);
ICOM_VFIELD_MULTI(IDirect3D); ICOM_VFIELD_MULTI(IDirect3D);
DWORD ref; LONG ref;
/* TRUE if created via DirectDrawCreateEx or CoCreateInstance, /* TRUE if created via DirectDrawCreateEx or CoCreateInstance,
* FALSE if created via DirectDrawCreate. */ * FALSE if created via DirectDrawCreate. */
...@@ -198,7 +198,7 @@ struct IDirectDrawPaletteImpl ...@@ -198,7 +198,7 @@ struct IDirectDrawPaletteImpl
{ {
/* IUnknown fields */ /* IUnknown fields */
ICOM_VFIELD_MULTI(IDirectDrawPalette); ICOM_VFIELD_MULTI(IDirectDrawPalette);
DWORD ref; LONG ref;
DDRAWI_DDRAWPALETTE_LCL local; DDRAWI_DDRAWPALETTE_LCL local;
DDRAWI_DDRAWPALETTE_GBL global; DDRAWI_DDRAWPALETTE_GBL global;
...@@ -226,7 +226,7 @@ struct IDirectDrawClipperImpl ...@@ -226,7 +226,7 @@ struct IDirectDrawClipperImpl
{ {
/* IUnknown fields */ /* IUnknown fields */
ICOM_VFIELD_MULTI(IDirectDrawClipper); ICOM_VFIELD_MULTI(IDirectDrawClipper);
DWORD ref; LONG ref;
/* IDirectDrawClipper fields */ /* IDirectDrawClipper fields */
HWND hWnd; HWND hWnd;
...@@ -248,7 +248,7 @@ struct IDirectDrawSurfaceImpl ...@@ -248,7 +248,7 @@ struct IDirectDrawSurfaceImpl
ICOM_VFIELD_MULTI(IDirectDrawGammaControl); ICOM_VFIELD_MULTI(IDirectDrawGammaControl);
ICOM_VFIELD_MULTI(IDirect3DTexture2); ICOM_VFIELD_MULTI(IDirect3DTexture2);
ICOM_VFIELD_MULTI(IDirect3DTexture); ICOM_VFIELD_MULTI(IDirect3DTexture);
DWORD ref; LONG ref;
struct IDirectDrawSurfaceImpl* attached; /* attached surfaces */ struct IDirectDrawSurfaceImpl* attached; /* attached surfaces */
......
...@@ -450,7 +450,7 @@ static HRESULT DDRAW_CreateDirectDraw(IUnknown* pUnkOuter, REFIID iid, ...@@ -450,7 +450,7 @@ static HRESULT DDRAW_CreateDirectDraw(IUnknown* pUnkOuter, REFIID iid,
typedef struct { typedef struct {
ICOM_VFIELD_MULTI(IClassFactory); ICOM_VFIELD_MULTI(IClassFactory);
DWORD ref; LONG ref;
HRESULT (*pfnCreateInstance)(IUnknown *pUnkOuter, REFIID iid, HRESULT (*pfnCreateInstance)(IUnknown *pUnkOuter, REFIID iid,
LPVOID *ppObj); LPVOID *ppObj);
} IClassFactoryImpl; } IClassFactoryImpl;
......
...@@ -69,7 +69,7 @@ typedef struct ...@@ -69,7 +69,7 @@ typedef struct
typedef struct typedef struct
{ {
const IEnumMonikerVtbl *lpVtbl; const IEnumMonikerVtbl *lpVtbl;
DWORD ref; LONG ref;
DWORD index; DWORD index;
HKEY hkey; HKEY hkey;
} EnumMonikerImpl; } EnumMonikerImpl;
...@@ -77,7 +77,7 @@ typedef struct ...@@ -77,7 +77,7 @@ typedef struct
typedef struct typedef struct
{ {
const IMonikerVtbl *lpVtbl; const IMonikerVtbl *lpVtbl;
ULONG ref; LONG ref;
HKEY hkey; HKEY hkey;
} MediaCatMoniker; } MediaCatMoniker;
......
...@@ -41,7 +41,7 @@ static ULONG WINAPI DEVENUM_IPropertyBag_AddRef(LPPROPERTYBAG iface); ...@@ -41,7 +41,7 @@ static ULONG WINAPI DEVENUM_IPropertyBag_AddRef(LPPROPERTYBAG iface);
typedef struct typedef struct
{ {
const IPropertyBagVtbl *lpVtbl; const IPropertyBagVtbl *lpVtbl;
DWORD ref; LONG ref;
HKEY hkey; HKEY hkey;
} RegPropBagImpl; } RegPropBagImpl;
......
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