Share via


GetOpenFileNamePreview

The GetOpenFileNamePreview function selects a file by using the Open dialog box. The dialog box also allows the user to preview the currently specified AVI file. This function augments the capability found in the GetOpenFileName function.

BOOL GetOpenFileNamePreview(
  LPOPENFILENAME lpofn  
);

Parameters

lpofn

Pointer to an OPENFILENAME structure used to initialize the dialog box. On return, the structure contains information about the user's file selection.

Return Values

Returns a handle to the selected file.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.
**  Library:** Use Vfw32.lib.
**  Unicode:** Implemented as Unicode and ANSI versions on Windows NT/2000/XP.

See Also

GetOpenFileName, OPENFILENAME