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

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

Declared the 32-bit openclose request packet.

File size: 1.5 KB
RevLine 
[6226]1/* $Id: dev1632.h,v 1.8 2001-07-08 03:03:51 bird Exp $
[847]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
[2799]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
[6226]45typedef struct _RP32OPENCLOSE
46{
47 RPH32 rph;
48 USHORT sfn;
49} RP32OPENCLOSE, *PRP32OPENCLOSE;
[2799]50
[5086]51#ifdef _OS2KLDR_H_
[847]52
[2831]53
[847]54#define MAXKRNLOBJECTS 24
[2898]55typedef struct _KRNLINFO
[847]56{
[4164]57 unsigned long ulBuild;
58 unsigned short fKernel;
[847]59 unsigned char cObjects;
[4164]60 unsigned char chPadding;
[847]61 OTE aObjects[MAXKRNLOBJECTS];
[2898]62} KRNLINFO, FAR * PKRNLINFO;
[2799]63
64#else
65
[2898]66#define PKRNLINFO void *
[2799]67
[847]68#endif
69
70#pragma pack()
[4164]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" )
[847]81#endif
[4164]82
83#endif
Note: See TracBrowser for help on using the repository browser.