Share via


CMonikerFile::Detach

Call this function to close the stream.

BOOL Detach( 
   CFileException* pError = NULL  
);

Parameters

  • pError
    A pointer to a file exception. In the event of an error, it will be set to the cause.

Return Value

Nonzero if successful; otherwise 0.

Requirements

Header: afxole.h

See Also

Reference

CMonikerFile Class

Hierarchy Chart

CMonikerFile::Close

CMonikerFile::Open