Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ecdb.h

Go to the documentation of this file.
00001 /*++ 00002 00003 Copyright (c) 1998 Microsoft Corporation 00004 00005 Module Name: 00006 00007 ioep.h 00008 00009 Abstract: 00010 00011 This module contains the definitions for Error Case Database. 00012 00013 Author: 00014 Michael Tsang (MikeTs) 16-Oct-1998 00015 00016 Environment: 00017 00018 Kernel mode 00019 00020 00021 Revision History: 00022 00023 00024 --*/ 00025 00026 #ifndef _ECDB_H 00027 #define _ECBD_H 00028 00029 // 00030 // Type Definitions 00031 // 00032 typedef struct _errcasedb { 00033 ULONG Signature; //signature of error case database 00034 ULONG Version; //database file format version 00035 ULONG Checksum; //checksum of error case database 00036 ULONG Length; //length of the database file 00037 ULONG ErrCaseOffset; //file offset to first error case 00038 ULONG NumErrCases; //number of error cases in database 00039 ULONG ErrIDPathBlkOffset; //file offset to ErrIDPathBlk 00040 ULONG DataBlkOffset; //file offset to DataBlk 00041 } ERRCASEDB, *PERRCASEDB; 00042 00043 typedef struct _errcase { 00044 ULONG ErrCaseID; //error case ID 00045 ULONG ErrIDPathOffset; //offset to ErrIDPath in ErrIDPathBlk 00046 ULONG NumErrIDs; //number of error IDs in ErrIDPath 00047 ULONG MethodOffset; //offset to case methods in DataBlk 00048 ULONG NumMethods; //number of case methods 00049 } ERRCASE, *PERRCASE; 00050 00051 typedef struct _method { 00052 ULONG MethodType; //method type 00053 ULONG MethodDataOffset; //offset to method data in DataBlk 00054 } METHOD, *PMETHOD; 00055 00056 typedef struct _msgarg { 00057 ULONG ErrIDIndex; //associated error ID index 00058 ULONG ArgType; //argument type 00059 ULONG ArgDataOffset; //offset to argument data in DataBlk 00060 } MSGARG, *PMSGARG; 00061 00062 typedef struct _msgdata { 00063 ULONG MsgTemplateOffset; //offset to message template in DataBlk 00064 ULONG NumArgs; //number of arguments in message 00065 MSGARG Args[1]; //array of message arguments 00066 } MSGDATA, *PMSGDATA; 00067 00068 typedef struct _handlerdata { 00069 GUID ComponentGuid; //handler module GUID 00070 ULONG HandlerIndex; //handler index of the module 00071 ULONG Param; //optional parameter 00072 } HANDLERDATA, *PHANDLERDATA; 00073 00074 #endif //ifndef _ECDB_H

Generated on Sat May 15 19:39:47 2004 for test by doxygen 1.3.7