reference:plugins:viewer_plugins:dvp_showproperties

DVP_ShowProperties(
     HWND:hWndParent,
     LPTSTR:lpszName,
     LPVIEWERPLUGINFILEINFO:lpVPFileInfo
)
→ HWND

Arguments

hWndParent

This parameter specifies the parent window for your 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.

Return value

The window handle of the dialog (your dialog should be modeless).

Description

The DVP_ShowProperties function is called to display a custom properties dialog for a disk file.

When your DVP_ShowProperties function is called, you should create and display a Properties dialog as appropriate for the specified file. Your dialog should be modeless - the function should return the window handle of the dialog.