BROWSEINFO (Structures)
Last changed: -202.74.138.1

.
Summary
Contains parameters for the SHBrowseForFolder function and receives information about the folder selected by the user.

C# Definition:

[StructLayout(LayoutKind.Sequential)]
struct BROWSEINFO
{
    public IntPtr hwndOwner;
    public IntPtr pidlRoot;
    public IntPtr pszDisplayName;
    [MarshalAs(UnmanagedType.LPTStr)]
    public string lpszTitle;
    public uint ulFlags;
    public BrowseCallbackProc lpfn;
    public IntPtr lParam;
    public int iImage;
}

VB.NET Definition:

Public Structure BROWSEINFO
     Public hwndOwner As IntPtr
     Public pidlRoot As IntPtr
     <MarshalAs(UnmanagedType.LPTStr)>Public pszDisplayName As String
     <MarshalAs(UnmanagedType.LPTStr)>Public lpszTitle As String
     <MarshalAs(UnmanagedType.U4)>Public ulFlags As BrowseInfoFlags
     <MarshalAs(UnmanagedType.FunctionPtr)>Public lpfn As BrowseCallbackProc
     Public lParam As IntPtr
     Public iImage As Integer
End Structure

VB Definition:

Public Type BROWSEINFO
    hOwner As Long
    pidlRoot As Long
    pszDisplayName As String
    lpszTitle As String
    ulFlags As BrowseInfoFlag
    lpfn As Long
    lParam As Long
    iImage As Long
End Type

User-Defined Field Types:

BrowseCallbackProc, BrowseInfoFlags

Notes:

None.

Documentation
BROWSEINFO on MSDN