push ab8f8bd6525a0f7af95fd0a2a63931cd3569f61f
[wine/hacks.git] / include / ddk / ntddk.h
blob3ad2156f3633e2e6a7a3b4834c4d581e323d58f4
1 /*
2 * Copyright 2008 Francois Gouget for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef _NTDDK_
20 #define _NTDDK_
22 /* Note: We will probably have to duplicate everything ultimately :-( */
23 #include <ddk/wdm.h>
25 #include <excpt.h>
26 /* FIXME: #include <ntdef.h> */
27 #include <ntstatus.h>
28 /* FIXME: #include <bugcodes.h> */
29 /* FIXME: #include <ntiologc.h> */
32 typedef enum _BUS_DATA_TYPE
34 ConfigurationSpaceUndefined = -1,
35 Cmos,
36 EisaConfiguration,
37 Pos,
38 CbusConfiguration,
39 PCIConfiguration,
40 VMEConfiguration,
41 NuBusConfiguration,
42 PCMCIAConfiguration,
43 MPIConfiguration,
44 MPSAConfiguration,
45 PNPISAConfiguration,
46 MaximumBusDataType
47 } BUS_DATA_TYPE, *PBUS_DATA_TYPE;
49 typedef struct _CONFIGURATION_INFORMATION
51 ULONG DiskCount;
52 ULONG FloppyCount;
53 ULONG CdRomCount;
54 ULONG TapeCount;
55 ULONG ScsiPortCount;
56 ULONG SerialCount;
57 ULONG ParallelCount;
58 BOOLEAN AtDiskPrimaryAddressClaimed;
59 BOOLEAN AtDiskSecondaryAddressClaimed;
60 ULONG Version;
61 ULONG MediumChangerCount;
62 } CONFIGURATION_INFORMATION, *PCONFIGURATION_INFORMATION;
64 typedef VOID (WINAPI *PDRIVER_REINITIALIZE)(PDRIVER_OBJECT,PVOID,ULONG);
66 void WINAPI IoRegisterDriverReinitialization(PDRIVER_OBJECT,PDRIVER_REINITIALIZE,PVOID);
67 NTSTATUS WINAPI IoRegisterShutdownNotification(PDEVICE_OBJECT);
69 #endif