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

Last change on this file since 2502 was 2501, checked in by bird, 26 years ago

Temporary backup checkin.

File size: 2.1 KB
Line 
1/* $Id: probkrnl.h,v 1.4 2000-01-22 18:21:01 bird Exp $
2 *
3 * Include file for ProbKrnl.
4 *
5 * Copyright (c) 1998-2000 knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
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 10
19#define MAX_LENGTH_NAME 32
20
21/* entry-point type flag */
22#define EPT_PROC 0 /* procedure - overload procedure*/
23#define EPT_PROCIMPORT 1 /* procedure - import only */
24#define EPT_VAR 2 /* variable/non-procedure - not implemented yet */
25
26
27/*******************************************************************************
28* Structures and Typedefs *
29*******************************************************************************/
30#pragma pack(1)
31typedef struct tagPROCS
32{
33 unsigned char fFound;
34 unsigned char iObject;
35 unsigned short int cchName;
36 unsigned char achName[MAX_LENGTH_NAME];
37 unsigned long int offObject;
38 unsigned long int ulAddress;
39 unsigned char fType;
40} PROCS;
41#pragma pack()
42
43
44
45/*******************************************************************************
46* Global Variables *
47* NOTE! These are only available at init time! *
48*******************************************************************************/
49extern PROCS _aProcTab[NUMBER_OF_PROCS]; /* 'aProcTab' in PrbKrnl.c */
50extern unsigned long int _ulBuild; /* 'ulBuild' in PrbKrnl.c */
51extern unsigned short int _usVerMajor; /* 'usVerMajor' in PrbKrnl.c */
52extern unsigned short int _usVerMinor; /* 'usVerMinor' in PrbKrnl.c */
53
54#ifdef INCL_16 /* 16-bit only */
55int ProbeKernel(PRPINITIN pReqPack);
56#endif
57
58#endif
59
Note: See TracBrowser for help on using the repository browser.