WMI 核心模式元件可以在驅動程式成功註冊為 WMI 資料的供應商之後,隨時傳送IRP_MJ_SYSTEM_CONTROL要求。 當使用者模式資料取用者要求 WMI 資料時,通常會傳送 WMI IRP。 輸入參數 取決於 IRP 目前 I/O 堆疊位置中MinorFunction的值。 每個IRP_MJ_SYSTEM_CONTROL要求都會指定識別所要求 WMI 動作的次要函式程式碼。
All drivers must provide a DispatchSystemControl routine that handles IRP_MJ_SYSTEM_CONTROL requests, which are sent by the kernel-mode component of Windows Management Instrumentation (WMI).
All drivers must provide a DispatchSystemControl routine that handles IRP_MJ_SYSTEM_CONTROL requests, which are sent by the kernel-mode component of Windows Management Instrumentation (WMI).When SentThe WMI kernel-mode component can send an IRP_MJ_SYSTEM_CONTROL request any time following a driver...
Operation: File System Drivers Operation: Legacy Files System Filter Drivers Parameters See also When Sent The I/O Manager, other operating system components, and other kernel-mode drivers send IRP_MJ_FILE_SYSTEM_CONTROL requests. It can be sent, for example, when a user-mode application has ...
取决于 IRP 当前 I/O 堆栈位置中MinorFunction处的值。 每个IRP_MJ_SYSTEM_CONTROL请求都指定一个次要函数代码,用于标识所请求的 WMI 操作。 输出参数 取决于 IRP 当前 I/O 堆栈位置中MinorFunction处的值。 Operation 所有驱动程序都必须通过提供DispatchSystemControl例程来支持IRP_MJ_SYSTEM_CONTROL请求。
All drivers must provide a DispatchSystemControl routine that handles IRP_MJ_SYSTEM_CONTROL requests, which are sent by the kernel-mode component of Windows Management Instrumentation (WMI).
[IRP_MJ_DEVICE_CONTROL]=HelloDDKDispatchRoutin;pDriverObject->MajorFunction[IRP_MJ_SET_INFORMATION]=HelloDDKDispatchRoutin;pDriverObject->MajorFunction[IRP_MJ_SHUTDOWN]=HelloDDKDispatchRoutin;pDriverObject->MajorFunction[IRP_MJ_SYSTEM_CONTROL]=HelloDDKDispatchRoutin;//创建驱动设备对象status=CreateDevice...
IRP_MJ_CREATE_MAILSLOT IRP_MJ_CREATE_NAMED_PIPE IRP_MJ_DEVICE_CONTROL IRP_MJ_DIRECTORY_CONTROL IRP_MJ_FILE_SYSTEM_CONTROL IRP_MJ_FLUSH_BUFFERS IRP_MJ_INTERNAL_DEVICE_CONTROL IRP_MJ_LOCK_CONTROL IRP_MJ_PNP IRP_MJ_QUERY_EA IRP_MJ_QUERY_INFORMATION ...
IRP_MJ_CLEANUP IRP_MJ_CLOSE IRP_MJ_CREATE IRP_MJ_DEVICE_CONTROL IRP_MJ_FILE_SYSTEM_CONTROL IRP_MJ_FLUSH_BUFFERS IRP_MJ_INTERNAL_DEVICE_CONTROL IRP_MJ_PNP IRP_MJ_POWER IRP_MJ_QUERY_INFORMATION IRP_MJ_READ IRP_MJ_SET_INFORMATION IRP_MJ_SHUTDOWN IRP_MJ_SYSTEM_CONTROL IRP_MJ_WRITE I/O ...
irpsp->MajorFunction==IRP_MJ_DIRECTORY_CONTROL 找了下MSDN说明 IRP_MN_NOTIFY_CHANGE_DIRECTORY Indicates a request for notification of changes to the directory. Usually, instead of satisfying this request immediately, the file system driver holds the IRP in a private queue. When a change occurs ...