1
0

Dokan changes

This commit is contained in:
Scott E. Graves
2017-02-11 01:56:31 -06:00
parent 6f21dd7880
commit bd5857a09b

View File

@@ -135,12 +135,14 @@ private:
if (ret == STATUS_SUCCESS) if (ret == STATUS_SUCCESS)
{ {
// If file should exist, then check for it in cache location. If not found, // If file should exist, then check for it in cache location. If not found,
// it must be downloaded first // it must be downloaded first and placed in cache
if (!isCreateOp && !PathFileExists(cacheFilePath.c_str())) if (!isCreateOp && !PathFileExists(cacheFilePath.c_str()))
{ {
// Download to temp location
// Move to cache location
} }
// Create file as specified
HANDLE handle = CreateFile( HANDLE handle = CreateFile(
cacheFilePath.c_str(), cacheFilePath.c_str(),
genericDesiredAccess, genericDesiredAccess,