9d2566cf0550c6ef79b6ac0c62754b466bffa22c
[reactos.git] / drivers / bus / pcix / intrface / devhere.c
1 /*
2 * PROJECT: ReactOS PCI Bus Driver
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: drivers/bus/pci/intrface/devhere.c
5 * PURPOSE: Device Presence Interface
6 * PROGRAMMERS: ReactOS Portable Systems Group
7 */
8
9 /* INCLUDES *******************************************************************/
10
11 #include <pci.h>
12
13 #define NDEBUG
14 #include <debug.h>
15
16 /* GLOBALS ********************************************************************/
17
18 PCI_INTERFACE PciDevicePresentInterface =
19 {
20 &GUID_PCI_DEVICE_PRESENT_INTERFACE,
21 sizeof(PCI_DEVICE_PRESENT_INTERFACE),
22 PCI_DEVICE_PRESENT_INTERFACE_VERSION,
23 PCI_DEVICE_PRESENT_INTERFACE_VERSION,
24 PCI_INTERFACE_PDO,
25 0,
26 PciInterface_DevicePresent,
27 devpresent_Constructor,
28 devpresent_Initializer
29 };
30
31 /* FUNCTIONS ******************************************************************/
32
33 NTSTATUS
34 NTAPI
35 devpresent_Initializer(IN PVOID Instance)
36 {
37 UNREFERENCED_PARAMETER(Instance);
38 /* PnP Interfaces don't get Initialized */
39 ASSERTMSG("PCI devpresent_Initializer, unexpected call.", FALSE);
40 return STATUS_UNSUCCESSFUL;
41 }
42
43 NTSTATUS
44 NTAPI
45 devpresent_Constructor(IN PVOID DeviceExtension,
46 IN PVOID Instance,
47 IN PVOID InterfaceData,
48 IN USHORT Version,
49 IN USHORT Size,
50 IN PINTERFACE Interface)
51 {
52 PAGED_CODE();
53
54 UNREFERENCED_PARAMETER(DeviceExtension);
55 UNREFERENCED_PARAMETER(Instance);
56 UNREFERENCED_PARAMETER(InterfaceData);
57 UNREFERENCED_PARAMETER(Version);
58 UNREFERENCED_PARAMETER(Size);
59 UNREFERENCED_PARAMETER(Interface);
60
61 /* Not yet implemented */
62 UNIMPLEMENTED_DBGBREAK();
63 return STATUS_NOT_IMPLEMENTED;
64 }
65
66 /* EOF */