29#ifndef _WDFMINIPORT_H_
30#define _WDFMINIPORT_H_
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)
60(
STDCALL *PFN_WDFDEVICEMINIPORTCREATE)(
81WdfDeviceMiniportCreate(
#define _IRQL_requires_max_(irql)
#define _Must_inspect_result_
WDFFUNC WdfDriverMiniportUnloadOverride
_Must_inspect_result_ _In_ WDFDEVICE Device
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
_Must_inspect_result_ _In_ WDFDRIVER Driver
_In_ PDEVICE_OBJECT DeviceObject
PWDF_DRIVER_GLOBALS WdfDriverGlobals
@ WdfDeviceMiniportCreateTableIndex
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT DeviceObject
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT _Out_ WDFDEVICE * Device
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER Driver
#define WDF_EXTERN_C_START
FORCEINLINE VOID WdfDriverMiniportUnload(_In_ WDFDRIVER Driver)
WDFAPI VOID(STDCALL * PFN_WDFDRIVERMINIPORTUNLOAD)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFDRIVER Driver)
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT AttachedDeviceObject
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT Pdo