CLOSE_DOC command
Content Manager OnDemand closes the document by destroying the document window
Command | Parameters |
---|---|
CLOSE_DOC | /D doc id |
- Parameters
- D
- Specifies the document identifier, returned by the OPEN_DOC command,
of the document to be closed.
This parameter is required.
- Action
- Content Manager OnDemand closes the document by destroying the document window.
- Return Code
-
- 0
ARS_DDE_RC_NO_ERROR
- 2
ARS_DDE_RC_PARM_NOT_SPECIFIED
- 3
ARS_DDE_RC_INVALID_PARM_VALUE
- 6
ARS_DDE_RC_NOT_LOGGED_ON
- 11
ARS_DDE_RC_USER_ACTION_IN_PROGRESS
- Return Data
- None
Refer to the DoDdeCommand function.
DoDdeCommand( "CLOSE_DOC", "/D 1234", NULL );