Freigeben über


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

Concepts

CMonikerFile Class

CMonikerFile Members

Hierarchy Chart

CMonikerFile::Close

CMonikerFile::Open