摘要:
一个简单的NT驱动框架 #include VOID DriverUnload(PDRIVER_OBJECT DriverObject){ UNICODE_STRING dosDevName; RtlInitUnicodeString(&dosDevName, L"\\DosDevices\\Snark"); IoDeleteSymbolicLink(&dosDevName); if (DriverObject->DeviceObject != NULL) { IoDeleteDevice(DriverObject->DeviceObject); 阅读全文