#include <pci.h>
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ PciPmeInterface_Dereference()
◆ PciPmeInterface_Reference()
◆ PciPmeInterface_UpdateEnable()
Definition at line 63 of file pmeintf.c.
65{
68
69 DPRINT1(
"PciPmeInterface_UpdateEnable is not yet implemented\n");
70}
#define UNREFERENCED_PARAMETER(P)
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
_In_ PDEVICE_OBJECT DeviceObject
Referenced by PciPmeInterfaceConstructor().
◆ PciPmeInterfaceConstructor()
Definition at line 74 of file pmeintf.c.
80{
82
86
88
90 {
92 }
93
95 PmeInterface->
Size =
sizeof(*PmeInterface);
97 PmeInterface->
Context = DeviceExtension;
101
103}
VOID NTAPI PciPmeInterface_Dereference(IN PVOID Context)
VOID NTAPI PciPmeInterface_Reference(IN PVOID Context)
VOID NTAPI PciPmeInterface_UpdateEnable(IN PDEVICE_OBJECT DeviceObject, IN BOOLEAN Enable)
PINTERFACE_DEREFERENCE InterfaceDereference
PINTERFACE_REFERENCE InterfaceReference
PPME_SET_PME_ENABLE UpdateEnable
#define STATUS_UNSUCCESSFUL
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_WMI_INSTANCE_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_opt_ WDFWMIINSTANCE * Instance
struct _PCI_PME_INTERFACE * PPCI_PME_INTERFACE
#define PCI_PME_INTRF_STANDARD_VER
◆ PciPmeInterfaceInitializer()
Definition at line 35 of file pmeintf.c.
36{
38
39 ASSERTMSG(
"PCI PciPmeInterfaceInitializer, unexpected call.\n",
FALSE);
41}
#define ASSERTMSG(msg, exp)
◆ PciPmeInterface
Initial value:=
{
&GUID_PCI_PME_INTERFACE,
0,
}
#define PCI_INTERFACE_FDO
#define PCI_INTERFACE_ROOT
@ PciInterface_PmeHandler
NTSTATUS NTAPI PciPmeInterfaceInitializer(IN PVOID Instance)
NTSTATUS NTAPI PciPmeInterfaceConstructor(IN PVOID DeviceExtension, IN PVOID Instance, IN PVOID InterfaceData, IN USHORT Version, IN USHORT Size, IN PINTERFACE Interface)
struct _PCI_PME_INTERFACE PCI_PME_INTERFACE
Definition at line 18 of file pmeintf.c.