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

Last change on this file since 1504 was 1467, checked in by bird, 26 years ago

Corrections to make win32k work.
(And now it does work, at least at my test machine...)

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