阅读:1416回复:4
为什么,ZwCreateFile()中的文件路径前,要加\??呢?
xiexie
|
|
沙发#
发布于:2004-09-16 11:26
PUNICODE_STRING ObjectName
Points to a buffered Unicode string naming the file to be created or opened. This value must be a fully qualified file specification or the name of a device object, unless it is the name of a file relative to the directory specified by RootDirectory. For example, \Device\Floppy1\myfile.dat or \??\B:\myfile.dat could be the fully qualified file specification, provided that the floppy driver and overlying file system are already loaded. (Note: \?? replaces \DosDevices as the name of the Win32? object namespace. \DosDevices will still work, but \?? is translated faster by the object manager.) |
|
|
板凳#
发布于:2004-09-16 11:28
斜杠好像要输两次才能显示
PUNICODE_STRING ObjectName Points to a buffered Unicode string naming the file to be created or opened. This value must be a fully qualified file specification or the name of a device object, unless it is the name of a file relative to the directory specified by RootDirectory. For example, \\Device\\Floppy1\\myfile.dat or \\??\\B:\\myfile.dat could be the fully qualified file specification, provided that the floppy driver and overlying file system are already loaded. (Note: \\?? replaces \\DosDevices as the name of the Win32? object namespace. \\DosDevices will still work, but \\?? is translated faster by the object manager.) |
|
|
地板#
发布于:2004-09-16 13:15
RING3只能访问/??/下的SYMBOLIC LINK
|
|
|
地下室#
发布于:2004-09-17 23:26
谢谢各位的,热心帮助!
我在ddk帮助中,看不到后面关于\\??的介绍,只有前面的! |
|