Using FILE_ATTRIBUTE_TEMPORARY and FILE_FLAG_DELETE_ON_CLOSE

前端 未结 2 757
花落未央
花落未央 2021-01-17 12:11

I am using the two flags FILE_ATTRIBUTE_TEMPORARY and FILE_FLAG_DELETE_ON_CLOSE while creating temporary files in my C++ application.

Acco

2条回答
  •  南笙
    南笙 (楼主)
    2021-01-17 12:20

    It just says that the file will never be flushed to disk. That means, while it exists in your filesystem, it will never be physically stored on your hard drive. The file system will show it though, with actual size and all.

提交回复
热议问题