| 1 | /* $Id: header.c 168 2001-03-23 17:14:13Z sandervl $ */
|
|---|
| 2 |
|
|---|
| 3 | /* SCCSID = %W% %E% */
|
|---|
| 4 | /****************************************************************************
|
|---|
| 5 | * *
|
|---|
| 6 | * Copyright (c) IBM Corporation 1994 - 1997. *
|
|---|
| 7 | * *
|
|---|
| 8 | * The following IBM OS/2 source code is provided to you solely for the *
|
|---|
| 9 | * the purpose of assisting you in your development of OS/2 device drivers. *
|
|---|
| 10 | * You may use this code in accordance with the IBM License Agreement *
|
|---|
| 11 | * provided in the IBM Device Driver Source Kit for OS/2. *
|
|---|
| 12 | * *
|
|---|
| 13 | ****************************************************************************/
|
|---|
| 14 | /**@internal %W%
|
|---|
| 15 | * @notes
|
|---|
| 16 | * The Device Driver Header
|
|---|
| 17 | * @version %I%
|
|---|
| 18 | * @context Unless otherwise noted, all interfaces are Ring-0, 16-bit,
|
|---|
| 19 | * <stack context>.
|
|---|
| 20 | * @history
|
|---|
| 21 | *
|
|---|
| 22 | */
|
|---|
| 23 | #pragma code_seg ("_inittext");
|
|---|
| 24 | #pragma data_seg ("_header","data");
|
|---|
| 25 |
|
|---|
| 26 | #define INCL_NOPMAPI
|
|---|
| 27 | #include <os2.h>
|
|---|
| 28 |
|
|---|
| 29 | #include "header.h"
|
|---|
| 30 |
|
|---|
| 31 | void __far StrategyHandler(void);
|
|---|
| 32 | void __far StrategyHandler2(void);
|
|---|
| 33 | ULONG __far __loadds __cdecl DDCMD_EntryPoint(void);
|
|---|
| 34 |
|
|---|
| 35 | DEV_HEADER header[2] = {
|
|---|
| 36 | { sizeof(DEV_HEADER),
|
|---|
| 37 | DA_CHAR | DA_IDCSET | DA_NEEDOPEN | DA_USESCAP,
|
|---|
| 38 | (PFNENTRY) StrategyHandler,
|
|---|
| 39 | (PFNENTRY) DDCMD_EntryPoint,
|
|---|
| 40 | {'S','B','L','I','V','E','1','$'},
|
|---|
| 41 | 0,0,
|
|---|
| 42 | DC_INITCPLT | DC_IOCTL2 | DC_32BIT
|
|---|
| 43 | },
|
|---|
| 44 | { -1,
|
|---|
| 45 | DA_CHAR | DA_IDCSET | DA_NEEDOPEN | DA_USESCAP,
|
|---|
| 46 | (PFNENTRY) StrategyHandler2,
|
|---|
| 47 | (PFNENTRY) 0,
|
|---|
| 48 | {'D','A','U','D','I','O','1','$'},
|
|---|
| 49 | 0,0,
|
|---|
| 50 | DC_INITCPLT | DC_IOCTL2 | DC_32BIT
|
|---|
| 51 | }
|
|---|
| 52 | };
|
|---|