Chialong
驱动牛犊
驱动牛犊
  • 注册日期2010-06-07
  • 最后登录2011-01-31
  • 粉丝0
  • 关注2
  • 积分12分
  • 威望221点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1803回复:0

试着在vhidmini上加上wmi 功能,当机

楼主#
更多 发布于:2010-08-12 13:43
有先进试着在vhidmini上加上wmi 功能吗?
vhidmin 配上bulkusb的wmi部分.
.当在,有人
1.
DriverEntry (
    IN PDRIVER_OBJECT DriverObject,
    IN PUNICODE_STRING RegistryPath
    )
    DriverObject->MajorFunction[IRP_MJ_SYSTEM_CONTROL] = BulkUsb_DispatchSysCtrl;
2.
NTSTATUS
AddDevice (
    IN PDRIVER_OBJECT DriverObject,
    IN PDEVICE_OBJECT FunctionalDeviceObject
    )
DeviceExtension->FunctionalDeviceObject=FunctionalDeviceObject; //vhidmini 的device_object
ntStatus = BulkUsb_WmiRegistration(deviceInfo);
     {
return IoWMIRegistrationControl(DeviceExtension->FunctionalDeviceObject,
     WMIREG_ACTION_DEREGISTER);
}
3.
NTSTATUS
PnP (
    IN PDEVICE_OBJECT DeviceObject,
    IN PIRP Irp
    )
    case IRP_MN_REMOVE_DEVICE:
BulkUsb_WmiDeRegistration(deviceInfo);
MODULE_NAME: WMILIB
FAULTING_MODULE: 804d8000 nt
DEBUG_FLR_IMAGE_TIMESTAMP: 3b7d878b
EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - "0x%08lx"
FAULTING_IP:
+6f0de
00000000 ?? ???
EXCEPTION_RECORD: f8bb3b48 -- (.exr 0xfffffffff8bb3b48)
ExceptionAddress: 00000000
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000008
   Parameter[1]: 00000000
Attempt to execute non-executable address 00000000

CONTEXT: f8bb3844 -- (.cxr 0xfffffffff8bb3844)
eax=f8bb3c88 ebx=82c28000 ecx=00002000 edx=00000000 esi=82c47248 edi=82a91dc4
eip=00000000 esp=f8bb3c10 ebp=f8bb3c80 iopl=0 nv up ei pl zr na pe nc
cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000 efl=00010246
00000000 ?? ???
Resetting default scope
CUSTOMER_CRASH_COUNT: 1
DEFAULT_BUCKET_ID: DRIVER_FAULT
BUGCHECK_STR: 0x7E
LAST_CONTROL_TRANSFER: from f8c566da to 00000000
STACK_TEXT:
WARNING: Frame IP not in any known module. Following frames may be wrong.
f8bb3c0c f8c566da 82a91ba0 f8bb3c88 f8bb3c48 0x0
f8bb3c80 f89443b7 00000000 82a91ba0 82c47248 WMILIB+0x6da
FOLLOWUP_IP:
WMILIB+6da
f8c566da ?? ???
SYMBOL_STACK_INDEX: 1
SYMBOL_NAME: WMILIB+6da
FOLLOWUP_NAME: MachineOwner
IMAGE_NAME: WMILIB.SYS
STACK_COMMAND: .cxr 0xfffffffff8bb3844 ; kb
BUCKET_ID: WRONG_SYMBOLS
kd> .exr 0xfffffffff8bb3b48
ExceptionAddress: 00000000
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000008
   Parameter[1]: 00000000
Attempt to execute non-executable address 00000000
游客

返回顶部