_FILE_DISPOSITION_INFO structure

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

   
Windows version Windows Vista [desktop apps only] Windows Server 2008 [desktop apps only]
Header winbase.h (include Windows.h)

See Also

FILE_INFO_BY_HANDLE_CLASS

SetFileInformationByHandle