Purpose
Closes a text document opened by DesOpenDocument, and releases the storage allocated during the return of document text and highlighting information.
Syntax
DESRETURN DesCloseDocument (DESBROWSESESSION BrowseSession, DESHANDLE DocumentHandle);
Function arguments
Table 7. DesCloseDocument arguments
Data Type | Argument | Use | Description |
---|---|---|---|
DESBROWSESESSION | BrowseSession | input | Browse session handle. |
DESHANDLE | DocumentHandle | input | Handle returned by DesOpenDocument identifying an opened text document. |
Return codes
Restrictions
This function can be called only after you have opened a text document by calling DesOpenDocument.