Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method is called by a file filter to open a source file.
STDMETHODIMP IPegasusFileFilterSite::OpenSourceFile(intnHowToOpenFile,LPVOID* ppObj);
Parameters
- nHowToOpenFile
[in] Specifies how the source file is to be opened. It is one of the following values.Value Description PF_OPENFLAT Open as a flat file. PF_OPENCOMPOUND Open as an OLE compound file. Note that Windows CE does not support compound files. - ppObj
[out] Pointer to an LPVOID variable that receives an IStream pointer if nHowToOpenFile is PF_OPENFLAT, or an IStorage pointer if nHowToOpenFile is PF_OPENCOMPOUND. This object must be released using the IPegasusFileFilterSite::CloseSourceFile method before returning to the mobile Internet browser.
Return Values
Returns NOERROR if the method completed successfully, otherwise returns HRESULT_FROM_WIN32.
Remarks
OpenSourceFile opens the file specified by the PFF_SOURCEFILE structure. The mobile Internet browser passes a pointer to this structure in the call to the file filter's IPegasusFileFilter::NextConvertFile method.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Replfilt.h.
Link Library: Coredll.lib.
See Also
IStream | IStorage | IPegasusFileFilterSite::CloseSourceFile | IPegasusFileFilter::NextConvertFile | PFF_SOURCEFILE
Send Feedback on this topic to the authors