GetOpenFileNamePreviewW function

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.

Syntax

BOOL VFWAPI GetOpenFileNamePreviewW(
  LPOPENFILENAMEW 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 Value

Returns a handle to the selected file.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h
Library Vfw32.lib
DLL Msvfw32.dll