ZwQuerySystemInformation(SystemHandleInformation,NULL,0,&nSize);为什么调用失败?第一个解决的,就
ULONGnSize;ULONGpBuffer;NTSTATUSstatus;DbgPrint(GetHandleList\\n);//pBuffer=(ULONG)ExAllocatePool(PagedPool,0x1000);status=ZwQuerySystemInformation(SystemHandleInformation,NULL,0,&nSize);if(NT_SUCCESS(status))