ICeFileFilterSite::CloseDestinationFile

This method is called by a file filter to close a destination file.

At a Glance

Header file: Replfilt.h
Windows CE versions: 2.0 and later

Syntax

STDMETHODIMP ICeFileFilterSite::CloseDestinationFile(
BOOL bKeepFile, LPUNKNOWN pObj );

Parameters

bKeepFile

Boolean value that indicates whether to keep or delete the destination file. A file filter should set this parameter to TRUE to keep the destination file, or FALSE to delete it.

pObj

Pointer to an IUnknown object returned from the ICeFileFilterSite::OpenDestinationFile method.

Return Values

NOERROR indicates success. An HRESULT_FROM_WIN32 error value indicates failure.