1.SystemName是否等于GetComputerName()的返回值? 2.SetFileTime()的第一个参数问题?
1.LookupPrivilegeName()中的参数SystemName是否用GetComputerName()来取得?
2.SetFileTime()的第一个参数hfile, 如何的到?我要求hfile是它自身的句柄.
例如:
file.exe 中包含 SetFileTime()来修改自身的文件时间,
这时候hfile 就是file.exe的句柄,我试过GetCurrentPorcess()
和OpenProcess()来取得句柄,均失败.
问题点数:20、回复次数:1Top
1 楼dzqsuper(数风流人物-还看打倒日本猪的人(抵制日货))回复于 2003-11-02 20:46:57 得分 20
不是吧
hFile
Handle to the file for which to set the dates and times. The file handle must have been created with GENERIC_WRITE access to the file.
Top




