RtlCopyMemory 崩溃
deviceExtension = (PDEVICE_EXTENSION)DeviceObject->DeviceExtension; deviceExtension->file_name.Length = openFileInformation->file_nameLength; deviceExtension->file_name.MaximumLength = openFileInformation->file_nameLength; deviceExtension->file_name.Buffer = (PCHAR)ExAllocatePool(NonPagedPool, openFileInformation->file_nameLength); RtlCopyMemory( deviceExtension->file_name.Buffer, openFileInformation->file_name, openFileInformation->file_nameLength );