Expand Minimize
This topic has not yet been rated - Rate this topic

FDE_SHAREVIOLATION_RESPONSE enumeration

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
} FDE_SHAREVIOLATION_RESPONSE;

Constants

FDESVR_DEFAULT

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

The application has determined that the file should be returned from the dialog.

FDESVR_REFUSE

The application has determined that the file should not be returned from the dialog.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.