Changeset 4347 for trunk/src/win32k/include/probkrnl.h
- Timestamp:
- Oct 1, 2000, 4:58:21 AM (25 years ago)
- File:
-
- 1 edited
-
trunk/src/win32k/include/probkrnl.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/include/probkrnl.h
r4185 r4347 1 /* $Id: probkrnl.h,v 1.1 5 2000-09-04 16:40:50bird Exp $1 /* $Id: probkrnl.h,v 1.16 2000-10-01 02:58:17 bird Exp $ 2 2 * 3 3 * Include file for ProbKrnl. … … 16 16 * Defined Constants And Macros * 17 17 *******************************************************************************/ 18 #define NBR_OF_KRNLIMPORTS 42 /* When this is changed make sure to */ 19 /* update the arrays in d32init.c and */ 20 /* probkrnl.c, make test faker in */ 21 /* test.h and the appropriate fake.c */ 22 /* fakea.asm. */ 18 #define NBR_OF_KRNLIMPORTS 40 /* When this is changed make sure to */ 19 /* update the aImportTab in probkrnl.c */ 20 /* and make test faker in test.h and */ 21 /* the appropriate fake.c fakea.asm. */ 23 22 #define MAX_LENGTH_NAME 32 /* Max length for the function. */ 24 23 … … 28 27 #define EPT_VARIMPORT 0x02 /* variable/non-procedure 32bit */ 29 28 #define EPT_NOT_REQ 0x04 /* Not required flag. */ 29 #define EPTNotReq(a) (((a).fType & (EPT_NOT_REQ)) == EPT_NOT_REQ) 30 #define EPT_WRAPPED 0x40 /* Wrapped due - differs between builds */ 31 #define EPTWrapped(a) (((a).fType & (EPT_WRAPPED)) == EPT_WRAPPED) 30 32 #define EPT_32BIT 0x00 /* 32 bit entry-point */ 31 33 #define EPT_16BIT 0x80 /* 16 bit entry-point */ 32 34 #define EPT_BIT_MASK 0x80 /* Mask bit entry-point */ 33 #define EPT16BitEntry(a) (((a).fType & EPT_BIT_MASK) == EPT_16BIT)34 #define EPT32BitEntry(a) (((a).fType & EPT_BIT_MASK) == EPT_32BIT)35 #define EPT16BitEntry(a) (((a).fType & EPT_BIT_MASK) == EPT_16BIT) 36 #define EPT32BitEntry(a) (((a).fType & EPT_BIT_MASK) == EPT_32BIT) 35 37 36 38 /* 32bit types */ … … 39 41 #define EPT_PROCIMPORTNR32 (EPT_PROCIMPORT | EPT_32BIT | EPT_NOT_REQ) 40 42 #define EPT_VARIMPORT32 (EPT_VARIMPORT | EPT_32BIT) 43 #define EPT32Proc(a) (((a).fType & ~(EPT_WRAPPED)) == EPT_PROC32) 44 #define EPT32ProcImport(a) (((a).fType & ~(EPT_WRAPPED)) == EPT_PROCIMPORT32) 45 #define EPT32ProcImportNR(a) (((a).fType & ~(EPT_WRAPPED)) == EPT_PROCIMPORTNR32) 46 #define EPT32VarImport(a) (((a).fType & ~(EPT_WRAPPED)) == EPT_VARIMPORT32) 41 47 42 48 /* 16bit types */ 43 49 #define EPT_PROC16 (EPT_PROC | EPT_16BIT) /* no implemented yet! */ 44 50 #define EPT_PROCIMPORT16 (EPT_PROCIMPORT | EPT_16BIT) /* far proc in calltab with a far jmp. */ 51 #define EPT_PROCIMPORTNR16 (EPT_PROCIMPORT | EPT_16BIT | EPT_NOT_REQ) 45 52 #define EPT_VARIMPORT16 (EPT_VARIMPORT | EPT_16BIT) 53 #define EPT16Proc(a) (((a).fType & ~(EPT_WRAPPED)) == EPT_PROC16) 54 #define EPT16ProcImport(a) (((a).fType & ~(EPT_WRAPPED)) == EPT_PROCIMPORT16) 55 #define EPT16ProcImportNR(a) (((a).fType & ~(EPT_WRAPPED)) == EPT_PROCIMPORTNR16) 56 #define EPT16VarImport(a) (((a).fType & ~(EPT_WRAPPED)) == EPT_VARIMPORT16) 46 57 47 58 … … 64 75 unsigned short int cchName; /* Length of the name (optmize search) (INPUT) */ 65 76 unsigned char achName[MAX_LENGTH_NAME]; /* Name (INPUT) */ 77 unsigned char achExtra[4]; /* Parameter extra. */ 66 78 unsigned long int offObject; /* Offset into the object */ 67 79 unsigned long int ulAddress; /* 32-bit flat address */
Note:
See TracChangeset
for help on using the changeset viewer.
