34 #define WDF_EXTERN_C extern "C"
35 #define WDF_EXTERN_C_START extern "C" {
36 #define WDF_EXTERN_C_END }
39 #define WDF_EXTERN_C_START
40 #define WDF_EXTERN_C_END
48#if (NTDDI_VERSION >= NTDDI_WIN2K)
58EVT_WDF_DEVICE_RESOURCES_QUERY(
73EVT_WDF_DEVICE_RESOURCE_REQUIREMENTS_QUERY(
101EVT_WDF_DEVICE_SET_LOCK(
116EVT_WDF_DEVICE_ENABLE_WAKE_AT_BUS(
131EVT_WDF_DEVICE_DISABLE_WAKE_AT_BUS(
144EVT_WDF_DEVICE_REPORTED_MISSING(
215(
STDCALL *PFN_WDFPDOINITALLOCATE)(
241(
STDCALL *PFN_WDFPDOINITSETEVENTCALLBACKS)(
253WdfPdoInitSetEventCallbacks(
271(
STDCALL *PFN_WDFPDOINITASSIGNDEVICEID)(
284WdfPdoInitAssignDeviceID(
302(
STDCALL *PFN_WDFPDOINITASSIGNINSTANCEID)(
315WdfPdoInitAssignInstanceID(
333(
STDCALL *PFN_WDFPDOINITADDHARDWAREID)(
346WdfPdoInitAddHardwareID(
364(
STDCALL *PFN_WDFPDOINITADDCOMPATIBLEID)(
377WdfPdoInitAddCompatibleID(
395(
STDCALL *PFN_WDFPDOINITASSIGNCONTAINERID)(
408WdfPdoInitAssignContainerID(
426(
STDCALL *PFN_WDFPDOINITADDDEVICETEXT)(
443WdfPdoInitAddDeviceText(
464(
STDCALL *PFN_WDFPDOINITSETDEFAULTLOCALE)(
476WdfPdoInitSetDefaultLocale(
494(
STDCALL *PFN_WDFPDOINITASSIGNRAWDEVICE)(
507WdfPdoInitAssignRawDevice(
524(
STDCALL *PFN_WDFPDOINITALLOWFORWARDINGREQUESTTOPARENT)(
534WdfPdoInitAllowForwardingRequestToParent(
550(
STDCALL *PFN_WDFPDOMARKMISSING)(
576(
STDCALL *PFN_WDFPDOREQUESTEJECT)(
627(
STDCALL *PFN_WDFPDORETRIEVEIDENTIFICATIONDESCRIPTION)(
640WdfPdoRetrieveIdentificationDescription(
658(
STDCALL *PFN_WDFPDORETRIEVEADDRESSDESCRIPTION)(
671WdfPdoRetrieveAddressDescription(
689(
STDCALL *PFN_WDFPDOUPDATEADDRESSDESCRIPTION)(
702WdfPdoUpdateAddressDescription(
720(
STDCALL *PFN_WDFPDOADDEJECTIONRELATIONSPHYSICALDEVICE)(
733WdfPdoAddEjectionRelationsPhysicalDevice(
750(
STDCALL *PFN_WDFPDOREMOVEEJECTIONRELATIONSPHYSICALDEVICE)(
762WdfPdoRemoveEjectionRelationsPhysicalDevice(
779(
STDCALL *PFN_WDFPDOCLEAREJECTIONRELATIONSDEVICES)(
789WdfPdoClearEjectionRelationsDevices(
const struct winhelp_callbacks Callbacks
#define _IRQL_requires_same_
#define _Function_class_(x)
#define _Must_inspect_result_
enum _SYSTEM_POWER_STATE SYSTEM_POWER_STATE
PFN_WDF_DEVICE_REPORTED_MISSING EvtDeviceReportedMissing
PFN_WDF_DEVICE_ENABLE_WAKE_AT_BUS EvtDeviceEnableWakeAtBus
PFN_WDF_DEVICE_DISABLE_WAKE_AT_BUS EvtDeviceDisableWakeAtBus
PFN_WDF_DEVICE_SET_LOCK EvtDeviceSetLock
PFN_WDF_DEVICE_RESOURCE_REQUIREMENTS_QUERY EvtDeviceResourceRequirementsQuery
PFN_WDF_DEVICE_RESOURCES_QUERY EvtDeviceResourcesQuery
PFN_WDF_DEVICE_EJECT EvtDeviceEject
#define RtlZeroMemory(Destination, Length)
_Must_inspect_result_ _In_ WDFDEVICE Device
_In_ PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER IdentificationDescription
_Inout_ PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER AddressDescription
_In_ PWDFDEVICE_INIT DeviceInit
_Must_inspect_result_ _In_ WDFDEVICE _In_ PDEVICE_OBJECT PhysicalDevice
_In_ PWDFDEVICE_INIT _In_ CONST GUID * DeviceClassGuid
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_STATE PowerState
PWDF_DRIVER_GLOBALS WdfDriverGlobals
@ WdfPdoInitAllocateTableIndex
@ WdfPdoRemoveEjectionRelationsPhysicalDeviceTableIndex
@ WdfPdoInitAddHardwareIDTableIndex
@ WdfPdoInitAssignRawDeviceTableIndex
@ WdfPdoUpdateAddressDescriptionTableIndex
@ WdfPdoInitAddCompatibleIDTableIndex
@ WdfPdoInitAddDeviceTextTableIndex
@ WdfPdoInitAssignContainerIDTableIndex
@ WdfPdoRetrieveAddressDescriptionTableIndex
@ WdfPdoMarkMissingTableIndex
@ WdfPdoInitAssignDeviceIDTableIndex
@ WdfPdoClearEjectionRelationsDevicesTableIndex
@ WdfPdoInitAllowForwardingRequestToParentTableIndex
@ WdfPdoInitSetDefaultLocaleTableIndex
@ WdfPdoRequestEjectTableIndex
@ WdfPdoGetParentTableIndex
@ WdfPdoInitAssignInstanceIDTableIndex
@ WdfPdoInitSetEventCallbacksTableIndex
@ WdfPdoAddEjectionRelationsPhysicalDeviceTableIndex
@ WdfPdoRetrieveIdentificationDescriptionTableIndex
EVT_WDF_DEVICE_SET_LOCK * PFN_WDF_DEVICE_SET_LOCK
_In_ PWDFDEVICE_INIT _In_ PWDF_PDO_EVENT_CALLBACKS DispatchTable
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING HardwareID
_In_ PWDFDEVICE_INIT DeviceInit
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING ContainerID
_Must_inspect_result_ _IRQL_requires_max_(PASSIVE_LEVEL) WDFAPI PWDFDEVICE_INIT(STDCALL *PFN_WDFPDOINITALLOCATE)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
_Must_inspect_result_ _In_ WDFDEVICE Device
EVT_WDF_DEVICE_DISABLE_WAKE_AT_BUS * PFN_WDF_DEVICE_DISABLE_WAKE_AT_BUS
struct _WDF_PDO_EVENT_CALLBACKS * PWDF_PDO_EVENT_CALLBACKS
EVT_WDF_DEVICE_RESOURCES_QUERY * PFN_WDF_DEVICE_RESOURCES_QUERY
_Must_inspect_result_ _In_ WDFDEVICE _In_ PDEVICE_OBJECT PhysicalDevice
EVT_WDF_DEVICE_REPORTED_MISSING * PFN_WDF_DEVICE_REPORTED_MISSING
EVT_WDF_DEVICE_RESOURCE_REQUIREMENTS_QUERY * PFN_WDF_DEVICE_RESOURCE_REQUIREMENTS_QUERY
_Must_inspect_result_ _In_ WDFDEVICE _Inout_ PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER AddressDescription
_Must_inspect_result_ _In_ WDFDEVICE _Inout_ PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER IdentificationDescription
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING InstanceID
#define WDF_EXTERN_C_START
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING _In_ PCUNICODE_STRING DeviceLocation
struct _WDF_PDO_EVENT_CALLBACKS WDF_PDO_EVENT_CALLBACKS
FORCEINLINE VOID WDF_PDO_EVENT_CALLBACKS_INIT(_Out_ PWDF_PDO_EVENT_CALLBACKS Callbacks)
EVT_WDF_DEVICE_EJECT * PFN_WDF_DEVICE_EJECT
EVT_WDF_DEVICE_ENABLE_WAKE_AT_BUS * PFN_WDF_DEVICE_ENABLE_WAKE_AT_BUS
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ CONST GUID * DeviceClassGuid
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING CompatibleID
_Must_inspect_result_ _In_ WDFDEVICE ParentDevice
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING _In_ PCUNICODE_STRING _In_ LCID LocaleId
_In_ WDFIORESREQLIST IoResourceRequirementsList
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING DeviceDescription
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING DeviceID
struct WDFDEVICE_INIT * PWDFDEVICE_INIT