ReactOS  0.4.14-dev-77-gd9e7c48
locintrf.c
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS PCI Bus Driver
3  * LICENSE: BSD - See COPYING.ARM in the top level directory
4  * FILE: drivers/bus/pci/intrface/locintrf.c
5  * PURPOSE: Location 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 
19 {
20  &GUID_PNP_LOCATION_INTERFACE,
21  sizeof(PNP_LOCATION_INTERFACE),
25  0,
29 };
30 
31 /* FUNCTIONS ******************************************************************/
32 
34 NTAPI
36 {
38  /* PnP Interfaces don't get Initialized */
39  ASSERTMSG("PCI locintrf_Initializer, unexpected call.\n", FALSE);
40  return STATUS_UNSUCCESSFUL;
41 }
42 
44 NTAPI
45 locintrf_Constructor(IN PVOID DeviceExtension,
49  IN USHORT Size,
51 {
52  UNREFERENCED_PARAMETER(DeviceExtension);
58 
59  /* Not yet implemented */
62 }
63 
64 /* EOF */
#define IN
Definition: typedefs.h:38
IN PVOID IN PVOID IN USHORT Version
Definition: pci.h:359
NTSTATUS NTAPI locintrf_Initializer(IN PVOID Instance)
Definition: locintrf.c:35
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:225
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
LONG NTSTATUS
Definition: precomp.h:26
#define PNP_LOCATION_INTERFACE_VERSION
Definition: iotypes.h:5164
#define PCI_INTERFACE_ROOT
Definition: pci.h:57
#define PCI_INTERFACE_FDO
Definition: pci.h:56
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
#define ASSERTMSG(msg, exp)
Definition: nt_native.h:431
IN PVOID IN PVOID IN USHORT IN USHORT IN PINTERFACE Interface
Definition: pci.h:359
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132
PCI_INTERFACE PciLocationInterface
Definition: locintrf.c:18
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
#define PCI_INTERFACE_PDO
Definition: pci.h:55
NTSTATUS NTAPI locintrf_Constructor(IN PVOID DeviceExtension, IN PVOID Instance, IN PVOID InterfaceData, IN USHORT Version, IN USHORT Size, IN PINTERFACE Interface)
Definition: locintrf.c:45
unsigned short USHORT
Definition: pedump.c:61
IN PVOID Instance
Definition: pci.h:359
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57
IN PVOID IN PVOID InterfaceData
Definition: pci.h:359
struct _PNP_LOCATION_INTERFACE PNP_LOCATION_INTERFACE