GetOpenFileNamePreview
TOC
Collapse the table of content
Expand the table of content

GetOpenFileNamePreview 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 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 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]

Header

Vfw.h

Library

Vfw32.lib

DLL

Msvfw32.dll

Unicode and ANSI names

GetOpenFileNamePreviewW (Unicode) and GetOpenFileNamePreviewA (ANSI)

 

 

Show:
© 2016 Microsoft