note : ObReferenceObjectByName usage
得到驱动对象.h/// 系统全局变量声明extern POBJECT_TYPE *IoDriverObjectType;/// 常量, 用WinObj.exe 可以看到#define DRVOBJ_NAME_XX L"\\xx"NTSTATUSGetDriverObject( WCHAR * pcDriverObjectName, PDRIVER_