CFileDialogImpl::GetSpec

intCFileDialogImpl::GetSpec(LPTSTRlpstrSpec, intnLength)

Get the spec of the folder

Defined in: CommonDialogs.h

Return Value

Returns the length of selected folder path

Parameters

lpstrSpec

Path of the folder

nLength

Length of the spec

Comments

Retrieves the file name (not including the path) of the currently selected file