FM_GETFILESELLFN message

Sent by a File Manager extension to retrieve information about a selected file from the active File Manager window (either the directory window or the Search Results window). The selected file can have a long file name.

Parameters

index

The zero-based index of the selected file to retrieve.

lpfmsgfs

The address of an FMS_GETFILESEL structure that receives information about the selection.

Return value

Returns the zero-based index of the selected file that was retrieved.

Remarks

Only extensions that support long file names (for example, network-aware extensions) should use this message.

An extension can use the FM_GETSELCOUNTLFN message to retrieve the count of selected files.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Wfext.h

See also

FMExtensionProc

FM_GETFILESEL

FM_GETSELCOUNT