CreateFile的hTemplateFile到底是干嘛的?
MSDN:
hTemplateFile
[in] Handle to a template file, with the GENERIC_READ access right. The template file supplies file attributes and extended attributes for the file being created. This parameter can be NULL.
If opening an existing file, CreateFile ignores the template file.
MSDN这个说了,什么模板文件句柄,不知道到底有什么用,哪位用过,举个例子咱学习一哈