摘要: IopCreateFile=>IoMountVolume=>IopMountFileSystemIopMountFileSystem构造IRP StackPtr->MajorFunction = IRP_MJ_FILE_SYSTEM_CONTROL; StackPtr->MinorFunction = IRP_MN_MOUNT_VOLUME; 然后依次查询注册过的分区驱动,... 阅读全文
posted @ 2009-06-24 17:29 Fan Zhang 阅读(302) 评论(0) 推荐(0)
摘要: make dist会将所有文件编译后,放在\dist目录下。 阅读全文
posted @ 2009-06-24 16:11 Fan Zhang 阅读(295) 评论(0) 推荐(0)
摘要: 感觉IoCreateFile应该算是系统调用,它会调用ObCreateObject函数。 IoCreateFile和IoCreateDevice都会调用ObCreateObject函数。在中IoCreateFile中, Status = ObCreateObject(FileHandle, DesiredAccess, ObjectAttributes, IoFileObjectType, (PV... 阅读全文
posted @ 2009-06-24 15:40 Fan Zhang 阅读(825) 评论(0) 推荐(0)
摘要: http://melkov.narod.ru/misc/stl-fix/ 阅读全文
posted @ 2009-06-24 14:41 Fan Zhang 阅读(202) 评论(0) 推荐(0)
摘要: 在DriverEntry中,创建了一个device,并调用IoRegisterFileSystem,将它注册到文件系统类型中。每个分区类型驱动加载时候,都会调用IoRegisterFileSystem。 阅读全文
posted @ 2009-06-24 13:11 Fan Zhang 阅读(209) 评论(0) 推荐(0)