source: sbliveos2/trunk/drv16/header.c@ 142

Last change on this file since 142 was 142, checked in by ktk, 25 years ago

Import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1/* $Id: header.c 142 2000-04-23 14:55:46Z ktk $ */
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
31void __far StrategyHandler(void);
32void __far StrategyHandler2(void);
33ULONG __far __loadds __cdecl DDCMD_EntryPoint(void);
34
35DEV_HEADER header[2] = {
36 { -1,
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};
Note: See TracBrowser for help on using the repository browser.