Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
03776ec9
Commit
03776ec9
authored
May 17, 2005
by
Dimi Paun
Committed by
Alexandre Julliard
May 17, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use standard TRACE macro.
parent
733a0333
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
gdiobj.c
dlls/gdi/gdiobj.c
+5
-9
No files found.
dlls/gdi/gdiobj.c
View file @
03776ec9
...
...
@@ -553,10 +553,6 @@ static HFONT create_stock_font( char const *fontName, const LOGFONTW *font, HKEY
}
#define TRACE_SEC(handle,text) \
TRACE("(%p): " text " %ld\n", (handle), GDI_level.crst.RecursionCount)
/***********************************************************************
* inc_ref_count
*
...
...
@@ -740,7 +736,7 @@ void *GDI_AllocObject( WORD size, WORD magic, HGDIOBJ *handle, const struct gdi_
obj
->
funcs
=
funcs
;
obj
->
hdcs
=
NULL
;
TRACE
_SEC
(
*
handle
,
"enter"
);
TRACE
(
"(%p): enter %ld
\n
"
,
*
handle
,
GDI_level
.
crst
.
RecursionCount
);
return
obj
;
error:
...
...
@@ -784,7 +780,7 @@ void *GDI_ReallocObject( WORD size, HGDIOBJ handle, void *object )
}
else
ERR
(
"Invalid handle %p
\n
"
,
handle
);
}
TRACE
_SEC
(
handle
,
"leave"
);
TRACE
(
"(%p): leave %ld
\n
"
,
handle
,
GDI_level
.
crst
.
RecursionCount
);
_LeaveSysLevel
(
&
GDI_level
);
return
NULL
;
}
...
...
@@ -815,7 +811,7 @@ BOOL GDI_FreeObject( HGDIOBJ handle, void *ptr )
}
else
ERR
(
"Invalid handle %p
\n
"
,
handle
);
}
TRACE
_SEC
(
handle
,
"leave"
);
TRACE
(
"(%p): leave %ld
\n
"
,
handle
,
GDI_level
.
crst
.
RecursionCount
);
_LeaveSysLevel
(
&
GDI_level
);
return
TRUE
;
}
...
...
@@ -864,7 +860,7 @@ void *GDI_GetObjPtr( HGDIOBJ handle, WORD magic )
_LeaveSysLevel
(
&
GDI_level
);
WARN
(
"Invalid handle %p
\n
"
,
handle
);
}
else
TRACE
_SEC
(
handle
,
"enter"
);
else
TRACE
(
"(%p): enter %ld
\n
"
,
handle
,
GDI_level
.
crst
.
RecursionCount
);
return
ptr
;
}
...
...
@@ -877,7 +873,7 @@ void *GDI_GetObjPtr( HGDIOBJ handle, WORD magic )
void
GDI_ReleaseObj
(
HGDIOBJ
handle
)
{
if
((
UINT_PTR
)
handle
&
2
)
LOCAL_Unlock
(
GDI_HeapSel
,
LOWORD
(
handle
)
);
TRACE
_SEC
(
handle
,
"leave"
);
TRACE
(
"(%p): leave %ld
\n
"
,
handle
,
GDI_level
.
crst
.
RecursionCount
);
_LeaveSysLevel
(
&
GDI_level
);
}
...
...
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