* in wish by default). However the subsequent GetFileInformationByHandle
* will fail. We do a WinIsReserved to see if it is one of the special
* names, and if successful, mock up a BY_HANDLE_FILE_INFORMATION
* structure.
*/
fileHandle = CreateFile(nativePath, GENERIC_READ,
FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING,
FILE_FLAG_BACKUP_SEMANTICS | FILE_FLAG_OPEN_REPARSE_POINT, NULL);
if (fileHandle != INVALID_HANDLE_VALUE) {
BY_HANDLE_FILE_INFORMATION data;
if (GetFileInformationByHandle(fileHandle,&data) != TRUE) {
fileType = GetFileType(fileHandle);

* in wish by default). However the subsequent GetFileInformationByHandle
* will fail. We do a WinIsReserved to see if it is one of the special
* names, and if successful, mock up a BY_HANDLE_FILE_INFORMATION
* structure.
*/
fileHandle = CreateFile(nativePath, GENERIC_READ,
FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, NULL, OPEN_EXISTING,
FILE_FLAG_BACKUP_SEMANTICS | FILE_FLAG_OPEN_REPARSE_POINT, NULL);
if (fileHandle != INVALID_HANDLE_VALUE) {
BY_HANDLE_FILE_INFORMATION data;
if (GetFileInformationByHandle(fileHandle,&data) != TRUE) {
fileType = GetFileType(fileHandle);

This page was generated in about
0.011s by
Fossil 2.8 [7b0dbe8079] 2019-02-20 22:28:24