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

Last change on this file since 8266 was 6226, checked in by bird, 24 years ago

Declared the 32-bit openclose request packet.

File size: 1.5 KB
Line 
1/* $Id: dev1632.h,v 1.8 2001-07-08 03:03:51 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
70#pragma pack()
71
72
73/*
74 * Global data...
75 */
76extern CHAR DATA16_GLOBAL szBuildDate[];
77extern CHAR DATA16_GLOBAL szBuildTime[];
78#if defined(__IBMC__) || defined(__IBMCPP__)
79 #pragma map( szBuildDate , "_szBuildDate" )
80 #pragma map( szBuildTime , "_szBuildTime" )
81#endif
82
83#endif
Note: See TracBrowser for help on using the repository browser.