IPegasusFileFilterSite::CloseDestinationFile

The IPegasusFileFilterSite::CloseDestinationFile method is used by a file filter to close a destination file.

Syntax

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

At a Glance

Header file: Replfilt.h
Platforms: H/PC
Windows CE versions: 1.0 and later

Parameters

bKeepFile
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 IPegasusFileFilterSite::OpenDestinationFile method.

Return Values

NOERROR
CloseDestinationFile was successful.

If the function fails, the return value is an HRESULT_FROM_WIN32 error value.