DVP_ShowPropertiesStream(
     HWND:hWndParent,
     LPSTREAM:lpStream,
     LPTSTR:lpszName,
     LPVIEWERPLUGINFILEINFO:lpVPFileInfo,
     DWORD:dwStreamFlags
)
→ HWND

Arguments

hWndParent

This parameter specifies the parent window for your dialog.

lpStream

This parameter specifies an IStream data object that you can read from if necessary. If possible you should not access the file but instead use the information in the VIEWERPLUGINFILEINFO structure to display the Properties dialog.

lpszName

This parameter provides the name of the file, including the full path.

lpVPFileInfo

This parameter points to a VIEWERPLUGINFILEINFO structure that contains the information that you returned in the DVP_IdentifyFile function, including the dwPrivateData field. This allows you to preserve your own data between the calls to DVP_IdentifyFile, DVP_LoadBitmap and DVP_ShowProperties

dwStreamFlags

This parameter contains information about the data stream. The flags currently defined are:

DVPSF_SlowIf set, this flag indicates that the data stream is "slow" - that is, access to the file may potentially take a long time. Currently this is only set for FTP sites.
DVPSF_NoRandomSeekIf set, this flag indicates that the data stream does not support random seeking - that it can only be read sequentially from beginning to end. Currently this will be set for both FTP and ZIP files.

Return value

As for DVP_ShowProperties.

Description

The DVP_ShowPropertiesStream function is called to display a custom properties dialog for a data stream.

The DVP_ShowPropertiesStream function is very similar to the DVP_ShowProperties function except that it has additional parameters specifying the data stream.