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
e2490a09
Commit
e2490a09
authored
Apr 20, 2004
by
Robert Shearman
Committed by
Alexandre Julliard
Apr 20, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub and documentation for RtlFormatMessage.
parent
362ce5ea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
1 deletion
+30
-1
ntdll.spec
dlls/ntdll/ntdll.spec
+1
-1
resource.c
dlls/ntdll/resource.c
+28
-0
winternl.h
include/winternl.h
+1
-0
No files found.
dlls/ntdll/ntdll.spec
View file @
e2490a09
...
...
@@ -423,7 +423,7 @@
@ stub RtlFirstEntrySList
@ stdcall RtlFirstFreeAce(ptr ptr)
@ stdcall RtlFormatCurrentUserKeyPath(ptr)
@ st
ub RtlFormatMessage
@ st
dcall RtlFormatMessage(ptr long long long long ptr ptr long)
@ stdcall RtlFreeAnsiString(long)
@ stub RtlFreeHandle
@ stdcall RtlFreeHeap(long long long)
...
...
dlls/ntdll/resource.c
View file @
e2490a09
...
...
@@ -399,6 +399,34 @@ NTSTATUS WINAPI RtlFindMessage( HMODULE hmod, ULONG type, ULONG lang,
return
STATUS_MESSAGE_NOT_FOUND
;
}
/**********************************************************************
* RtlFormatMessage (NTDLL.@)
*
* Formats a message (similar to sprintf).
*
* PARAMS
* Message [I] Message to format.
* MaxWidth [I] Maximum width in characters of each output line.
* IgnoreInserts [I] Whether to copy the message without processing inserts.
* Ansi [I] Whether Arguments may have ANSI strings.
* ArgumentsIsArray [I] Whether Arguments is actually an array rather than a va_list *.
* Buffer [O] Buffer to store processed message in.
* BufferSize [I] Size of Buffer (in bytes?).
*
* RETURNS
* NTSTATUS code.
*/
NTSTATUS
WINAPI
RtlFormatMessage
(
LPWSTR
Message
,
UCHAR
MaxWidth
,
BOOLEAN
IgnoreInserts
,
BOOLEAN
Ansi
,
BOOLEAN
ArgumentIsArray
,
va_list
*
Arguments
,
LPWSTR
Buffer
,
ULONG
BufferSize
)
{
FIXME
(
"(%s, %u, %s, %s, %s, %p, %p, %ld)
\n
"
,
debugstr_w
(
Message
),
MaxWidth
,
IgnoreInserts
?
"TRUE"
:
"FALSE"
,
Ansi
?
"TRUE"
:
"FALSE"
,
ArgumentIsArray
?
"TRUE"
:
"FALSE"
,
Arguments
,
Buffer
,
BufferSize
);
return
STATUS_SUCCESS
;
}
/**********************************************************************
* NtQueryDefaultLocale (NTDLL.@)
...
...
include/winternl.h
View file @
e2490a09
...
...
@@ -1322,6 +1322,7 @@ ULONG WINAPI RtlFindSetBitsAndClear(PRTL_BITMAP,ULONG,ULONG);
ULONG
WINAPI
RtlFindSetRuns
(
PCRTL_BITMAP
,
PRTL_BITMAP_RUN
,
ULONG
,
BOOLEAN
);
BOOLEAN
WINAPI
RtlFirstFreeAce
(
PACL
,
PACE_HEADER
*
);
NTSTATUS
WINAPI
RtlFormatCurrentUserKeyPath
(
PUNICODE_STRING
);
NTSTATUS
WINAPI
RtlFormatMessage
(
LPWSTR
,
UCHAR
,
BOOLEAN
,
BOOLEAN
,
BOOLEAN
,
va_list
*
,
LPWSTR
,
ULONG
);
void
WINAPI
RtlFreeAnsiString
(
PANSI_STRING
);
BOOLEAN
WINAPI
RtlFreeHeap
(
HANDLE
,
ULONG
,
PVOID
);
void
WINAPI
RtlFreeOemString
(
POEM_STRING
);
...
...
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