- Remove double implementation of DebugPrint with a single correct implementation which calls DebugService, and moved DebugPrint to rtl since it can now be shared properly.
svn path=/trunk/; revision=25942
/* FUNCTIONS *****************************************************************/
-NTSTATUS
-NTAPI
-DebugService(IN ULONG Service,
- IN PVOID Buffer,
- IN ULONG Length,
- IN PVOID Argument1,
- IN PVOID Argument2);
-
-NTSTATUS
-NTAPI
-DebugPrint(IN PANSI_STRING DebugString,
- IN ULONG ComponentId,
- IN ULONG Level)
-{
- /* Call the INT2D Service */
- return DebugService(BREAKPOINT_PRINT,
- DebugString->Buffer,
- DebugString->Length,
- UlongToPtr(ComponentId),
- UlongToPtr(Level));
-}
-
/*
* @implemented
*/
/* PRIVATE FUNCTIONS ********************************************************/
-#if 0
NTSTATUS
NTAPI
DebugPrint(IN PANSI_STRING DebugString,
DebugString->Buffer,
DebugString->Length,
UlongToPtr(ComponentId),
- UlongToPtr(Level));
+ UlongToPtr(Level));
}
-#else
-NTSTATUS
-NTAPI
-DebugPrint(IN PANSI_STRING DebugString,
- IN ULONG ComponentId,
- IN ULONG Level);
-#endif
NTSTATUS
NTAPI
/* FUNCTIONS *****************************************************************/
-NTSTATUS
-NTAPI
-DebugPrint(IN PANSI_STRING DebugString,
- IN ULONG ComponentId,
- IN ULONG Level)
-{
- /* Temporary hack */
- KdpPrintString(DebugString->Buffer, DebugString->Length);
- return STATUS_SUCCESS;
-}
-
/*
* @implemented
*/