home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ddkx86v1.zip
/
DDKX86
/
H
/
DEVCLASS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-04-14
|
2KB
|
50 lines
/*DDK*************************************************************************/
/* */
/* COPYRIGHT Copyright (C) 1995 IBM Corporation */
/* */
/* The following IBM OS/2 WARP source code is provided to you solely for */
/* the purpose of assisting you in your development of OS/2 WARP device */
/* drivers. You may use this code in accordance with the IBM License */
/* Agreement provided in the IBM Device Driver Source Kit for OS/2. This */
/* Copyright statement may not be removed. */
/* */
/*****************************************************************************/
/*static char *SCCSID = "@(#)devclass.h 6.2 92/05/08";*/
/*
*
*/
/*
* Device Class Structure - returned by dh_GetDOSVar when
* AL=DHGETDOSV_DEVICECLASSTABLE and CX = device_class
*
*/
#define MAXDEVCLASSNAMELEN 16 /* Maximum length of the DevClass Name */
#define MAXDEVCLASSTABLES 2 /* Maximum number of DevClass tables */
#define MAXDISKDCENTRIES 32 /* Maximum number of entries in DISK table */
#define MAXMOUSEDCENTRIES 3 /* Maximum number of entries in Mouse table */
/* structures for the DeviceClassTable */
struct DevClassTableEntry {
USHORT DCOffset;
USHORT DCSelector;
USHORT DCFlags;
UCHAR DCName[MAXDEVCLASSNAMELEN];
};
struct DevClassTableStruc {
USHORT DCCount;
USHORT DCMaxCount;
struct DevClassTableEntry DCTableEntries[1];
};