mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 07:41:51 +00:00
[FORMATTING]
- Apply consistent indentation svn path=/trunk/; revision=47003
This commit is contained in:
parent
14347c75ad
commit
ee1d26e73c
1 changed files with 102 additions and 96 deletions
|
@ -17,8 +17,10 @@
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS NTAPI
|
||||
RtlFindMessage(PVOID BaseAddress,
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
RtlFindMessage(
|
||||
PVOID BaseAddress,
|
||||
ULONG Type,
|
||||
ULONG Language,
|
||||
ULONG MessageId,
|
||||
|
@ -90,7 +92,8 @@ RtlFindMessage(PVOID BaseAddress,
|
|||
return STATUS_MESSAGE_NOT_FOUND;
|
||||
}
|
||||
|
||||
MessageEntry = (PRTL_MESSAGE_RESOURCE_ENTRY)((PUCHAR)MessageTable + MessageTable->Blocks[i].OffsetToEntries);
|
||||
MessageEntry = (PRTL_MESSAGE_RESOURCE_ENTRY)
|
||||
((PUCHAR)MessageTable + MessageTable->Blocks[i].OffsetToEntries);
|
||||
|
||||
DPRINT("EntryOffset 0x%08lx\n", EntryOffset);
|
||||
DPRINT("IdOffset 0x%08lx\n", IdOffset);
|
||||
|
@ -98,7 +101,8 @@ RtlFindMessage(PVOID BaseAddress,
|
|||
DPRINT("MessageEntry: %p\n", MessageEntry);
|
||||
for (i = 0; i < IdOffset; i++)
|
||||
{
|
||||
MessageEntry = (PRTL_MESSAGE_RESOURCE_ENTRY)((PUCHAR)MessageEntry + (ULONG)MessageEntry->Length);
|
||||
MessageEntry = (PRTL_MESSAGE_RESOURCE_ENTRY)
|
||||
((PUCHAR)MessageEntry + (ULONG)MessageEntry->Length);
|
||||
}
|
||||
|
||||
if (MessageEntry->Flags == 0)
|
||||
|
@ -139,8 +143,10 @@ RtlFindMessage(PVOID BaseAddress,
|
|||
*
|
||||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS NTAPI
|
||||
RtlFormatMessage(PWSTR Message,
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
RtlFormatMessage(
|
||||
PWSTR Message,
|
||||
UCHAR MaxWidth,
|
||||
BOOLEAN IgnoreInserts,
|
||||
BOOLEAN Ansi,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue