Dokan changes
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user