ReactOS  0.4.15-dev-494-g1d8c567
locintrf.c File Reference
#include <pci.h>
#include <debug.h>
Include dependency graph for locintrf.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

NTSTATUS NTAPI locintrf_Initializer (IN PVOID Instance)
 
NTSTATUS NTAPI locintrf_Constructor (IN PVOID DeviceExtension, IN PVOID Instance, IN PVOID InterfaceData, IN USHORT Version, IN USHORT Size, IN PINTERFACE Interface)
 

Variables

PCI_INTERFACE PciLocationInterface
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 13 of file locintrf.c.

Function Documentation

◆ locintrf_Constructor()

NTSTATUS NTAPI locintrf_Constructor ( IN PVOID  DeviceExtension,
IN PVOID  Instance,
IN PVOID  InterfaceData,
IN USHORT  Version,
IN USHORT  Size,
IN PINTERFACE  Interface 
)

Definition at line 45 of file locintrf.c.

51 {
52  UNREFERENCED_PARAMETER(DeviceExtension);
58 
59  /* Not yet implemented */
62 }
IN PVOID IN PVOID IN USHORT Version
Definition: pci.h:361
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:225
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
IN PVOID IN PVOID IN USHORT IN USHORT IN PINTERFACE Interface
Definition: pci.h:361
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
IN PVOID Instance
Definition: pci.h:361
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57
IN PVOID IN PVOID InterfaceData
Definition: pci.h:361

◆ locintrf_Initializer()

NTSTATUS NTAPI locintrf_Initializer ( IN PVOID  Instance)

Definition at line 35 of file locintrf.c.

36 {
38  /* PnP Interfaces don't get Initialized */
39  ASSERTMSG("PCI locintrf_Initializer, unexpected call.\n", FALSE);
40  return STATUS_UNSUCCESSFUL;
41 }
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
#define ASSERTMSG(msg, exp)
Definition: nt_native.h:431
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132
IN PVOID Instance
Definition: pci.h:361

Variable Documentation

◆ PciLocationInterface

PCI_INTERFACE PciLocationInterface
Initial value:
=
{
&GUID_PNP_LOCATION_INTERFACE,
0,
}
NTSTATUS NTAPI locintrf_Initializer(IN PVOID Instance)
Definition: locintrf.c:35
#define PNP_LOCATION_INTERFACE_VERSION
Definition: iotypes.h:5166
#define PCI_INTERFACE_ROOT
Definition: pci.h:59
#define PCI_INTERFACE_FDO
Definition: pci.h:58
#define PCI_INTERFACE_PDO
Definition: pci.h:57
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
struct _PNP_LOCATION_INTERFACE PNP_LOCATION_INTERFACE

Definition at line 18 of file locintrf.c.