47 *
Pdo = DeviceExtension->
Pdo;
128 DeviceExtension->WmiLibInfo.SetWmiDataBlock =
NULL;
129 DeviceExtension->WmiLibInfo.SetWmiDataItem =
NULL;
130 DeviceExtension->WmiLibInfo.ExecuteWmiMethod =
NULL;
131 DeviceExtension->WmiLibInfo.WmiFunctionControl =
NULL;
168 Irp->IoStatus.Information = 0;
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
_In_ LPGUID _In_ ULONG InstanceIndex
_In_ PIRP _In_ ULONG GuidIndex
_In_ PIRP _In_ ULONG _In_ ULONG BufferAvail
#define NT_SUCCESS(StatCode)
_Must_inspect_result_ _Inout_ PFLT_VOLUME _In_opt_ PCUNICODE_STRING InstanceName
pRequest Complete(RequestStatus)
UNICODE_STRING DriverRegistryPath
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Reserved_ ULONG _In_opt_ PUNICODE_STRING _In_ ULONG _Out_opt_ PULONG Disposition
#define UNREFERENCED_PARAMETER(P)
#define IoSkipCurrentIrpStackLocation(Irp)
#define IoCompleteRequest
NTSTATUS NTAPI IoWMIRegistrationControl(IN PDEVICE_OBJECT DeviceObject, IN ULONG Action)
#define STATUS_WMI_INSTANCE_NOT_FOUND
#define STATUS_WMI_GUID_NOT_FOUND
#define STATUS_BUFFER_TOO_SMALL
IO_REMOVE_LOCK RemoveLock
MOUSE_ATTRIBUTES MouseAttributes
WMILIB_CONTEXT WmiLibInfo
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING MofResourceName
_In_ UCHAR _In_ UCHAR MinorFunction
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
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
#define POINTER_PORT_WMI_STD_MOUSE
struct _POINTER_PORT_WMI_STD_DATA POINTER_PORT_WMI_STD_DATA
struct _POINTER_PORT_WMI_STD_DATA * PPOINTER_PORT_WMI_STD_DATA
#define POINTER_PORT_WMI_STD_DATA_GUID
#define POINTER_PORT_WMI_STD_I8042
NTSTATUS NTAPI WmiSystemControl(IN PWMILIB_CONTEXT WmiLibInfo, IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp, OUT PSYSCTL_IRP_DISPOSITION IrpDisposition)
NTSTATUS NTAPI WmiCompleteRequest(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp, IN NTSTATUS Status, IN ULONG BufferUsed, IN CCHAR PriorityBoost)
enum _SYSCTL_IRP_DISPOSITION SYSCTL_IRP_DISPOSITION
#define WMIREG_FLAG_INSTANCE_PDO
#define IoAcquireRemoveLock(RemoveLock, Tag)
#define IoReleaseRemoveLock(_RemoveLock, _Tag)
#define WMIREG_ACTION_REGISTER
#define WMIREG_ACTION_DEREGISTER