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
079cf1c2
Commit
079cf1c2
authored
Oct 21, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Oct 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Display new ref count in AddRef & Release.
parent
a45da559
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
d3dxof.c
dlls/d3dxof/d3dxof.c
+12
-12
No files found.
dlls/d3dxof/d3dxof.c
View file @
079cf1c2
...
...
@@ -96,7 +96,7 @@ static ULONG WINAPI IDirectXFileImpl_AddRef(IDirectXFile* iface)
IDirectXFileImpl
*
This
=
impl_from_IDirectXFile
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)
: AddRef from %d
\n
"
,
iface
,
This
,
ref
-
1
);
TRACE
(
"(%p/%p)
->(): new ref %d
\n
"
,
iface
,
This
,
ref
);
return
ref
;
}
...
...
@@ -106,7 +106,7 @@ static ULONG WINAPI IDirectXFileImpl_Release(IDirectXFile* iface)
IDirectXFileImpl
*
This
=
impl_from_IDirectXFile
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)
: ReleaseRef to
%d
\n
"
,
iface
,
This
,
ref
);
TRACE
(
"(%p/%p)
->(): new ref
%d
\n
"
,
iface
,
This
,
ref
);
if
(
!
ref
)
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
@@ -403,7 +403,7 @@ static ULONG WINAPI IDirectXFileBinaryImpl_AddRef(IDirectXFileBinary* iface)
IDirectXFileBinaryImpl
*
This
=
impl_from_IDirectXFileBinary
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)
: AddRef from %d
\n
"
,
iface
,
This
,
ref
-
1
);
TRACE
(
"(%p/%p)
->(): new ref %d
\n
"
,
iface
,
This
,
ref
);
return
ref
;
}
...
...
@@ -413,7 +413,7 @@ static ULONG WINAPI IDirectXFileBinaryImpl_Release(IDirectXFileBinary* iface)
IDirectXFileBinaryImpl
*
This
=
impl_from_IDirectXFileBinary
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)
: ReleaseRef to
%d
\n
"
,
iface
,
This
,
ref
);
TRACE
(
"(%p/%p)
->(): new ref
%d
\n
"
,
iface
,
This
,
ref
);
if
(
!
ref
)
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
@@ -536,7 +536,7 @@ static ULONG WINAPI IDirectXFileDataImpl_AddRef(IDirectXFileData* iface)
IDirectXFileDataImpl
*
This
=
impl_from_IDirectXFileData
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)
: AddRef from %d
\n
"
,
iface
,
This
,
ref
-
1
);
TRACE
(
"(%p/%p)
->(): new ref %d
\n
"
,
iface
,
This
,
ref
);
return
ref
;
}
...
...
@@ -546,7 +546,7 @@ static ULONG WINAPI IDirectXFileDataImpl_Release(IDirectXFileData* iface)
IDirectXFileDataImpl
*
This
=
impl_from_IDirectXFileData
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)
: ReleaseRef to
%d
\n
"
,
iface
,
This
,
ref
);
TRACE
(
"(%p/%p)
->(): new ref
%d
\n
"
,
iface
,
This
,
ref
);
if
(
!
ref
)
{
...
...
@@ -811,7 +811,7 @@ static ULONG WINAPI IDirectXFileDataReferenceImpl_AddRef(IDirectXFileDataReferen
IDirectXFileDataReferenceImpl
*
This
=
impl_from_IDirectXFileDataReference
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)
: AddRef from %d
\n
"
,
iface
,
This
,
ref
-
1
);
TRACE
(
"(%p/%p)
->(): new ref %d
\n
"
,
iface
,
This
,
ref
);
return
ref
;
}
...
...
@@ -821,7 +821,7 @@ static ULONG WINAPI IDirectXFileDataReferenceImpl_Release(IDirectXFileDataRefere
IDirectXFileDataReferenceImpl
*
This
=
impl_from_IDirectXFileDataReference
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)
: ReleaseRef to
%d
\n
"
,
iface
,
This
,
ref
);
TRACE
(
"(%p/%p)
->(): new ref
%d
\n
"
,
iface
,
This
,
ref
);
if
(
!
ref
)
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
@@ -954,7 +954,7 @@ static ULONG WINAPI IDirectXFileEnumObjectImpl_AddRef(IDirectXFileEnumObject* if
IDirectXFileEnumObjectImpl
*
This
=
impl_from_IDirectXFileEnumObject
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)
: AddRef from %d
\n
"
,
iface
,
This
,
ref
-
1
);
TRACE
(
"(%p/%p)
->(): new ref %d
\n
"
,
iface
,
This
,
ref
);
return
ref
;
}
...
...
@@ -964,7 +964,7 @@ static ULONG WINAPI IDirectXFileEnumObjectImpl_Release(IDirectXFileEnumObject* i
IDirectXFileEnumObjectImpl
*
This
=
impl_from_IDirectXFileEnumObject
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)
: ReleaseRef to
%d
\n
"
,
iface
,
This
,
ref
);
TRACE
(
"(%p/%p)
->(): new ref
%d
\n
"
,
iface
,
This
,
ref
);
if
(
!
ref
)
{
...
...
@@ -1144,7 +1144,7 @@ static ULONG WINAPI IDirectXFileSaveObjectImpl_AddRef(IDirectXFileSaveObject* if
IDirectXFileSaveObjectImpl
*
This
=
impl_from_IDirectXFileSaveObject
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)
: AddRef from %d
\n
"
,
iface
,
This
,
ref
-
1
);
TRACE
(
"(%p/%p)
->(): new ref %d
\n
"
,
iface
,
This
,
ref
);
return
ref
;
}
...
...
@@ -1154,7 +1154,7 @@ static ULONG WINAPI IDirectXFileSaveObjectImpl_Release(IDirectXFileSaveObject* i
IDirectXFileSaveObjectImpl
*
This
=
impl_from_IDirectXFileSaveObject
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)
: ReleaseRef to
%d
\n
"
,
iface
,
This
,
ref
);
TRACE
(
"(%p/%p)
->(): new ref
%d
\n
"
,
iface
,
This
,
ref
);
if
(
!
ref
)
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
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