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
46487282
Commit
46487282
authored
Aug 26, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed debugstr_as/us prototypes.
parent
34965563
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
misc.c
dlls/ntdll/misc.c
+6
-6
ntdll_misc.h
dlls/ntdll/ntdll_misc.h
+2
-2
No files found.
dlls/ntdll/misc.c
View file @
46487282
...
...
@@ -47,16 +47,16 @@ void dump_UnicodeString(PUNICODE_STRING us, BOOLEAN showstring)
}
}
LPCSTR
debugstr_as
(
PANSI_STRING
us
)
LPCSTR
debugstr_as
(
const
STRING
*
str
)
{
if
(
!
us
)
return
NULL
;
return
debugstr_an
(
us
->
Buffer
,
us
->
Length
);
if
(
!
str
)
return
"<null>"
;
return
debugstr_an
(
str
->
Buffer
,
str
->
Length
);
}
LPCSTR
debugstr_us
(
PUNICODE_STRING
us
)
LPCSTR
debugstr_us
(
const
UNICODE_STRING
*
us
)
{
if
(
!
us
)
return
NULL
;
return
debugstr_wn
(
us
->
Buffer
,
us
->
Length
);
if
(
!
us
)
return
"<null>"
;
return
debugstr_wn
(
us
->
Buffer
,
us
->
Length
);
}
/*********************************************************************
...
...
dlls/ntdll/ntdll_misc.h
View file @
46487282
...
...
@@ -5,8 +5,8 @@
#include "winnt.h"
/* debug helper */
extern
LPCSTR
debugstr_as
(
PANSI_STRING
us
);
extern
LPCSTR
debugstr_us
(
PUNICODE_STRING
us
);
extern
LPCSTR
debugstr_as
(
const
STRING
*
str
);
extern
LPCSTR
debugstr_us
(
const
UNICODE_STRING
*
str
);
extern
void
dump_ObjectAttributes
(
POBJECT_ATTRIBUTES
ObjectAttributes
);
extern
void
dump_AnsiString
(
PANSI_STRING
as
,
BOOLEAN
showstring
);
extern
void
dump_UnicodeString
(
PUNICODE_STRING
us
,
BOOLEAN
showstring
);
...
...
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