Share via


COleLinkingDoc::Revoke

Informs the OLE system DLLs that the document is no longer open.

void Revoke( );

Remarks

Call this function to revoke the document's registration with the OLE system DLLs.

You should call this function when closing a named file, but you usually do not need to call it directly. Revoke is called for you by COleLinkingDoc's implementation of OnCloseDocument, OnNewDocument, OnOpenDocument, and OnSaveDocument.

Requirements

Header: afxole.h

See Also

Reference

COleLinkingDoc Class

Hierarchy Chart

COleTemplateServer Class

CDocument::OnCloseDocument

CDocument::OnNewDocument

CDocument::OnOpenDocument

CDocument::OnSaveDocument