Skip to content

Latest commit

 

History

History
73 lines (60 loc) · 2.25 KB

ne-oleidl-oleclose.md

File metadata and controls

73 lines (60 loc) · 2.25 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:oleidl.tagOLECLOSE
OLECLOSE (oleidl.h)
Indicates whether an object should be saved before closing.
OLECLOSE
OLECLOSE enumeration [COM]
OLECLOSE_NOSAVE
OLECLOSE_PROMPTSAVE
OLECLOSE_SAVEIFDIRTY
_ole_OLECLOSE
com.oleclose
oleidl/OLECLOSE
oleidl/OLECLOSE_NOSAVE
oleidl/OLECLOSE_PROMPTSAVE
oleidl/OLECLOSE_SAVEIFDIRTY
com\oleclose.htm
com
386f24a4-11d7-4471-960e-1a3ff67ba3c5
12/05/2018
OLECLOSE, OLECLOSE enumeration [COM], OLECLOSE_NOSAVE, OLECLOSE_PROMPTSAVE, OLECLOSE_SAVEIFDIRTY, _ole_OLECLOSE, com.oleclose, oleidl/OLECLOSE, oleidl/OLECLOSE_NOSAVE, oleidl/OLECLOSE_PROMPTSAVE, oleidl/OLECLOSE_SAVEIFDIRTY
oleidl.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
OLECLOSE
19H1
tagOLECLOSE
oleidl/tagOLECLOSE
OLECLOSE
oleidl/OLECLOSE
c++
APIRef
kbSyntax
HeaderDef
OleIdl.h
OLECLOSE

OLECLOSE enumeration

-description

Indicates whether an object should be saved before closing.

-enum-fields

-field OLECLOSE_SAVEIFDIRTY:0

The object should be saved if it is dirty.

-field OLECLOSE_NOSAVE:1

The object should not be saved, even if it is dirty. This flag is typically used when an object is being deleted.

-field OLECLOSE_PROMPTSAVE: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.

-see-also

IOleObject::Close