阅读:1095回复:2
请教:用ZwCreateFile时,filename的格式怎么写?
我看一个例子是这样:
FileName = "\\\\??\\\\C:\\\\passthru.dat"; 看不明白阿。。。能剖析一下吗? ... 后面就是用InitializeObjectAttributes初始化pObjectAttributes等操作 [编辑 - 8/11/04 by Camus1981] [编辑 - 8/11/04 by Camus1981] |
|
沙发#
发布于:2004-08-11 20:21
In the ANSI version of this function, the name is limited to MAX_PATH characters. To extend this limit to nearly 32,000 wide characters, call the Unicode version of the function and prepend "\\?\" to the path. For more information
|
|
|
板凳#
发布于:2004-08-11 21:33
回答的8错,可惜还不是很清楚
在我上面的那个语句中可是有2个问号, btw:在实际程序中应该两个'\'连在一起吧:像这样 FileName = "\\??\C:\\passthru.dat"; 到底是1个,还是2个问号呢?? 谢谢 5分相送(偶穷,还要留着点来看精华区文章呢:)) |
|