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
be946734
Commit
be946734
authored
Feb 09, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
directmanipulation: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1c9a0679
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
21 deletions
+20
-21
Makefile.in
dlls/directmanipulation/Makefile.in
+0
-1
directmanipulation.c
dlls/directmanipulation/directmanipulation.c
+20
-20
No files found.
dlls/directmanipulation/Makefile.in
View file @
be946734
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
directmanipulation.dll
IMPORTS
=
uuid
...
...
dlls/directmanipulation/directmanipulation.c
View file @
be946734
...
...
@@ -75,7 +75,7 @@ ULONG WINAPI update_manager_AddRef(IDirectManipulationUpdateManager *iface)
struct
directupdatemanager
*
This
=
impl_from_IDirectManipulationUpdateManager
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
u
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -85,7 +85,7 @@ ULONG WINAPI update_manager_Release(IDirectManipulationUpdateManager *iface)
struct
directupdatemanager
*
This
=
impl_from_IDirectManipulationUpdateManager
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
u
\n
"
,
This
,
ref
);
if
(
!
ref
)
{
...
...
@@ -105,7 +105,7 @@ static HRESULT WINAPI update_manager_RegisterWaitHandleCallback(IDirectManipulat
static
HRESULT
WINAPI
update_manager_UnregisterWaitHandleCallback
(
IDirectManipulationUpdateManager
*
iface
,
DWORD
cookie
)
{
struct
directupdatemanager
*
This
=
impl_from_IDirectManipulationUpdateManager
(
iface
);
FIXME
(
"%p, %x
\n
"
,
This
,
cookie
);
FIXME
(
"%p, %
l
x
\n
"
,
This
,
cookie
);
return
E_NOTIMPL
;
}
...
...
@@ -187,7 +187,7 @@ static ULONG WINAPI primary_AddRef(IDirectManipulationPrimaryContent *iface)
struct
primarycontext
*
This
=
impl_from_IDirectManipulationPrimaryContent
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
u
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -197,7 +197,7 @@ static ULONG WINAPI primary_Release(IDirectManipulationPrimaryContent *iface)
struct
primarycontext
*
This
=
impl_from_IDirectManipulationPrimaryContent
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
u
\n
"
,
This
,
ref
);
if
(
!
ref
)
{
...
...
@@ -218,7 +218,7 @@ static HRESULT WINAPI primary_SetSnapPoints(IDirectManipulationPrimaryContent *i
const
float
*
points
,
DWORD
count
)
{
struct
primarycontext
*
This
=
impl_from_IDirectManipulationPrimaryContent
(
iface
);
FIXME
(
"%p, %d, %p, %d
\n
"
,
This
,
motion
,
points
,
count
);
FIXME
(
"%p, %d, %p, %
l
d
\n
"
,
This
,
motion
,
points
,
count
);
return
E_NOTIMPL
;
}
...
...
@@ -262,7 +262,7 @@ static HRESULT WINAPI primary_SetVerticalAlignment(IDirectManipulationPrimaryCon
static
HRESULT
WINAPI
primary_GetInertiaEndTransform
(
IDirectManipulationPrimaryContent
*
iface
,
float
*
matrix
,
DWORD
count
)
{
struct
primarycontext
*
This
=
impl_from_IDirectManipulationPrimaryContent
(
iface
);
FIXME
(
"%p, %p, %d
\n
"
,
This
,
matrix
,
count
);
FIXME
(
"%p, %p, %
l
d
\n
"
,
This
,
matrix
,
count
);
return
E_NOTIMPL
;
}
...
...
@@ -350,7 +350,7 @@ static HRESULT WINAPI content_GetOutputTransform(IDirectManipulationContent *ifa
float
*
matrix
,
DWORD
count
)
{
struct
primarycontext
*
This
=
impl_from_IDirectManipulationContent
(
iface
);
FIXME
(
"%p, %p, %d
\n
"
,
This
,
matrix
,
count
);
FIXME
(
"%p, %p, %
l
d
\n
"
,
This
,
matrix
,
count
);
return
E_NOTIMPL
;
}
...
...
@@ -358,7 +358,7 @@ static HRESULT WINAPI content_GetContentTransform(IDirectManipulationContent *if
float
*
matrix
,
DWORD
count
)
{
struct
primarycontext
*
This
=
impl_from_IDirectManipulationContent
(
iface
);
FIXME
(
"%p, %p, %d
\n
"
,
This
,
matrix
,
count
);
FIXME
(
"%p, %p, %
l
d
\n
"
,
This
,
matrix
,
count
);
return
E_NOTIMPL
;
}
...
...
@@ -366,7 +366,7 @@ static HRESULT WINAPI content_SyncContentTransform(IDirectManipulationContent *i
const
float
*
matrix
,
DWORD
count
)
{
struct
primarycontext
*
This
=
impl_from_IDirectManipulationContent
(
iface
);
FIXME
(
"%p, %p, %d
\n
"
,
This
,
matrix
,
count
);
FIXME
(
"%p, %p, %
l
d
\n
"
,
This
,
matrix
,
count
);
return
E_NOTIMPL
;
}
...
...
@@ -419,7 +419,7 @@ static ULONG WINAPI viewport_AddRef(IDirectManipulationViewport2 *iface)
struct
directviewport
*
This
=
impl_from_IDirectManipulationViewport2
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
u
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -429,7 +429,7 @@ static ULONG WINAPI viewport_Release(IDirectManipulationViewport2 *iface)
struct
directviewport
*
This
=
impl_from_IDirectManipulationViewport2
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
u
\n
"
,
This
,
ref
);
if
(
!
ref
)
{
...
...
@@ -520,7 +520,7 @@ static HRESULT WINAPI viewport_SetViewportTransform(IDirectManipulationViewport2
const
float
*
matrix
,
DWORD
count
)
{
struct
directviewport
*
This
=
impl_from_IDirectManipulationViewport2
(
iface
);
FIXME
(
"%p, %p, %d
\n
"
,
This
,
matrix
,
count
);
FIXME
(
"%p, %p, %
l
d
\n
"
,
This
,
matrix
,
count
);
return
E_NOTIMPL
;
}
...
...
@@ -528,7 +528,7 @@ static HRESULT WINAPI viewport_SyncDisplayTransform(IDirectManipulationViewport2
const
float
*
matrix
,
DWORD
count
)
{
struct
directviewport
*
This
=
impl_from_IDirectManipulationViewport2
(
iface
);
FIXME
(
"%p, %p, %d
\n
"
,
This
,
matrix
,
count
);
FIXME
(
"%p, %p, %
l
d
\n
"
,
This
,
matrix
,
count
);
return
E_NOTIMPL
;
}
...
...
@@ -624,7 +624,7 @@ static HRESULT WINAPI viewport_AddEventHandler(IDirectManipulationViewport2 *ifa
static
HRESULT
WINAPI
viewport_RemoveEventHandler
(
IDirectManipulationViewport2
*
iface
,
DWORD
cookie
)
{
struct
directviewport
*
This
=
impl_from_IDirectManipulationViewport2
(
iface
);
FIXME
(
"%p, %d
\n
"
,
This
,
cookie
);
FIXME
(
"%p, %
l
d
\n
"
,
This
,
cookie
);
return
E_NOTIMPL
;
}
...
...
@@ -666,7 +666,7 @@ static HRESULT WINAPI viewport_AddBehavior(IDirectManipulationViewport2 *iface,
static
HRESULT
WINAPI
viewport_RemoveBehavior
(
IDirectManipulationViewport2
*
iface
,
DWORD
cookie
)
{
struct
directviewport
*
This
=
impl_from_IDirectManipulationViewport2
(
iface
);
FIXME
(
"%p, %d
\n
"
,
This
,
cookie
);
FIXME
(
"%p, %
l
d
\n
"
,
This
,
cookie
);
return
E_NOTIMPL
;
}
...
...
@@ -750,7 +750,7 @@ static ULONG WINAPI direct_manip_AddRef(IDirectManipulationManager2 *iface)
struct
directmanipulation
*
This
=
impl_from_IDirectManipulationManager2
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
u
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -760,7 +760,7 @@ static ULONG WINAPI direct_manip_Release(IDirectManipulationManager2 *iface)
struct
directmanipulation
*
This
=
impl_from_IDirectManipulationManager2
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
u
\n
"
,
This
,
ref
);
if
(
!
ref
)
{
...
...
@@ -946,7 +946,7 @@ static ULONG WINAPI compositor_AddRef(IDirectManipulationCompositor2 *iface)
struct
directcompositor
*
This
=
impl_from_IDirectManipulationCompositor2
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
u
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -956,7 +956,7 @@ static ULONG WINAPI compositor_Release(IDirectManipulationCompositor2 *iface)
struct
directcompositor
*
This
=
impl_from_IDirectManipulationCompositor2
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
u
\n
"
,
This
,
ref
);
if
(
!
ref
)
{
...
...
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