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
c7c44c59
Commit
c7c44c59
authored
Feb 09, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comsvcs: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3f046913
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
22 deletions
+21
-22
Makefile.in
dlls/comsvcs/Makefile.in
+0
-1
main.c
dlls/comsvcs/main.c
+16
-16
property.c
dlls/comsvcs/property.c
+5
-5
No files found.
dlls/comsvcs/Makefile.in
View file @
c7c44c59
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
comsvcs.dll
IMPORTLIB
=
comsvcs
IMPORTS
=
ole32 uuid
...
...
dlls/comsvcs/main.c
View file @
c7c44c59
...
...
@@ -97,7 +97,7 @@ static ULONG WINAPI holder_AddRef(IHolder *iface)
{
holder
*
This
=
impl_from_IHolder
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
ref
);
TRACE
(
"(%p)->(%
l
d)
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -105,7 +105,7 @@ static ULONG WINAPI holder_Release(IHolder *iface)
{
holder
*
This
=
impl_from_IHolder
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
ref
);
TRACE
(
"(%p)->(%
l
d)
\n
"
,
This
,
ref
);
if
(
!
ref
)
{
...
...
@@ -121,11 +121,11 @@ static HRESULT WINAPI holder_AllocResource(IHolder *iface, const RESTYPID typeid
HRESULT
hr
;
TIMEINSECS
secs
;
TRACE
(
"(%p)->(%08
l
x, %p) stub
\n
"
,
This
,
typeid
,
resid
);
TRACE
(
"(%p)->(%08
I
x, %p) stub
\n
"
,
This
,
typeid
,
resid
);
hr
=
IDispenserDriver_CreateResource
(
This
->
driver
,
typeid
,
resid
,
&
secs
);
TRACE
(
"<- 0x%08x
\n
"
,
hr
);
TRACE
(
"<- 0x%08
l
x
\n
"
,
hr
);
return
hr
;
}
...
...
@@ -134,11 +134,11 @@ static HRESULT WINAPI holder_FreeResource(IHolder *iface, const RESID resid)
holder
*
This
=
impl_from_IHolder
(
iface
);
HRESULT
hr
;
TRACE
(
"(%p)->(%08
l
x) stub
\n
"
,
This
,
resid
);
TRACE
(
"(%p)->(%08
I
x) stub
\n
"
,
This
,
resid
);
hr
=
IDispenserDriver_DestroyResource
(
This
->
driver
,
resid
);
TRACE
(
"<- 0x%08x
\n
"
,
hr
);
TRACE
(
"<- 0x%08
l
x
\n
"
,
hr
);
return
hr
;
}
...
...
@@ -147,7 +147,7 @@ static HRESULT WINAPI holder_TrackResource(IHolder *iface, const RESID resid)
{
holder
*
This
=
impl_from_IHolder
(
iface
);
FIXME
(
"(%p)->(%08
l
x) stub
\n
"
,
This
,
resid
);
FIXME
(
"(%p)->(%08
I
x) stub
\n
"
,
This
,
resid
);
return
E_NOTIMPL
;
}
...
...
@@ -165,7 +165,7 @@ static HRESULT WINAPI holder_UntrackResource(IHolder *iface, const RESID resid,
{
holder
*
This
=
impl_from_IHolder
(
iface
);
FIXME
(
"(%p)->(%08
l
x, %d) stub
\n
"
,
This
,
resid
,
value
);
FIXME
(
"(%p)->(%08
I
x, %d) stub
\n
"
,
This
,
resid
,
value
);
return
E_NOTIMPL
;
}
...
...
@@ -194,7 +194,7 @@ static HRESULT WINAPI holder_RequestDestroyResource(IHolder *iface, const RESID
{
holder
*
This
=
impl_from_IHolder
(
iface
);
FIXME
(
"(%p)->(%08
l
x) stub
\n
"
,
This
,
resid
);
FIXME
(
"(%p)->(%08
I
x) stub
\n
"
,
This
,
resid
);
return
E_NOTIMPL
;
}
...
...
@@ -263,7 +263,7 @@ static ULONG WINAPI dismanager_AddRef(IDispenserManager *iface)
{
dispensermanager
*
This
=
impl_from_IDispenserManager
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
ref
);
TRACE
(
"(%p)->(%
l
d)
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -271,7 +271,7 @@ static ULONG WINAPI dismanager_Release(IDispenserManager *iface)
{
dispensermanager
*
This
=
impl_from_IDispenserManager
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
ref
);
TRACE
(
"(%p)->(%
l
d)
\n
"
,
This
,
ref
);
if
(
!
ref
)
{
...
...
@@ -299,7 +299,7 @@ static HRESULT WINAPI dismanager_RegisterDispenser(IDispenserManager *iface, IDi
if
(
!
This
->
mta_cookie
)
CoIncrementMTAUsage
(
&
This
->
mta_cookie
);
TRACE
(
"<-- 0x%08x, %p
\n
"
,
hr
,
*
dispenser
);
TRACE
(
"<-- 0x%08
l
x, %p
\n
"
,
hr
,
*
dispenser
);
return
hr
;
}
...
...
@@ -429,7 +429,7 @@ static ULONG WINAPI new_moniker_AddRef(IMoniker* iface)
struct
new_moniker
*
moniker
=
impl_from_IMoniker
(
iface
);
ULONG
refcount
=
InterlockedIncrement
(
&
moniker
->
refcount
);
TRACE
(
"%p, refcount %u.
\n
"
,
iface
,
refcount
);
TRACE
(
"%p, refcount %
l
u.
\n
"
,
iface
,
refcount
);
return
refcount
;
}
...
...
@@ -439,7 +439,7 @@ static ULONG WINAPI new_moniker_Release(IMoniker* iface)
struct
new_moniker
*
moniker
=
impl_from_IMoniker
(
iface
);
ULONG
refcount
=
InterlockedDecrement
(
&
moniker
->
refcount
);
TRACE
(
"%p, refcount %u.
\n
"
,
iface
,
refcount
);
TRACE
(
"%p, refcount %
l
u.
\n
"
,
iface
,
refcount
);
if
(
!
refcount
)
{
...
...
@@ -600,7 +600,7 @@ static HRESULT WINAPI new_moniker_BindToStorage(IMoniker *iface, IBindCtx *pbc,
static
HRESULT
WINAPI
new_moniker_Reduce
(
IMoniker
*
iface
,
IBindCtx
*
pbc
,
DWORD
flags
,
IMoniker
**
ppmkToLeft
,
IMoniker
**
ret
)
{
TRACE
(
"%p, %p, %d, %p, %p.
\n
"
,
iface
,
pbc
,
flags
,
ppmkToLeft
,
ret
);
TRACE
(
"%p, %p, %
l
d, %p, %p.
\n
"
,
iface
,
pbc
,
flags
,
ppmkToLeft
,
ret
);
if
(
!
ret
)
return
E_POINTER
;
...
...
@@ -758,7 +758,7 @@ static ULONG WINAPI new_moniker_rotdata_Release(IROTData *iface)
static
HRESULT
WINAPI
new_moniker_rotdata_GetComparisonData
(
IROTData
*
iface
,
byte
*
data
,
ULONG
data_len
,
ULONG
*
length
)
{
FIXME
(
"%p, %p, %u, %p.
\n
"
,
iface
,
data
,
data_len
,
length
);
FIXME
(
"%p, %p, %
l
u, %p.
\n
"
,
iface
,
data
,
data_len
,
length
);
return
E_NOTIMPL
;
}
...
...
dlls/comsvcs/property.c
View file @
c7c44c59
...
...
@@ -59,7 +59,7 @@ static ULONG WINAPI group_manager_AddRef(ISharedPropertyGroupManager *iface)
struct
group_manager
*
manager
=
impl_from_ISharedPropertyGroupManager
(
iface
);
ULONG
refcount
=
InterlockedIncrement
(
&
manager
->
refcount
);
TRACE
(
"%p increasing refcount to %u.
\n
"
,
iface
,
refcount
);
TRACE
(
"%p increasing refcount to %
l
u.
\n
"
,
iface
,
refcount
);
return
refcount
;
}
...
...
@@ -69,7 +69,7 @@ static ULONG WINAPI group_manager_Release(ISharedPropertyGroupManager *iface)
struct
group_manager
*
manager
=
impl_from_ISharedPropertyGroupManager
(
iface
);
ULONG
refcount
=
InterlockedDecrement
(
&
manager
->
refcount
);
TRACE
(
"%p decreasing refcount to %u.
\n
"
,
iface
,
refcount
);
TRACE
(
"%p decreasing refcount to %
l
u.
\n
"
,
iface
,
refcount
);
return
refcount
;
}
...
...
@@ -83,14 +83,14 @@ static HRESULT WINAPI group_manager_GetTypeInfoCount(ISharedPropertyGroupManager
static
HRESULT
WINAPI
group_manager_GetTypeInfo
(
ISharedPropertyGroupManager
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
info
)
{
FIXME
(
"iface %p, index %u, lcid %u, info %p: stub.
\n
"
,
iface
,
index
,
lcid
,
info
);
FIXME
(
"iface %p, index %u, lcid %
l
u, info %p: stub.
\n
"
,
iface
,
index
,
lcid
,
info
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
group_manager_GetIDsOfNames
(
ISharedPropertyGroupManager
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
FIXME
(
"iface %p, riid %s, names %p, count %u, lcid %u, dispid %p: stub.
\n
"
,
FIXME
(
"iface %p, riid %s, names %p, count %u, lcid %
l
u, dispid %p: stub.
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
...
...
@@ -99,7 +99,7 @@ static HRESULT WINAPI group_manager_GetIDsOfNames(ISharedPropertyGroupManager *i
static
HRESULT
WINAPI
group_manager_Invoke
(
ISharedPropertyGroupManager
*
iface
,
DISPID
member
,
REFIID
riid
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
except
,
UINT
*
argerr
)
{
FIXME
(
"iface %p, member %
u, riid %s, lcid %
u, flags %x, params %p, result %p, except %p, argerr %p: stub.
\n
"
,
FIXME
(
"iface %p, member %
lu, riid %s, lcid %l
u, flags %x, params %p, result %p, except %p, argerr %p: stub.
\n
"
,
iface
,
member
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
except
,
argerr
);
return
E_NOTIMPL
;
}
...
...
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