IAPI::GetOpenDlgDirectoryPath

property GetOpenDlgDirectoryPath.

Displays a common dialogbox for browsing and selecting folders

 

HRESULT GetOpenDlgDirectoryPath(
  BSTR title,
  BSTR *pVal
);

Parameters

title

[in]

.  Title text

1)    Prefixing 'title' string with '<hwndParent>@HWND:' token will attach common dialogs

           to a parent Window ( e.g: "5489@HWND:Locate a new path:" )

2)    When title="uri://scriptez.dll?path", returns now the full path of scriptez.dll file (v2.37.0)

pVal

[out, retval] The returned value is the selected folder.

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI