据说是一种很古老的方法 #pragma alloc_text(INIT, DriverEntry)#pragma alloc_text(PAGE, DispatchFun)#pragma alloc_text(PAGE, UnLoad)