Επεξεργασία

Κοινή χρήση μέσω


FDE_SHAREVIOLATION_RESPONSE enumeration (shobjidl_core.h)

Specifies the values used by the IFileDialogEvents::OnShareViolation method to indicate an application's response to a sharing violation that occurs when a file is opened or saved.

Syntax

typedef enum FDE_SHAREVIOLATION_RESPONSE {
  FDESVR_DEFAULT = 0,
  FDESVR_ACCEPT = 1,
  FDESVR_REFUSE = 2
} ;

Constants

 
FDESVR_DEFAULT
Value: 0
The application has not handled the event. The dialog displays a UI that indicates that the file is in use and a different file must be chosen.
FDESVR_ACCEPT
Value: 1
The application has determined that the file should be returned from the dialog.
FDESVR_REFUSE
Value: 2
The application has determined that the file should not be returned from the dialog.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header shobjidl_core.h (include Shobjidl.h)