Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c7fdb456
Commit
c7fdb456
authored
Jul 05, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jul 05, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gcc 4.0 -Wpointer-sign warnings.
parent
89424ce8
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
54 additions
and
54 deletions
+54
-54
dmloader_main.c
dlls/dmloader/dmloader_main.c
+2
-2
dmloader_private.h
dlls/dmloader/dmloader_private.h
+9
-9
loader.c
dlls/dmloader/loader.c
+1
-1
antimoniker.c
dlls/ole32/antimoniker.c
+1
-1
bindctx.c
dlls/ole32/bindctx.c
+1
-1
clipboard.c
dlls/ole32/clipboard.c
+2
-2
compobj_private.h
dlls/ole32/compobj_private.h
+3
-3
compositemoniker.c
dlls/ole32/compositemoniker.c
+2
-2
datacache.c
dlls/ole32/datacache.c
+1
-1
defaulthandler.c
dlls/ole32/defaulthandler.c
+1
-1
errorinfo.c
dlls/ole32/errorinfo.c
+1
-1
filemoniker.c
dlls/ole32/filemoniker.c
+1
-1
ftmarshal.c
dlls/ole32/ftmarshal.c
+1
-1
hglobalstream.c
dlls/ole32/hglobalstream.c
+1
-1
ifs.c
dlls/ole32/ifs.c
+1
-1
itemmoniker.c
dlls/ole32/itemmoniker.c
+1
-1
marshal.c
dlls/ole32/marshal.c
+1
-1
memlockbytes.c
dlls/ole32/memlockbytes.c
+1
-1
memlockbytes16.c
dlls/ole32/memlockbytes16.c
+1
-1
moniker.c
dlls/ole32/moniker.c
+4
-4
ole16.c
dlls/ole32/ole16.c
+1
-1
ole2.c
dlls/ole32/ole2.c
+2
-2
oleobj.c
dlls/ole32/oleobj.c
+2
-2
oleproxy.c
dlls/ole32/oleproxy.c
+4
-4
rpc.c
dlls/ole32/rpc.c
+1
-1
stg_prop.c
dlls/ole32/stg_prop.c
+1
-1
storage.c
dlls/ole32/storage.c
+3
-3
storage32.h
dlls/ole32/storage32.h
+3
-3
stubmanager.c
dlls/ole32/stubmanager.c
+1
-1
No files found.
dlls/dmloader/dmloader_main.c
View file @
c7fdb456
...
...
@@ -21,8 +21,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dmloader
);
DWORD
dwDirectMusicContainer
=
0
;
DWORD
dwDirectMusicLoader
=
0
;
LONG
dwDirectMusicContainer
=
0
;
LONG
dwDirectMusicLoader
=
0
;
/******************************************************************
* DllMain
...
...
dlls/dmloader/dmloader_private.h
View file @
c7fdb456
...
...
@@ -45,8 +45,8 @@
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
/* dmloader.dll global (for DllCanUnloadNow) */
extern
DWORD
dwDirectMusicLoader
;
/* number of DirectMusicLoader(CF) instances */
extern
DWORD
dwDirectMusicContainer
;
/* number of DirectMusicContainer(CF) instances */
extern
LONG
dwDirectMusicLoader
;
/* number of DirectMusicLoader(CF) instances */
extern
LONG
dwDirectMusicContainer
;
/* number of DirectMusicContainer(CF) instances */
/*****************************************************************************
* Interfaces
...
...
@@ -87,7 +87,7 @@ extern HRESULT WINAPI DMUSIC_DestroyDirectMusicLoaderGenericStream (LPSTREAM ifa
struct
IDirectMusicLoaderCF
{
/* IUnknown fields */
const
IClassFactoryVtbl
*
lpVtbl
;
DWORD
dwRef
;
LONG
dwRef
;
};
/* IUnknown / IClassFactory: */
...
...
@@ -100,7 +100,7 @@ extern ULONG WINAPI IDirectMusicLoaderCF_AddRef (LPCLASSFACTORY iface);
struct
IDirectMusicContainerCF
{
/* IUnknown fields */
const
IClassFactoryVtbl
*
lpVtbl
;
DWORD
dwRef
;
LONG
dwRef
;
};
/* IUnknown / IClassFactory: */
...
...
@@ -130,7 +130,7 @@ struct IDirectMusicLoaderImpl {
/* VTABLEs */
const
IDirectMusicLoader8Vtbl
*
LoaderVtbl
;
/* reference counter */
DWORD
dwRef
;
LONG
dwRef
;
/* simple cache (linked list) */
struct
list
*
pObjects
;
/* settings for certain object classes */
...
...
@@ -162,7 +162,7 @@ struct IDirectMusicContainerImpl {
const
IDirectMusicObjectVtbl
*
ObjectVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
/* reference counter */
DWORD
dwRef
;
LONG
dwRef
;
/* stream */
LPSTREAM
pStream
;
/* header */
...
...
@@ -191,7 +191,7 @@ struct IDirectMusicLoaderFileStream {
const
IStreamVtbl
*
StreamVtbl
;
const
IDirectMusicGetLoaderVtbl
*
GetLoaderVtbl
;
/* reference counter */
DWORD
dwRef
;
LONG
dwRef
;
/* file */
WCHAR
wzFileName
[
MAX_PATH
];
/* for clone */
HANDLE
hFile
;
...
...
@@ -217,7 +217,7 @@ struct IDirectMusicLoaderResourceStream {
const
IStreamVtbl
*
StreamVtbl
;
const
IDirectMusicGetLoaderVtbl
*
GetLoaderVtbl
;
/* reference counter */
DWORD
dwRef
;
LONG
dwRef
;
/* data */
LPBYTE
pbMemData
;
LONGLONG
llMemLength
;
...
...
@@ -245,7 +245,7 @@ struct IDirectMusicLoaderGenericStream {
const
IStreamVtbl
*
StreamVtbl
;
const
IDirectMusicGetLoaderVtbl
*
GetLoaderVtbl
;
/* reference counter */
DWORD
dwRef
;
LONG
dwRef
;
/* stream */
LPSTREAM
pStream
;
/* loader */
...
...
dlls/dmloader/loader.c
View file @
c7fdb456
...
...
@@ -827,7 +827,7 @@ HRESULT WINAPI DMUSIC_GetDefaultGMPath (WCHAR wszPath[MAX_PATH]) {
char
szPath
[
MAX_PATH
];
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
"
);
return
E_FAIL
;
}
...
...
dlls/ole32/antimoniker.c
View file @
c7fdb456
...
...
@@ -49,7 +49,7 @@ typedef struct AntiMonikerImpl{
*/
const
IROTDataVtbl
*
lpvtbl2
;
/* VTable relative to the IROTData interface.*/
U
LONG
ref
;
/* reference counter for this object */
LONG
ref
;
/* reference counter for this object */
}
AntiMonikerImpl
;
...
...
dlls/ole32/bindctx.c
View file @
c7fdb456
...
...
@@ -52,7 +52,7 @@ typedef struct BindCtxImpl{
const
IBindCtxVtbl
*
lpVtbl
;
/* VTable relative to the IBindCtx interface.*/
U
LONG
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*/
DWORD
bindCtxTableLastIndex
;
/* first free index in the table */
...
...
dlls/ole32/clipboard.c
View file @
c7fdb456
...
...
@@ -122,7 +122,7 @@ struct OLEClipbrd
/*
* Reference count of this object
*/
ULONG
ref
;
LONG
ref
;
};
typedef
struct
OLEClipbrd
OLEClipbrd
;
...
...
@@ -145,7 +145,7 @@ typedef struct
/*
* Reference count of this object
*/
DWORD
ref
;
LONG
ref
;
/*
* IUnknown implementation of the parent data object.
...
...
dlls/ole32/compobj_private.h
View file @
c7fdb456
...
...
@@ -112,7 +112,7 @@ struct proxy_manager
OXID
oxid
;
/* object exported ID (RO) */
OID
oid
;
/* object ID (RO) */
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 */
ULONG
sorflags
;
/* STDOBJREF flags (RO) */
IRemUnknown
*
remunk
;
/* proxy to IRemUnknown used for lifecycle management (CS cs) */
...
...
@@ -124,12 +124,12 @@ struct apartment
{
struct
list
entry
;
DWORD
refs
;
/* refcount of the apartment (LOCK) */
LONG
refs
;
/* refcount of the apartment (LOCK) */
DWORD
model
;
/* threading model (RO) */
DWORD
tid
;
/* thread id (RO) */
HANDLE
thread
;
/* thread handle (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) */
CRITICAL_SECTION
cs
;
/* thread safety */
LPMESSAGEFILTER
filter
;
/* message filter (CS cs) */
...
...
dlls/ole32/compositemoniker.c
View file @
c7fdb456
...
...
@@ -54,7 +54,7 @@ typedef struct CompositeMonikerImpl{
*/
const
IROTDataVtbl
*
lpvtbl2
;
/* VTable relative to the IROTData interface.*/
U
LONG
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 */
...
...
@@ -70,7 +70,7 @@ typedef struct EnumMonikerImpl{
const
IEnumMonikerVtbl
*
lpVtbl
;
/* VTable relative to the IEnumMoniker interface.*/
U
LONG
ref
;
/* reference counter for this object */
LONG
ref
;
/* reference counter for this object */
IMoniker
**
tabMoniker
;
/* dynamic table containing the enumerated monikers */
...
...
dlls/ole32/datacache.c
View file @
c7fdb456
...
...
@@ -103,7 +103,7 @@ struct DataCache
/*
* Reference count of this object
*/
U
LONG
ref
;
LONG
ref
;
/*
* IUnknown implementation of the outer object.
...
...
dlls/ole32/defaulthandler.c
View file @
c7fdb456
...
...
@@ -78,7 +78,7 @@ struct DefaultHandler
/*
* Reference count of this object
*/
U
LONG
ref
;
LONG
ref
;
/*
* IUnknown implementation of the outer object.
...
...
dlls/ole32/errorinfo.c
View file @
c7fdb456
...
...
@@ -131,7 +131,7 @@ typedef struct ErrorInfoImpl
const
IErrorInfoVtbl
*
lpvtei
;
const
ICreateErrorInfoVtbl
*
lpvtcei
;
const
ISupportErrorInfoVtbl
*
lpvtsei
;
DWORD
ref
;
LONG
ref
;
GUID
m_Guid
;
BSTR
bstrSource
;
...
...
dlls/ole32/filemoniker.c
View file @
c7fdb456
...
...
@@ -53,7 +53,7 @@ typedef struct FileMonikerImpl{
*/
const
IROTDataVtbl
*
lpvtbl2
;
/* VTable relative to the IROTData interface.*/
U
LONG
ref
;
/* reference counter for this object */
LONG
ref
;
/* reference counter for this object */
LPOLESTR
filePathName
;
/* path string identified by this filemoniker */
...
...
dlls/ole32/ftmarshal.c
View file @
c7fdb456
...
...
@@ -38,7 +38,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
typedef
struct
_FTMarshalImpl
{
const
IUnknownVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
const
IMarshalVtbl
*
lpvtblFTM
;
IUnknown
*
pUnkOuter
;
...
...
dlls/ole32/hglobalstream.c
View file @
c7fdb456
...
...
@@ -60,7 +60,7 @@ struct HGLOBALStreamImpl
/*
* Reference count
*/
U
LONG
ref
;
LONG
ref
;
/*
* Support for the stream
...
...
dlls/ole32/ifs.c
View file @
c7fdb456
...
...
@@ -366,7 +366,7 @@ static const IMallocSpyVtbl VT_IMallocSpy;
typedef
struct
{
const
IMallocSpyVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
}
_MallocSpy
;
/* this is the static object instance */
...
...
dlls/ole32/itemmoniker.c
View file @
c7fdb456
...
...
@@ -52,7 +52,7 @@ typedef struct ItemMonikerImpl{
*/
const
IROTDataVtbl
*
lpvtbl2
;
/* VTable relative to the IROTData interface.*/
U
LONG
ref
;
/* reference counter for this object */
LONG
ref
;
/* reference counter for this object */
LPOLESTR
itemName
;
/* item name identified by this ItemMoniker */
...
...
dlls/ole32/marshal.c
View file @
c7fdb456
...
...
@@ -763,7 +763,7 @@ HRESULT apartment_disconnectproxies(struct apartment *apt)
typedef
struct
_StdMarshalImpl
{
const
IMarshalVtbl
*
lpvtbl
;
DWORD
ref
;
LONG
ref
;
IID
iid
;
DWORD
dwDestContext
;
...
...
dlls/ole32/memlockbytes.c
View file @
c7fdb456
...
...
@@ -57,7 +57,7 @@ struct HGLOBALLockBytesImpl
/*
* Reference count
*/
U
LONG
ref
;
LONG
ref
;
/*
* Support for the LockBytes object
...
...
dlls/ole32/memlockbytes16.c
View file @
c7fdb456
...
...
@@ -53,7 +53,7 @@ struct HGLOBALLockBytesImpl16
* since we want to cast this in an ILockBytes pointer
*/
const
ILockBytes16Vtbl
*
lpVtbl
;
U
LONG
ref
;
LONG
ref
;
/*
* Support for the LockBytes object
...
...
dlls/ole32/moniker.c
View file @
c7fdb456
...
...
@@ -60,7 +60,7 @@ struct rot_entry
typedef
struct
RunningObjectTableImpl
{
const
IRunningObjectTableVtbl
*
lpVtbl
;
U
LONG
ref
;
LONG
ref
;
struct
list
rot
;
/* list of ROT entries */
CRITICAL_SECTION
lock
;
...
...
@@ -73,7 +73,7 @@ static RunningObjectTableImpl* runningObjectTableInstance = NULL;
static
inline
HRESULT
WINAPI
IrotRegister
(
DWORD
*
cookie
)
{
static
DWORD
last_cookie
=
1
;
static
LONG
last_cookie
=
1
;
*
cookie
=
InterlockedIncrement
(
&
last_cookie
);
return
S_OK
;
}
...
...
@@ -82,7 +82,7 @@ IrotRegister(DWORD *cookie)
typedef
struct
EnumMonikerImpl
{
const
IEnumMonikerVtbl
*
lpVtbl
;
ULONG
ref
;
LONG
ref
;
MInterfacePointer
**
monikers
;
ULONG
moniker_count
;
...
...
@@ -988,7 +988,7 @@ typedef struct MonikerMarshal
const
IUnknownVtbl
*
lpVtbl
;
const
IMarshalVtbl
*
lpVtblMarshal
;
U
LONG
ref
;
LONG
ref
;
IMoniker
*
moniker
;
}
MonikerMarshal
;
...
...
dlls/ole32/ole16.c
View file @
c7fdb456
...
...
@@ -370,7 +370,7 @@ HRESULT WINAPI ProgIDFromCLSID16(
if
(
ret
==
S_OK
)
{
DWORD
buf2len
;
LONG
buf2len
;
char
*
buf2
=
HeapAlloc
(
GetProcessHeap
(),
0
,
255
);
buf2len
=
255
;
if
(
RegQueryValueA
(
xhkey
,
NULL
,
buf2
,
&
buf2len
))
...
...
dlls/ole32/ole2.c
View file @
c7fdb456
...
...
@@ -394,7 +394,7 @@ HRESULT WINAPI OleRegGetUserType(
DWORD
cbData
;
HKEY
clsidKey
;
LONG
hres
;
LP
BYTE
buffer
;
LP
STR
buffer
;
HRESULT
retVal
;
/*
* Initialize the out parameter.
...
...
@@ -464,7 +464,7 @@ HRESULT WINAPI OleRegGetUserType(
""
,
NULL
,
&
dwKeyType
,
buffer
,
(
LPBYTE
)
buffer
,
&
cbData
);
RegCloseKey
(
clsidKey
);
...
...
dlls/ole32/oleobj.c
View file @
c7fdb456
...
...
@@ -43,7 +43,7 @@ typedef struct OleAdviseHolderImpl
{
const
IOleAdviseHolderVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
DWORD
maxSinks
;
IAdviseSink
**
arrayOfSinks
;
...
...
@@ -357,7 +357,7 @@ typedef struct DataAdviseHolder
{
const
IDataAdviseHolderVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
DWORD
maxCons
;
DataAdviseConnection
*
Connections
;
}
DataAdviseHolder
;
...
...
dlls/ole32/oleproxy.c
View file @
c7fdb456
...
...
@@ -88,7 +88,7 @@ const CLSID CLSID_PSFactoryBuffer = { 0x00000320, 0, 0, {0xc0, 0, 0, 0, 0, 0, 0,
*/
typedef
struct
_CFStub
{
const
IRpcStubBufferVtbl
*
lpvtbl
;
DWORD
ref
;
LONG
ref
;
LPUNKNOWN
pUnkServer
;
}
CFStub
;
...
...
@@ -268,7 +268,7 @@ CFStub_Construct(LPRPCSTUBBUFFER *ppv) {
typedef
struct
_CFProxy
{
const
IClassFactoryVtbl
*
lpvtbl_cf
;
const
IRpcProxyBufferVtbl
*
lpvtbl_proxy
;
DWORD
ref
;
LONG
ref
;
IRpcChannelBuffer
*
chanbuf
;
IUnknown
*
outer_unknown
;
...
...
@@ -459,7 +459,7 @@ CFProxy_Construct(IUnknown *pUnkOuter, LPVOID *ppv,LPVOID *ppProxy) {
typedef
struct
{
const
IRpcStubBufferVtbl
*
lpVtbl
;
U
LONG
refs
;
LONG
refs
;
IRemUnknown
*
iface
;
}
RemUnkStub
;
...
...
@@ -664,7 +664,7 @@ static HRESULT RemUnkStub_Construct(IRpcStubBuffer **ppStub)
typedef
struct
_RemUnkProxy
{
const
IRemUnknownVtbl
*
lpvtbl_remunk
;
const
IRpcProxyBufferVtbl
*
lpvtbl_proxy
;
DWORD
refs
;
LONG
refs
;
IRpcChannelBuffer
*
chan
;
IUnknown
*
outer_unknown
;
...
...
dlls/ole32/rpc.c
View file @
c7fdb456
...
...
@@ -88,7 +88,7 @@ static inline void get_rpc_endpoint(LPWSTR endpoint, const OXID *oxid)
typedef
struct
{
const
IRpcChannelBufferVtbl
*
lpVtbl
;
DWORD
refs
;
LONG
refs
;
}
RpcChannelBuffer
;
typedef
struct
...
...
dlls/ole32/stg_prop.c
View file @
c7fdb456
...
...
@@ -155,7 +155,7 @@ static const IPropertyStorageVtbl IPropertyStorage_Vtbl;
typedef
struct
tagPropertyStorage_impl
{
const
IPropertyStorageVtbl
*
vtbl
;
DWORD
ref
;
LONG
ref
;
CRITICAL_SECTION
cs
;
IStream
*
stm
;
BOOL
dirty
;
...
...
dlls/ole32/storage.c
View file @
c7fdb456
...
...
@@ -956,7 +956,7 @@ typedef struct
{
/* IUnknown fields */
const
IStream16Vtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IStream16 fields */
SEGPTR
thisptr
;
/* pointer to this struct as segmented */
struct
storage_pps_entry
stde
;
...
...
@@ -1450,7 +1450,7 @@ typedef struct
{
/* IUnknown fields */
const
IStreamVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IStream32 fields */
struct
storage_pps_entry
stde
;
int
ppsent
;
...
...
@@ -1504,7 +1504,7 @@ typedef struct
{
/* IUnknown fields */
const
IStorage16Vtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IStorage16 fields */
SEGPTR
thisptr
;
/* pointer to this struct as segmented */
struct
storage_pps_entry
stde
;
...
...
dlls/ole32/storage32.h
View file @
c7fdb456
...
...
@@ -222,7 +222,7 @@ struct StorageBaseImpl
/*
* Reference count of this object
*/
U
LONG
ref
;
LONG
ref
;
/*
* Ancestor storage (top level)
...
...
@@ -430,7 +430,7 @@ struct IEnumSTATSTGImpl
const
IEnumSTATSTGVtbl
*
lpVtbl
;
/* Needs to be the first item in the struct
* since we want to cast this in an IEnumSTATSTG pointer */
U
LONG
ref
;
/* Reference count */
LONG
ref
;
/* Reference count */
StorageImpl
*
parentStorage
;
/* Reference to the parent storage */
ULONG
firstPropertyNode
;
/* Index of the root of the storage to enumerate */
...
...
@@ -487,7 +487,7 @@ struct StgStreamImpl
/*
* Reference count
*/
U
LONG
ref
;
LONG
ref
;
/*
* Storage that is the parent(owner) of the stream
...
...
dlls/ole32/stubmanager.c
View file @
c7fdb456
...
...
@@ -539,7 +539,7 @@ const IID IID_IRemUnknown = { 0x00000131, 0, 0, {0xc0, 0, 0, 0, 0, 0, 0, 0x46} }
typedef
struct
rem_unknown
{
const
IRemUnknownVtbl
*
lpVtbl
;
U
LONG
refs
;
LONG
refs
;
}
RemUnknown
;
static
const
IRemUnknownVtbl
RemUnknown_Vtbl
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment