2141edf17ea957fee433d1885e56ebca89d57de7
[reactos.git] / reactos / ntoskrnl / io / errlog.c
1 /* $Id: errlog.c,v 1.5 2000/04/03 21:54:38 dwelch Exp $
2 *
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: ntoskrnl/io/errlog.c
6 * PURPOSE: Error logging
7 * PROGRAMMER: David Welch (welch@cwcom.net)
8 * UPDATE HISTORY:
9 * Created 22/05/98
10 */
11
12 /* INCLUDES *****************************************************************/
13
14 #include <ddk/ntddk.h>
15
16 #include <internal/port.h>
17
18 #include <internal/debug.h>
19
20 /* TYPES *********************************************************************/
21
22 typedef struct _IO_ERROR_LOG_PACKET
23 {
24 UCHAR MajorFunctionCode;
25 UCHAR RetryCount;
26 USHORT DumpDataSize;
27 USHORT NumberOfStrings;
28 USHORT StringOffset;
29 USHORT EventCategory;
30 NTSTATUS ErrorCode;
31 ULONG UniqueErrorValue;
32 NTSTATUS FinalStatus;
33 ULONG SequenceNumber;
34 ULONG IoControlCode;
35 LARGE_INTEGER DeviceOffset;
36 ULONG DumpData[1];
37 } IO_ERROR_LOG_PACKET, *PIO_ERROR_LOG_PACKET;
38
39 /* FUNCTIONS *****************************************************************/
40
41 NTSTATUS IoInitErrorLog(VOID)
42 {
43 return(STATUS_SUCCESS);
44 }
45
46 PVOID STDCALL IoAllocateErrorLogEntry(PVOID IoObject, UCHAR EntrySize)
47 {
48 UNIMPLEMENTED;
49 }
50
51 VOID STDCALL IoWriteErrorLogEntry(PVOID ElEntry)
52 {
53 }
54
55
56 /* EOF */