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
Address of 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.

QuickInfo

  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.

See Also

MCIWnd Window Class Overview, MCIWnd Functions, GetOpenFileName, OPENFILENAME