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
);
Returns a handle to the selected file.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Import Library: Use vfw32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
MCIWnd Window Class Overview, MCIWnd Functions, GetOpenFileName, OPENFILENAME