FILE_DISPOSITION_INFO structure (winbase.h)
Indicates whether a file should be deleted. Used for any handles. Use only when calling SetFileInformationByHandle.
Syntax
typedef struct _FILE_DISPOSITION_INFO {
BOOLEAN DeleteFile;
} FILE_DISPOSITION_INFO, *PFILE_DISPOSITION_INFO;
Members
DeleteFile
Indicates whether the file should be deleted. Set to TRUE to delete the file. This member has no effect if the handle was opened with FILE_FLAG_DELETE_ON_CLOSE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | winbase.h (include Windows.h) |
Redistributable | Windows SDK on Windows Server 2003 and Windows XP. |