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
abae88a8
Commit
abae88a8
authored
May 13, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
May 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Add string format traces.
parent
0f80aa88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
stringformat.c
dlls/gdiplus/stringformat.c
+16
-0
No files found.
dlls/gdiplus/stringformat.c
View file @
abae88a8
...
@@ -35,6 +35,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
...
@@ -35,6 +35,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
GpStatus
WINGDIPAPI
GdipCreateStringFormat
(
INT
attr
,
LANGID
lang
,
GpStatus
WINGDIPAPI
GdipCreateStringFormat
(
INT
attr
,
LANGID
lang
,
GpStringFormat
**
format
)
GpStringFormat
**
format
)
{
{
TRACE
(
"(%i, %x, %p)
\n
"
,
attr
,
lang
,
format
);
if
(
!
format
)
if
(
!
format
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -189,6 +191,8 @@ GpStatus WINGDIPAPI GdipGetStringFormatTrimming(GpStringFormat *format,
...
@@ -189,6 +191,8 @@ GpStatus WINGDIPAPI GdipGetStringFormatTrimming(GpStringFormat *format,
GpStatus
WINGDIPAPI
GdipSetStringFormatAlign
(
GpStringFormat
*
format
,
GpStatus
WINGDIPAPI
GdipSetStringFormatAlign
(
GpStringFormat
*
format
,
StringAlignment
align
)
StringAlignment
align
)
{
{
TRACE
(
"(%p, %i)
\n
"
,
format
,
align
);
if
(
!
format
)
if
(
!
format
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -201,6 +205,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatAlign(GpStringFormat *format,
...
@@ -201,6 +205,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatAlign(GpStringFormat *format,
GpStatus
WINGDIPAPI
GdipSetStringFormatDigitSubstitution
(
GpStringFormat
*
format
,
GpStatus
WINGDIPAPI
GdipSetStringFormatDigitSubstitution
(
GpStringFormat
*
format
,
LANGID
language
,
StringDigitSubstitute
substitute
)
LANGID
language
,
StringDigitSubstitute
substitute
)
{
{
TRACE
(
"(%p, %x, %i)
\n
"
,
format
,
language
,
substitute
);
if
(
!
format
)
if
(
!
format
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -213,6 +219,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatDigitSubstitution(GpStringFormat *format,
...
@@ -213,6 +219,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatDigitSubstitution(GpStringFormat *format,
GpStatus
WINGDIPAPI
GdipSetStringFormatHotkeyPrefix
(
GpStringFormat
*
format
,
GpStatus
WINGDIPAPI
GdipSetStringFormatHotkeyPrefix
(
GpStringFormat
*
format
,
INT
hkpx
)
INT
hkpx
)
{
{
TRACE
(
"(%p, %i)
\n
"
,
format
,
hkpx
);
if
(
!
format
||
hkpx
<
0
||
hkpx
>
2
)
if
(
!
format
||
hkpx
<
0
||
hkpx
>
2
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -224,6 +232,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat *format,
...
@@ -224,6 +232,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat *format,
GpStatus
WINGDIPAPI
GdipSetStringFormatLineAlign
(
GpStringFormat
*
format
,
GpStatus
WINGDIPAPI
GdipSetStringFormatLineAlign
(
GpStringFormat
*
format
,
StringAlignment
align
)
StringAlignment
align
)
{
{
TRACE
(
"(%p, %i)
\n
"
,
format
,
align
);
if
(
!
format
)
if
(
!
format
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -246,6 +256,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatMeasurableCharacterRanges(GpStringFormat*
...
@@ -246,6 +256,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatMeasurableCharacterRanges(GpStringFormat*
GpStatus
WINGDIPAPI
GdipSetStringFormatTabStops
(
GpStringFormat
*
format
,
REAL
firsttab
,
GpStatus
WINGDIPAPI
GdipSetStringFormatTabStops
(
GpStringFormat
*
format
,
REAL
firsttab
,
INT
count
,
GDIPCONST
REAL
*
tabs
)
INT
count
,
GDIPCONST
REAL
*
tabs
)
{
{
TRACE
(
"(%p, %0.2f, %i, %p)
\n
"
,
format
,
firsttab
,
count
,
tabs
);
if
(
!
format
||
!
tabs
)
if
(
!
format
||
!
tabs
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -276,6 +288,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatTabStops(GpStringFormat *format, REAL fir
...
@@ -276,6 +288,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatTabStops(GpStringFormat *format, REAL fir
GpStatus
WINGDIPAPI
GdipSetStringFormatTrimming
(
GpStringFormat
*
format
,
GpStatus
WINGDIPAPI
GdipSetStringFormatTrimming
(
GpStringFormat
*
format
,
StringTrimming
trimming
)
StringTrimming
trimming
)
{
{
TRACE
(
"(%p, %i)
\n
"
,
format
,
trimming
);
if
(
!
format
)
if
(
!
format
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -286,6 +300,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatTrimming(GpStringFormat *format,
...
@@ -286,6 +300,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatTrimming(GpStringFormat *format,
GpStatus
WINGDIPAPI
GdipSetStringFormatFlags
(
GpStringFormat
*
format
,
INT
flags
)
GpStatus
WINGDIPAPI
GdipSetStringFormatFlags
(
GpStringFormat
*
format
,
INT
flags
)
{
{
TRACE
(
"(%p, %x)
\n
"
,
format
,
flags
);
if
(
!
format
)
if
(
!
format
)
return
InvalidParameter
;
return
InvalidParameter
;
...
...
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