A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



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

Library
Shell32

Parameter Information
- lpbi
Pointer to a BROWSEINFO structure that contains information used to display the dialog box.

Return Values
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.

Last update: 07 April 2006