-; $Id: ntdll.def,v 1.126 2004/08/09 18:17:22 jimtabor Exp $
+; $Id: ntdll.def,v 1.127 2004/08/11 09:30:23 ekohl Exp $
;
; ReactOS Operating System
;
NtPrivilegeObjectAuditAlarm@24
NtProtectVirtualMemory@20
NtPulseEvent@8
-NtQueryAttributesFile@8
-NtQueryDefaultLocale@8
-NtQueryDirectoryFile@44
+NtQueryAttributesFile@8
+NtQueryDefaultLocale@8
+NtQueryDirectoryFile@44
NtQueryDirectoryObject@28
NtQueryEaFile@36
NtQueryEvent@20
RtlFirstFreeAce@8
;RtlFlushPropertySet
RtlFormatCurrentUserKeyPath@4
-;RtlFormatMessage@36
+RtlFormatMessage@32
RtlFreeAnsiString@4
RtlFreeHandle@8
RtlFreeHeap@12
-; $Id: ntdll.edf,v 1.116 2004/08/09 18:17:22 jimtabor Exp $
+; $Id: ntdll.edf,v 1.117 2004/08/11 09:30:23 ekohl Exp $
;
; ReactOS Operating System
;
RtlDeleteAtomFromAtomTable=RtlDeleteAtomFromAtomTable@8
RtlDeleteCriticalSection=RtlDeleteCriticalSection@4
RtlDuplicateUnicodeString=RtlDuplicateUnicodeString@12
-RtlSetCriticalSectionSpinCount=RtlSetCriticalSectionSpinCount@8
;RtlDeleteElementGenericTable
;RtlDeleteNoSplay
RtlDeleteOwnersRanges=RtlDeleteOwnersRanges@8
RtlFirstFreeAce=RtlFirstFreeAce@8
;RtlFlushPropertySet
RtlFormatCurrentUserKeyPath=RtlFormatCurrentUserKeyPath@4
-;RtlFormatMessage
+RtlFormatMessage=RtlFormatMessage@32
RtlFreeAnsiString=RtlFreeAnsiString@4
RtlFreeHandle=RtlFreeHandle@8
RtlFreeHeap=RtlFreeHeap@12
;RtlQueryPropertyNames
;RtlQueryPropertySet
RtlQueryRegistryValues=RtlQueryRegistryValues@20
-;RtlQuerySecutityObject
+;RtlQuerySecurityObject
;RtlQueryTagHeap
RtlQueryTimeZoneInformation=RtlQueryTimeZoneInformation@4
RtlRaiseException=RtlRaiseException@4
RtlSetAllBits=RtlSetAllBits@4
;RtlSetAttributesSecurityDescriptor
RtlSetBits=RtlSetBits@12
+RtlSetCriticalSectionSpinCount=RtlSetCriticalSectionSpinCount@8
RtlSetCurrentDirectory_U=RtlSetCurrentDirectory_U@4
RtlSetCurrentEnvironment=RtlSetCurrentEnvironment@8
RtlSetDaclSecurityDescriptor=RtlSetDaclSecurityDescriptor@16
-/* $Id: message.c,v 1.6 2004/07/03 17:40:23 navaraf Exp $
+/* $Id: message.c,v 1.7 2004/08/11 09:30:04 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* PURPOSE: Message table functions
* FILE: lib/ntdll/rtl/message.c
- * PROGRAMER: Eric Kohl <ekohl@zr-online.de>
+ * PROGRAMER: Eric Kohl
* REVISION HISTORY:
* 29/05/2001: Created
*/
/* FUNCTIONS *****************************************************************/
+/*
+ * @implemented
+ */
NTSTATUS STDCALL
RtlFindMessage(PVOID BaseAddress,
ULONG Type,
&ResourceDataEntry);
if (!NT_SUCCESS(Status))
{
- return(Status);
+ return Status;
}
DPRINT("ResourceDataEntry: %p\n", ResourceDataEntry);
NULL);
if (!NT_SUCCESS(Status))
{
- return(Status);
+ return Status;
}
DPRINT("MessageTable: %p\n", MessageTable);
*MessageResourceEntry = MessageEntry;
}
- return(STATUS_SUCCESS);
+ return STATUS_SUCCESS;
}
-/*
-RtlFormatMessage
+/**********************************************************************
+ * 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 *.
+ * Arguments [I]
+ * Buffer [O] Buffer to store processed message in.
+ * BufferSize [I] Size of Buffer (in bytes?).
+ *
+ * RETURNS
+ * NTSTATUS code.
+ *
+ * @unimplemented
*/
+NTSTATUS STDCALL
+RtlFormatMessage(PWSTR Message,
+ UCHAR MaxWidth,
+ BOOLEAN IgnoreInserts,
+ BOOLEAN Ansi,
+ BOOLEAN ArgumentIsArray,
+ va_list *Arguments,
+ PWSTR Buffer,
+ ULONG BufferSize)
+{
+ DPRINT1("RtlFormatMessage(%S, %u, %s, %s, %s, %s, %p, %lu)\n",
+ Message, MaxWidth, IgnoreInserts ? "TRUE" : "FALSE", Ansi ? "TRUE" : "FALSE",
+ ArgumentIsArray ? "TRUE" : "FALSE", Arguments, Buffer, BufferSize);
+
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
/* EOF */