robin12
驱动牛犊
驱动牛犊
  • 注册日期2002-02-11
  • 最后登录2014-03-27
  • 粉丝0
  • 关注0
  • 积分11分
  • 威望63点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
阅读:3278回复:4

请问fileobject中RelatedFileObject有什么用处?

楼主#
更多 发布于:2003-06-27 21:26
谢谢!!!!!!!!!!!
ykwj121
驱动牛犊
驱动牛犊
  • 注册日期2003-06-24
  • 最后登录2004-06-17
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于: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.
robin12
驱动牛犊
驱动牛犊
  • 注册日期2002-02-11
  • 最后登录2014-03-27
  • 粉丝0
  • 关注0
  • 积分11分
  • 威望63点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2003-06-28 17:10
thank you very much
nustzhua
驱动中牛
驱动中牛
  • 注册日期2002-06-19
  • 最后登录2015-09-27
  • 粉丝0
  • 关注0
  • 积分18分
  • 威望2点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
地板#
发布于:2003-06-28 17:21
一般的RelatedFileObject->FileName只有在irp_mj_create时才有效。
不限容量的免费邮箱 www.k65.net
idaxsy
驱动大牛
驱动大牛
  • 注册日期2004-12-09
  • 最后登录2006-03-17
  • 粉丝0
  • 关注0
  • 积分386分
  • 威望54点
  • 贡献值0点
  • 好评度8点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2005-05-24 12:38
大补
[b]万水千山总是情,回个帖子行不行?[/b]
游客

返回顶部