Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

BROWSEINFO (Structures)
 
.
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

Structure BROWSEINFO
    Public hwndOwner As IntPtr
    Public pidlRoot As IntPtr
    Public pszDisplayName As IntPtr
    Public lpszTitle As String
    Public ulFlags As UInt32
    Public lpfn As BrowseCallbackProc
    Public lParam As IntPtr
    Public iImage As Int32
End Structure

Notes:

None.

User-Defined Field Types:

BrowseCallbackProc

Notes:

None.

Documentation
BROWSEINFO on MSDN

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions