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 );
Pointer to an OPENFILENAME structure used to initialize the dialog box. On return, the structure contains information about the user's file selection.
Returns a handle to the selected file.
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.