source: trunk/src/win32k/include/probkrnl.h@ 2013

Last change on this file since 2013 was 1678, checked in by bird, 26 years ago

Some bugsfixes - Yield is disabled.
Added parameters.
Correcte moduleheaders.
Introduced a new base class for virtual lx modules + some elf sketches.

File size: 2.3 KB
Line 
1/* $Id: probkrnl.h,v 1.3 1999-11-10 01:45:33 bird Exp $
2 *
3 * Include file for ProbKrnl.
4 *
5 * Copyright (c) 1998-1999 knut st. osmundsen
6 *
7 * Project Odin Software License can be found in LICENSE.TXT
8 *
9 */
10
11
12#ifndef _ProbKrnl_h_
13#define _ProbKrnl_h_
14
15/*******************************************************************************
16* Defined Constants And Macros *
17*******************************************************************************/
18#define NUMBER_OF_PROCS 4 /* remeber to sync this with ldr_functions.h and dev32_start.asm */
19
20/* indexes into the _ProcTab/ProcTab table */
21#define iLDRREAD 0
22#define iLDROPEN 1
23#define iLDRCLOSE 2
24#define iLDRQAPPTYPE 3
25
26#define MAX_LENGTH_NAME 32
27
28/* entry-point type flag */
29#define EPT_PROC 0 /* procedure */
30#define EPT_VAR 1 /* variable/non-procedure */
31
32
33/*******************************************************************************
34* Structures and Typedefs *
35*******************************************************************************/
36#pragma pack(1)
37typedef struct tagPROCS
38{
39 unsigned char fFound;
40 unsigned char iObject;
41 unsigned short int cchName;
42 unsigned char achName[MAX_LENGTH_NAME];
43 unsigned long int offObject;
44 unsigned long int ulAddress;
45 unsigned char fType;
46} PROCS;
47#pragma pack()
48
49
50
51/*******************************************************************************
52* Global Variables *
53* NOTE! These are only available at init time! *
54*******************************************************************************/
55extern PROCS _aProcTab[NUMBER_OF_PROCS]; /* 'aProcTab' in PrbKrnl.c */
56extern unsigned long int _ulBuild; /* 'ulBuild' in PrbKrnl.c */
57extern unsigned long int _fInitSuccess; /* 'fInitSuccess' in PrbKrnl.c */
58extern unsigned long int _usVerMajor; /* 'usVerMajor' in PrbKrnl.c */
59extern unsigned long int _usVerMinor; /* 'usVerMinor' in PrbKrnl.c */
60
61#ifdef INCL_16 /* 16-bit only */
62int ProbeKernel(PRPINITIN pReqPack);
63#endif
64
65#endif
66
Note: See TracBrowser for help on using the repository browser.