CF_CALLBACK_DELETE_FLAGS enumeration (cfapi.h)

This enum is used by CF_CALLBACK_TYPE_NOTIFY_DELETE (see CF_CALLBACK_TYPE) when informing the sync provider that a placeholder file or directory under one of its sync roots is about to be deleted or undeleted.

Syntax

typedef enum CF_CALLBACK_DELETE_FLAGS {
  CF_CALLBACK_DELETE_FLAG_NONE,
  CF_CALLBACK_DELETE_FLAG_IS_DIRECTORY,
  CF_CALLBACK_DELETE_FLAG_IS_UNDELETE
} ;

Constants

 
CF_CALLBACK_DELETE_FLAG_NONE
0x00000000

No delete flag.
CF_CALLBACK_DELETE_FLAG_IS_DIRECTORY
0x00000001

The placeholder that is about to be deleted is a directory.
CF_CALLBACK_DELETE_FLAG_IS_UNDELETE
0x00000002

The placeholder is being undeleted.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1709 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header cfapi.h

See also

CF_CALLBACK_TYPE