SHBrowseForFolder Displays a dialog box that enables the user to select a shell folder.
VB4-32,5,6
Declare Function SHBrowseForFolder Lib "shell32" (lpbi As BrowseInfo) As Long |
Operating Systems Supported |
Requires Windows NT 4.0 or later; Requires Windows 95 or later |
- lpbi
Pointer to a BROWSEINFO structure that contains information used to display the dialog box. |
Returns a pointer to an item identifier list that specifies the location of the selected folder relative to the root of the name space. If the user chooses the Cancel button in the dialog box, the return value is NULL.
The calling application is responsible for freeing the returned item identifier list using the shell’s task allocator. |
|