source: trunk/src/win32k/include/dev1632.h@ 4164

Last change on this file since 4164 was 4164, checked in by bird, 25 years ago

Merged in the Grace branch. New Win32k!

File size: 1.4 KB
Line 
1/* $Id: dev1632.h,v 1.6 2000-09-02 21:08:00 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
45
46#ifdef _OS2Krnl_h_
47
48
49#define MAXKRNLOBJECTS 24
50typedef struct _KRNLINFO
51{
52 unsigned long ulBuild;
53 unsigned short fKernel;
54 unsigned char cObjects;
55 unsigned char chPadding;
56 OTE aObjects[MAXKRNLOBJECTS];
57} KRNLINFO, FAR * PKRNLINFO;
58
59#else
60
61#define PKRNLINFO void *
62
63#endif
64
65#pragma pack()
66
67
68/*
69 * Global data...
70 */
71extern CHAR DATA16_GLOBAL szBuildDate[];
72extern CHAR DATA16_GLOBAL szBuildTime[];
73#if defined(__IBMC__) || defined(__IBMCPP__)
74 #pragma map( szBuildDate , "_szBuildDate" )
75 #pragma map( szBuildTime , "_szBuildTime" )
76#endif
77
78#endif
Note: See TracBrowser for help on using the repository browser.