Fix gcc 4.0 -Wpointer-sign warnings.
This commit is contained in:
parent
89424ce848
commit
c7fdb4565a
@ -21,8 +21,8 @@
|
|||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(dmloader);
|
WINE_DEFAULT_DEBUG_CHANNEL(dmloader);
|
||||||
|
|
||||||
DWORD dwDirectMusicContainer = 0;
|
LONG dwDirectMusicContainer = 0;
|
||||||
DWORD dwDirectMusicLoader = 0;
|
LONG dwDirectMusicLoader = 0;
|
||||||
|
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
* DllMain
|
* DllMain
|
||||||
|
@ -45,8 +45,8 @@
|
|||||||
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
|
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
|
||||||
|
|
||||||
/* dmloader.dll global (for DllCanUnloadNow) */
|
/* dmloader.dll global (for DllCanUnloadNow) */
|
||||||
extern DWORD dwDirectMusicLoader; /* number of DirectMusicLoader(CF) instances */
|
extern LONG dwDirectMusicLoader; /* number of DirectMusicLoader(CF) instances */
|
||||||
extern DWORD dwDirectMusicContainer; /* number of DirectMusicContainer(CF) instances */
|
extern LONG dwDirectMusicContainer; /* number of DirectMusicContainer(CF) instances */
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Interfaces
|
* Interfaces
|
||||||
@ -87,7 +87,7 @@ extern HRESULT WINAPI DMUSIC_DestroyDirectMusicLoaderGenericStream (LPSTREAM ifa
|
|||||||
struct IDirectMusicLoaderCF {
|
struct IDirectMusicLoaderCF {
|
||||||
/* IUnknown fields */
|
/* IUnknown fields */
|
||||||
const IClassFactoryVtbl *lpVtbl;
|
const IClassFactoryVtbl *lpVtbl;
|
||||||
DWORD dwRef;
|
LONG dwRef;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* IUnknown / IClassFactory: */
|
/* IUnknown / IClassFactory: */
|
||||||
@ -100,7 +100,7 @@ extern ULONG WINAPI IDirectMusicLoaderCF_AddRef (LPCLASSFACTORY iface);
|
|||||||
struct IDirectMusicContainerCF {
|
struct IDirectMusicContainerCF {
|
||||||
/* IUnknown fields */
|
/* IUnknown fields */
|
||||||
const IClassFactoryVtbl *lpVtbl;
|
const IClassFactoryVtbl *lpVtbl;
|
||||||
DWORD dwRef;
|
LONG dwRef;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* IUnknown / IClassFactory: */
|
/* IUnknown / IClassFactory: */
|
||||||
@ -130,7 +130,7 @@ struct IDirectMusicLoaderImpl {
|
|||||||
/* VTABLEs */
|
/* VTABLEs */
|
||||||
const IDirectMusicLoader8Vtbl *LoaderVtbl;
|
const IDirectMusicLoader8Vtbl *LoaderVtbl;
|
||||||
/* reference counter */
|
/* reference counter */
|
||||||
DWORD dwRef;
|
LONG dwRef;
|
||||||
/* simple cache (linked list) */
|
/* simple cache (linked list) */
|
||||||
struct list *pObjects;
|
struct list *pObjects;
|
||||||
/* settings for certain object classes */
|
/* settings for certain object classes */
|
||||||
@ -162,7 +162,7 @@ struct IDirectMusicContainerImpl {
|
|||||||
const IDirectMusicObjectVtbl *ObjectVtbl;
|
const IDirectMusicObjectVtbl *ObjectVtbl;
|
||||||
const IPersistStreamVtbl *PersistStreamVtbl;
|
const IPersistStreamVtbl *PersistStreamVtbl;
|
||||||
/* reference counter */
|
/* reference counter */
|
||||||
DWORD dwRef;
|
LONG dwRef;
|
||||||
/* stream */
|
/* stream */
|
||||||
LPSTREAM pStream;
|
LPSTREAM pStream;
|
||||||
/* header */
|
/* header */
|
||||||
@ -191,7 +191,7 @@ struct IDirectMusicLoaderFileStream {
|
|||||||
const IStreamVtbl *StreamVtbl;
|
const IStreamVtbl *StreamVtbl;
|
||||||
const IDirectMusicGetLoaderVtbl *GetLoaderVtbl;
|
const IDirectMusicGetLoaderVtbl *GetLoaderVtbl;
|
||||||
/* reference counter */
|
/* reference counter */
|
||||||
DWORD dwRef;
|
LONG dwRef;
|
||||||
/* file */
|
/* file */
|
||||||
WCHAR wzFileName[MAX_PATH]; /* for clone */
|
WCHAR wzFileName[MAX_PATH]; /* for clone */
|
||||||
HANDLE hFile;
|
HANDLE hFile;
|
||||||
@ -217,7 +217,7 @@ struct IDirectMusicLoaderResourceStream {
|
|||||||
const IStreamVtbl *StreamVtbl;
|
const IStreamVtbl *StreamVtbl;
|
||||||
const IDirectMusicGetLoaderVtbl *GetLoaderVtbl;
|
const IDirectMusicGetLoaderVtbl *GetLoaderVtbl;
|
||||||
/* reference counter */
|
/* reference counter */
|
||||||
DWORD dwRef;
|
LONG dwRef;
|
||||||
/* data */
|
/* data */
|
||||||
LPBYTE pbMemData;
|
LPBYTE pbMemData;
|
||||||
LONGLONG llMemLength;
|
LONGLONG llMemLength;
|
||||||
@ -245,7 +245,7 @@ struct IDirectMusicLoaderGenericStream {
|
|||||||
const IStreamVtbl *StreamVtbl;
|
const IStreamVtbl *StreamVtbl;
|
||||||
const IDirectMusicGetLoaderVtbl *GetLoaderVtbl;
|
const IDirectMusicGetLoaderVtbl *GetLoaderVtbl;
|
||||||
/* reference counter */
|
/* reference counter */
|
||||||
DWORD dwRef;
|
LONG dwRef;
|
||||||
/* stream */
|
/* stream */
|
||||||
LPSTREAM pStream;
|
LPSTREAM pStream;
|
||||||
/* loader */
|
/* loader */
|
||||||
|
@ -827,7 +827,7 @@ HRESULT WINAPI DMUSIC_GetDefaultGMPath (WCHAR wszPath[MAX_PATH]) {
|
|||||||
char szPath[MAX_PATH];
|
char szPath[MAX_PATH];
|
||||||
|
|
||||||
if ((RegOpenKeyExA (HKEY_LOCAL_MACHINE, "Software\\Microsoft\\DirectMusic" , 0, KEY_READ, &hkDM) != ERROR_SUCCESS) ||
|
if ((RegOpenKeyExA (HKEY_LOCAL_MACHINE, "Software\\Microsoft\\DirectMusic" , 0, KEY_READ, &hkDM) != ERROR_SUCCESS) ||
|
||||||
(RegQueryValueExA (hkDM, "GMFilePath", NULL, &returnType, szPath, &sizeOfReturnBuffer) != ERROR_SUCCESS)) {
|
(RegQueryValueExA (hkDM, "GMFilePath", NULL, &returnType, (LPBYTE) szPath, &sizeOfReturnBuffer) != ERROR_SUCCESS)) {
|
||||||
WARN(": registry entry missing\n" );
|
WARN(": registry entry missing\n" );
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,7 @@ typedef struct AntiMonikerImpl{
|
|||||||
*/
|
*/
|
||||||
const IROTDataVtbl* lpvtbl2; /* VTable relative to the IROTData interface.*/
|
const IROTDataVtbl* lpvtbl2; /* VTable relative to the IROTData interface.*/
|
||||||
|
|
||||||
ULONG ref; /* reference counter for this object */
|
LONG ref; /* reference counter for this object */
|
||||||
|
|
||||||
} AntiMonikerImpl;
|
} AntiMonikerImpl;
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ typedef struct BindCtxImpl{
|
|||||||
|
|
||||||
const IBindCtxVtbl *lpVtbl; /* VTable relative to the IBindCtx interface.*/
|
const IBindCtxVtbl *lpVtbl; /* VTable relative to the IBindCtx interface.*/
|
||||||
|
|
||||||
ULONG ref; /* reference counter for this object */
|
LONG ref; /* reference counter for this object */
|
||||||
|
|
||||||
BindCtxObject* bindCtxTable; /* this is a table in which all bounded objects are stored*/
|
BindCtxObject* bindCtxTable; /* this is a table in which all bounded objects are stored*/
|
||||||
DWORD bindCtxTableLastIndex; /* first free index in the table */
|
DWORD bindCtxTableLastIndex; /* first free index in the table */
|
||||||
|
@ -122,7 +122,7 @@ struct OLEClipbrd
|
|||||||
/*
|
/*
|
||||||
* Reference count of this object
|
* Reference count of this object
|
||||||
*/
|
*/
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct OLEClipbrd OLEClipbrd;
|
typedef struct OLEClipbrd OLEClipbrd;
|
||||||
@ -145,7 +145,7 @@ typedef struct
|
|||||||
/*
|
/*
|
||||||
* Reference count of this object
|
* Reference count of this object
|
||||||
*/
|
*/
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* IUnknown implementation of the parent data object.
|
* IUnknown implementation of the parent data object.
|
||||||
|
@ -112,7 +112,7 @@ struct proxy_manager
|
|||||||
OXID oxid; /* object exported ID (RO) */
|
OXID oxid; /* object exported ID (RO) */
|
||||||
OID oid; /* object ID (RO) */
|
OID oid; /* object ID (RO) */
|
||||||
struct list interfaces; /* imported interfaces (CS cs) */
|
struct list interfaces; /* imported interfaces (CS cs) */
|
||||||
DWORD refs; /* proxy reference count (LOCK) */
|
LONG refs; /* proxy reference count (LOCK) */
|
||||||
CRITICAL_SECTION cs; /* thread safety for this object and children */
|
CRITICAL_SECTION cs; /* thread safety for this object and children */
|
||||||
ULONG sorflags; /* STDOBJREF flags (RO) */
|
ULONG sorflags; /* STDOBJREF flags (RO) */
|
||||||
IRemUnknown *remunk; /* proxy to IRemUnknown used for lifecycle management (CS cs) */
|
IRemUnknown *remunk; /* proxy to IRemUnknown used for lifecycle management (CS cs) */
|
||||||
@ -124,12 +124,12 @@ struct apartment
|
|||||||
{
|
{
|
||||||
struct list entry;
|
struct list entry;
|
||||||
|
|
||||||
DWORD refs; /* refcount of the apartment (LOCK) */
|
LONG refs; /* refcount of the apartment (LOCK) */
|
||||||
DWORD model; /* threading model (RO) */
|
DWORD model; /* threading model (RO) */
|
||||||
DWORD tid; /* thread id (RO) */
|
DWORD tid; /* thread id (RO) */
|
||||||
HANDLE thread; /* thread handle (RO) */
|
HANDLE thread; /* thread handle (RO) */
|
||||||
OXID oxid; /* object exporter ID (RO) */
|
OXID oxid; /* object exporter ID (RO) */
|
||||||
DWORD ipidc; /* interface pointer ID counter, starts at 1 (LOCK) */
|
LONG ipidc; /* interface pointer ID counter, starts at 1 (LOCK) */
|
||||||
HWND win; /* message window (RO) */
|
HWND win; /* message window (RO) */
|
||||||
CRITICAL_SECTION cs; /* thread safety */
|
CRITICAL_SECTION cs; /* thread safety */
|
||||||
LPMESSAGEFILTER filter; /* message filter (CS cs) */
|
LPMESSAGEFILTER filter; /* message filter (CS cs) */
|
||||||
|
@ -54,7 +54,7 @@ typedef struct CompositeMonikerImpl{
|
|||||||
*/
|
*/
|
||||||
const IROTDataVtbl* lpvtbl2; /* VTable relative to the IROTData interface.*/
|
const IROTDataVtbl* lpvtbl2; /* VTable relative to the IROTData interface.*/
|
||||||
|
|
||||||
ULONG ref; /* reference counter for this object */
|
LONG ref; /* reference counter for this object */
|
||||||
|
|
||||||
IMoniker** tabMoniker; /* dynamaic table containing all components (monikers) of this composite moniker */
|
IMoniker** tabMoniker; /* dynamaic table containing all components (monikers) of this composite moniker */
|
||||||
|
|
||||||
@ -70,7 +70,7 @@ typedef struct EnumMonikerImpl{
|
|||||||
|
|
||||||
const IEnumMonikerVtbl *lpVtbl; /* VTable relative to the IEnumMoniker interface.*/
|
const IEnumMonikerVtbl *lpVtbl; /* VTable relative to the IEnumMoniker interface.*/
|
||||||
|
|
||||||
ULONG ref; /* reference counter for this object */
|
LONG ref; /* reference counter for this object */
|
||||||
|
|
||||||
IMoniker** tabMoniker; /* dynamic table containing the enumerated monikers */
|
IMoniker** tabMoniker; /* dynamic table containing the enumerated monikers */
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ struct DataCache
|
|||||||
/*
|
/*
|
||||||
* Reference count of this object
|
* Reference count of this object
|
||||||
*/
|
*/
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* IUnknown implementation of the outer object.
|
* IUnknown implementation of the outer object.
|
||||||
|
@ -78,7 +78,7 @@ struct DefaultHandler
|
|||||||
/*
|
/*
|
||||||
* Reference count of this object
|
* Reference count of this object
|
||||||
*/
|
*/
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* IUnknown implementation of the outer object.
|
* IUnknown implementation of the outer object.
|
||||||
|
@ -131,7 +131,7 @@ typedef struct ErrorInfoImpl
|
|||||||
const IErrorInfoVtbl *lpvtei;
|
const IErrorInfoVtbl *lpvtei;
|
||||||
const ICreateErrorInfoVtbl *lpvtcei;
|
const ICreateErrorInfoVtbl *lpvtcei;
|
||||||
const ISupportErrorInfoVtbl *lpvtsei;
|
const ISupportErrorInfoVtbl *lpvtsei;
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
|
|
||||||
GUID m_Guid;
|
GUID m_Guid;
|
||||||
BSTR bstrSource;
|
BSTR bstrSource;
|
||||||
|
@ -53,7 +53,7 @@ typedef struct FileMonikerImpl{
|
|||||||
*/
|
*/
|
||||||
const IROTDataVtbl* lpvtbl2; /* VTable relative to the IROTData interface.*/
|
const IROTDataVtbl* lpvtbl2; /* VTable relative to the IROTData interface.*/
|
||||||
|
|
||||||
ULONG ref; /* reference counter for this object */
|
LONG ref; /* reference counter for this object */
|
||||||
|
|
||||||
LPOLESTR filePathName; /* path string identified by this filemoniker */
|
LPOLESTR filePathName; /* path string identified by this filemoniker */
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
|
|||||||
|
|
||||||
typedef struct _FTMarshalImpl {
|
typedef struct _FTMarshalImpl {
|
||||||
const IUnknownVtbl *lpVtbl;
|
const IUnknownVtbl *lpVtbl;
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
const IMarshalVtbl *lpvtblFTM;
|
const IMarshalVtbl *lpvtblFTM;
|
||||||
|
|
||||||
IUnknown *pUnkOuter;
|
IUnknown *pUnkOuter;
|
||||||
|
@ -60,7 +60,7 @@ struct HGLOBALStreamImpl
|
|||||||
/*
|
/*
|
||||||
* Reference count
|
* Reference count
|
||||||
*/
|
*/
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Support for the stream
|
* Support for the stream
|
||||||
|
@ -366,7 +366,7 @@ static const IMallocSpyVtbl VT_IMallocSpy;
|
|||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
const IMallocSpyVtbl *lpVtbl;
|
const IMallocSpyVtbl *lpVtbl;
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
} _MallocSpy;
|
} _MallocSpy;
|
||||||
|
|
||||||
/* this is the static object instance */
|
/* this is the static object instance */
|
||||||
|
@ -52,7 +52,7 @@ typedef struct ItemMonikerImpl{
|
|||||||
*/
|
*/
|
||||||
const IROTDataVtbl* lpvtbl2; /* VTable relative to the IROTData interface.*/
|
const IROTDataVtbl* lpvtbl2; /* VTable relative to the IROTData interface.*/
|
||||||
|
|
||||||
ULONG ref; /* reference counter for this object */
|
LONG ref; /* reference counter for this object */
|
||||||
|
|
||||||
LPOLESTR itemName; /* item name identified by this ItemMoniker */
|
LPOLESTR itemName; /* item name identified by this ItemMoniker */
|
||||||
|
|
||||||
|
@ -763,7 +763,7 @@ HRESULT apartment_disconnectproxies(struct apartment *apt)
|
|||||||
typedef struct _StdMarshalImpl
|
typedef struct _StdMarshalImpl
|
||||||
{
|
{
|
||||||
const IMarshalVtbl *lpvtbl;
|
const IMarshalVtbl *lpvtbl;
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
|
|
||||||
IID iid;
|
IID iid;
|
||||||
DWORD dwDestContext;
|
DWORD dwDestContext;
|
||||||
|
@ -57,7 +57,7 @@ struct HGLOBALLockBytesImpl
|
|||||||
/*
|
/*
|
||||||
* Reference count
|
* Reference count
|
||||||
*/
|
*/
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Support for the LockBytes object
|
* Support for the LockBytes object
|
||||||
|
@ -53,7 +53,7 @@ struct HGLOBALLockBytesImpl16
|
|||||||
* since we want to cast this in an ILockBytes pointer
|
* since we want to cast this in an ILockBytes pointer
|
||||||
*/
|
*/
|
||||||
const ILockBytes16Vtbl *lpVtbl;
|
const ILockBytes16Vtbl *lpVtbl;
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Support for the LockBytes object
|
* Support for the LockBytes object
|
||||||
|
@ -60,7 +60,7 @@ struct rot_entry
|
|||||||
typedef struct RunningObjectTableImpl
|
typedef struct RunningObjectTableImpl
|
||||||
{
|
{
|
||||||
const IRunningObjectTableVtbl *lpVtbl;
|
const IRunningObjectTableVtbl *lpVtbl;
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
|
|
||||||
struct list rot; /* list of ROT entries */
|
struct list rot; /* list of ROT entries */
|
||||||
CRITICAL_SECTION lock;
|
CRITICAL_SECTION lock;
|
||||||
@ -73,7 +73,7 @@ static RunningObjectTableImpl* runningObjectTableInstance = NULL;
|
|||||||
static inline HRESULT WINAPI
|
static inline HRESULT WINAPI
|
||||||
IrotRegister(DWORD *cookie)
|
IrotRegister(DWORD *cookie)
|
||||||
{
|
{
|
||||||
static DWORD last_cookie = 1;
|
static LONG last_cookie = 1;
|
||||||
*cookie = InterlockedIncrement(&last_cookie);
|
*cookie = InterlockedIncrement(&last_cookie);
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
@ -82,7 +82,7 @@ IrotRegister(DWORD *cookie)
|
|||||||
typedef struct EnumMonikerImpl
|
typedef struct EnumMonikerImpl
|
||||||
{
|
{
|
||||||
const IEnumMonikerVtbl *lpVtbl;
|
const IEnumMonikerVtbl *lpVtbl;
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
|
|
||||||
MInterfacePointer **monikers;
|
MInterfacePointer **monikers;
|
||||||
ULONG moniker_count;
|
ULONG moniker_count;
|
||||||
@ -988,7 +988,7 @@ typedef struct MonikerMarshal
|
|||||||
const IUnknownVtbl *lpVtbl;
|
const IUnknownVtbl *lpVtbl;
|
||||||
const IMarshalVtbl *lpVtblMarshal;
|
const IMarshalVtbl *lpVtblMarshal;
|
||||||
|
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
IMoniker *moniker;
|
IMoniker *moniker;
|
||||||
} MonikerMarshal;
|
} MonikerMarshal;
|
||||||
|
|
||||||
|
@ -370,7 +370,7 @@ HRESULT WINAPI ProgIDFromCLSID16(
|
|||||||
|
|
||||||
if (ret == S_OK)
|
if (ret == S_OK)
|
||||||
{
|
{
|
||||||
DWORD buf2len;
|
LONG buf2len;
|
||||||
char *buf2 = HeapAlloc(GetProcessHeap(), 0, 255);
|
char *buf2 = HeapAlloc(GetProcessHeap(), 0, 255);
|
||||||
buf2len = 255;
|
buf2len = 255;
|
||||||
if (RegQueryValueA(xhkey, NULL, buf2, &buf2len))
|
if (RegQueryValueA(xhkey, NULL, buf2, &buf2len))
|
||||||
|
@ -394,7 +394,7 @@ HRESULT WINAPI OleRegGetUserType(
|
|||||||
DWORD cbData;
|
DWORD cbData;
|
||||||
HKEY clsidKey;
|
HKEY clsidKey;
|
||||||
LONG hres;
|
LONG hres;
|
||||||
LPBYTE buffer;
|
LPSTR buffer;
|
||||||
HRESULT retVal;
|
HRESULT retVal;
|
||||||
/*
|
/*
|
||||||
* Initialize the out parameter.
|
* Initialize the out parameter.
|
||||||
@ -464,7 +464,7 @@ HRESULT WINAPI OleRegGetUserType(
|
|||||||
"",
|
"",
|
||||||
NULL,
|
NULL,
|
||||||
&dwKeyType,
|
&dwKeyType,
|
||||||
buffer,
|
(LPBYTE) buffer,
|
||||||
&cbData);
|
&cbData);
|
||||||
|
|
||||||
RegCloseKey(clsidKey);
|
RegCloseKey(clsidKey);
|
||||||
|
@ -43,7 +43,7 @@ typedef struct OleAdviseHolderImpl
|
|||||||
{
|
{
|
||||||
const IOleAdviseHolderVtbl *lpVtbl;
|
const IOleAdviseHolderVtbl *lpVtbl;
|
||||||
|
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
|
|
||||||
DWORD maxSinks;
|
DWORD maxSinks;
|
||||||
IAdviseSink** arrayOfSinks;
|
IAdviseSink** arrayOfSinks;
|
||||||
@ -357,7 +357,7 @@ typedef struct DataAdviseHolder
|
|||||||
{
|
{
|
||||||
const IDataAdviseHolderVtbl *lpVtbl;
|
const IDataAdviseHolderVtbl *lpVtbl;
|
||||||
|
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
DWORD maxCons;
|
DWORD maxCons;
|
||||||
DataAdviseConnection* Connections;
|
DataAdviseConnection* Connections;
|
||||||
} DataAdviseHolder;
|
} DataAdviseHolder;
|
||||||
|
@ -88,7 +88,7 @@ const CLSID CLSID_PSFactoryBuffer = { 0x00000320, 0, 0, {0xc0, 0, 0, 0, 0, 0, 0,
|
|||||||
*/
|
*/
|
||||||
typedef struct _CFStub {
|
typedef struct _CFStub {
|
||||||
const IRpcStubBufferVtbl *lpvtbl;
|
const IRpcStubBufferVtbl *lpvtbl;
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
|
|
||||||
LPUNKNOWN pUnkServer;
|
LPUNKNOWN pUnkServer;
|
||||||
} CFStub;
|
} CFStub;
|
||||||
@ -268,7 +268,7 @@ CFStub_Construct(LPRPCSTUBBUFFER *ppv) {
|
|||||||
typedef struct _CFProxy {
|
typedef struct _CFProxy {
|
||||||
const IClassFactoryVtbl *lpvtbl_cf;
|
const IClassFactoryVtbl *lpvtbl_cf;
|
||||||
const IRpcProxyBufferVtbl *lpvtbl_proxy;
|
const IRpcProxyBufferVtbl *lpvtbl_proxy;
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
|
|
||||||
IRpcChannelBuffer *chanbuf;
|
IRpcChannelBuffer *chanbuf;
|
||||||
IUnknown *outer_unknown;
|
IUnknown *outer_unknown;
|
||||||
@ -459,7 +459,7 @@ CFProxy_Construct(IUnknown *pUnkOuter, LPVOID *ppv,LPVOID *ppProxy) {
|
|||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
const IRpcStubBufferVtbl *lpVtbl;
|
const IRpcStubBufferVtbl *lpVtbl;
|
||||||
ULONG refs;
|
LONG refs;
|
||||||
IRemUnknown *iface;
|
IRemUnknown *iface;
|
||||||
} RemUnkStub;
|
} RemUnkStub;
|
||||||
|
|
||||||
@ -664,7 +664,7 @@ static HRESULT RemUnkStub_Construct(IRpcStubBuffer **ppStub)
|
|||||||
typedef struct _RemUnkProxy {
|
typedef struct _RemUnkProxy {
|
||||||
const IRemUnknownVtbl *lpvtbl_remunk;
|
const IRemUnknownVtbl *lpvtbl_remunk;
|
||||||
const IRpcProxyBufferVtbl *lpvtbl_proxy;
|
const IRpcProxyBufferVtbl *lpvtbl_proxy;
|
||||||
DWORD refs;
|
LONG refs;
|
||||||
|
|
||||||
IRpcChannelBuffer *chan;
|
IRpcChannelBuffer *chan;
|
||||||
IUnknown *outer_unknown;
|
IUnknown *outer_unknown;
|
||||||
|
@ -88,7 +88,7 @@ static inline void get_rpc_endpoint(LPWSTR endpoint, const OXID *oxid)
|
|||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
const IRpcChannelBufferVtbl *lpVtbl;
|
const IRpcChannelBufferVtbl *lpVtbl;
|
||||||
DWORD refs;
|
LONG refs;
|
||||||
} RpcChannelBuffer;
|
} RpcChannelBuffer;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
@ -155,7 +155,7 @@ static const IPropertyStorageVtbl IPropertyStorage_Vtbl;
|
|||||||
typedef struct tagPropertyStorage_impl
|
typedef struct tagPropertyStorage_impl
|
||||||
{
|
{
|
||||||
const IPropertyStorageVtbl *vtbl;
|
const IPropertyStorageVtbl *vtbl;
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
CRITICAL_SECTION cs;
|
CRITICAL_SECTION cs;
|
||||||
IStream *stm;
|
IStream *stm;
|
||||||
BOOL dirty;
|
BOOL dirty;
|
||||||
|
@ -956,7 +956,7 @@ typedef struct
|
|||||||
{
|
{
|
||||||
/* IUnknown fields */
|
/* IUnknown fields */
|
||||||
const IStream16Vtbl *lpVtbl;
|
const IStream16Vtbl *lpVtbl;
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
/* IStream16 fields */
|
/* IStream16 fields */
|
||||||
SEGPTR thisptr; /* pointer to this struct as segmented */
|
SEGPTR thisptr; /* pointer to this struct as segmented */
|
||||||
struct storage_pps_entry stde;
|
struct storage_pps_entry stde;
|
||||||
@ -1450,7 +1450,7 @@ typedef struct
|
|||||||
{
|
{
|
||||||
/* IUnknown fields */
|
/* IUnknown fields */
|
||||||
const IStreamVtbl *lpVtbl;
|
const IStreamVtbl *lpVtbl;
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
/* IStream32 fields */
|
/* IStream32 fields */
|
||||||
struct storage_pps_entry stde;
|
struct storage_pps_entry stde;
|
||||||
int ppsent;
|
int ppsent;
|
||||||
@ -1504,7 +1504,7 @@ typedef struct
|
|||||||
{
|
{
|
||||||
/* IUnknown fields */
|
/* IUnknown fields */
|
||||||
const IStorage16Vtbl *lpVtbl;
|
const IStorage16Vtbl *lpVtbl;
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
/* IStorage16 fields */
|
/* IStorage16 fields */
|
||||||
SEGPTR thisptr; /* pointer to this struct as segmented */
|
SEGPTR thisptr; /* pointer to this struct as segmented */
|
||||||
struct storage_pps_entry stde;
|
struct storage_pps_entry stde;
|
||||||
|
@ -222,7 +222,7 @@ struct StorageBaseImpl
|
|||||||
/*
|
/*
|
||||||
* Reference count of this object
|
* Reference count of this object
|
||||||
*/
|
*/
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Ancestor storage (top level)
|
* Ancestor storage (top level)
|
||||||
@ -430,7 +430,7 @@ struct IEnumSTATSTGImpl
|
|||||||
const IEnumSTATSTGVtbl *lpVtbl; /* Needs to be the first item in the struct
|
const IEnumSTATSTGVtbl *lpVtbl; /* Needs to be the first item in the struct
|
||||||
* since we want to cast this in an IEnumSTATSTG pointer */
|
* since we want to cast this in an IEnumSTATSTG pointer */
|
||||||
|
|
||||||
ULONG ref; /* Reference count */
|
LONG ref; /* Reference count */
|
||||||
StorageImpl* parentStorage; /* Reference to the parent storage */
|
StorageImpl* parentStorage; /* Reference to the parent storage */
|
||||||
ULONG firstPropertyNode; /* Index of the root of the storage to enumerate */
|
ULONG firstPropertyNode; /* Index of the root of the storage to enumerate */
|
||||||
|
|
||||||
@ -487,7 +487,7 @@ struct StgStreamImpl
|
|||||||
/*
|
/*
|
||||||
* Reference count
|
* Reference count
|
||||||
*/
|
*/
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Storage that is the parent(owner) of the stream
|
* Storage that is the parent(owner) of the stream
|
||||||
|
@ -539,7 +539,7 @@ const IID IID_IRemUnknown = { 0x00000131, 0, 0, {0xc0, 0, 0, 0, 0, 0, 0, 0x46} }
|
|||||||
typedef struct rem_unknown
|
typedef struct rem_unknown
|
||||||
{
|
{
|
||||||
const IRemUnknownVtbl *lpVtbl;
|
const IRemUnknownVtbl *lpVtbl;
|
||||||
ULONG refs;
|
LONG refs;
|
||||||
} RemUnknown;
|
} RemUnknown;
|
||||||
|
|
||||||
static const IRemUnknownVtbl RemUnknown_Vtbl;
|
static const IRemUnknownVtbl RemUnknown_Vtbl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user