阅读:3278回复:4
请问fileobject中RelatedFileObject有什么用处?
谢谢!!!!!!!!!!!
|
|
沙发#
发布于:2003-06-27 21:51
我看到下面一段话,讲的是相对路径和绝对路径的,里面描述了RelatedFileObject的部分作用,应该对你有帮助:
The I/O manager might give either the absolute path or the relative path. When it supplies the absolute path, then the RelatedFileObject field in the File Object is NULL, but when it sends the relative path, the RelatedFileObject field contains the Relative FileName. in RelatedFileObject->FileName for e.g: for a file C:\\driver\\filter\\dos u might get the relative file name as \'dos\' but \'c:\\driver\\filter\' is contained in RelatedFileObject->FileName. Append this name to the relative file name to get the absolute path name. |
|
板凳#
发布于:2003-06-28 17:10
thank you very much
|
|
地板#
发布于:2003-06-28 17:21
一般的RelatedFileObject->FileName只有在irp_mj_create时才有效。
|
|
|
地下室#
发布于:2005-05-24 12:38
大补
|
|
|