Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Indicates whether an object should be saved before closing.
Syntax
typedef enum tagOLECLOSE {
  OLECLOSE_SAVEIFDIRTY = 0,
  OLECLOSE_NOSAVE = 1,
  OLECLOSE_PROMPTSAVE = 2
} OLECLOSE;
Constants
OLECLOSE_SAVEIFDIRTYValue: 0 The object should be saved if it is dirty.  | 
OLECLOSE_NOSAVEValue: 1 The object should not be saved, even if it is dirty. This flag is typically used when an object is being deleted.  | 
OLECLOSE_PROMPTSAVEValue: 2 If the object is dirty, the IOleObject::Close implementation should display a dialog box to let the end user determine whether to save the object. However, if the object is in the running state but its user interface is invisible, the end user should not be prompted, and the close should be handled as if OLECLOSE_SAVEIFDIRTY had been specified.  | 
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] | 
| Minimum supported server | Windows 2000 Server [desktop apps only] | 
| Header | oleidl.h |