source: trunk/src/win32k/kKrnlLib/include/dev1632.h

Last change on this file was 9514, checked in by bird, 23 years ago

Cleanup/Backup.

File size: 1.7 KB
Line 
1/* $Id: dev1632.h,v 1.3 2002-12-16 02:25:06 bird Exp $
2 * dev1632.h - Common header file for 16-bit and 32-bit C
3 *
4 * Copyright (c) 1999 knut st. osmundsen
5 *
6 */
7
8#ifndef _dev1632_h_
9#define _dev1632_h_
10
11#pragma pack(1)
12
13typedef struct _RPH32
14{
15 UCHAR Len;
16 UCHAR Unit;
17 UCHAR Cmd;
18 USHORT Status;
19 UCHAR Flags;
20 UCHAR Reserved_1[3];
21 ULONG Link;
22} RPH32;
23
24typedef struct _RP32INIT
25{
26 RPH32 rph;
27 UCHAR Unit;
28 ULONG DevHlpEP; /* 16 bit far pointer */
29 PSZ InitArgs;
30 UCHAR DriveNum;
31} RP32INIT;
32
33typedef struct _RP32GENIOCTL
34{
35 RPH32 rph;
36 UCHAR Category;
37 UCHAR Function;
38 PVOID ParmPacket;
39 PVOID DataPacket;
40 USHORT sfn;
41 USHORT ParmLen;
42 USHORT DataLen;
43} RP32GENIOCTL, *PRP32GENIOCTL;
44
45typedef struct _RP32OPENCLOSE
46{
47 RPH32 rph;
48 USHORT sfn;
49} RP32OPENCLOSE, *PRP32OPENCLOSE;
50
51#ifdef _OS2KLDR_H_
52
53
54#define MAXKRNLOBJECTS 24
55typedef struct _KRNLINFO
56{
57 unsigned long ulBuild;
58 unsigned short fKernel;
59 unsigned char cObjects;
60 unsigned char chPadding;
61 OTE aObjects[MAXKRNLOBJECTS];
62} KRNLINFO, FAR * PKRNLINFO;
63
64#else
65
66#define PKRNLINFO void *
67
68#endif
69
70typedef struct _LKE32PARAM
71{
72 unsigned short usBuild;
73 unsigned short fKernel;
74 unsigned char cObjects;
75} LKE32PARAM, *PLKE32PARAM;
76
77#pragma pack()
78
79
80/*
81 * Global data...
82 */
83extern CHAR szBuildDate[];
84extern CHAR szBuildTime[];
85#if defined(__IBMC__) || defined(__IBMCPP__)
86 #pragma map( szBuildDate , "_szBuildDate" )
87 #pragma map( szBuildTime , "_szBuildTime" )
88#endif
89
90#endif
Note: See TracBrowser for help on using the repository browser.