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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy
BROWSEINFO (Structures)
 
.
Summary
Contains parameters for the SHBrowseForFolder function and receives information about the folder selected by the user.

C# Definition:

[StructLayout(LayoutKind.Sequential)]
public struct BrowseInfo
{
    public IntPtr hwndOwner;
    public IntPtr pidlRoot;
    [Out] public StringBuilder displayname;
    public string title;
    public int flags;
    public BrowseCallBackProc callback;
    public IntPtr lparam;
    public int iImage;
}

User-Defined Field Types:

BrowseCallbackProc

Notes:

Flags:

const readonly int BIF_BROWSEFORCOMPUTER  = 0x1000;  // Browsing for Computers
const readonly int BIF_BROWSEFORPRINTER   = 0x2000;  // Browsing for Printers
const readonly int BIF_BROWSEINCLUDEFILES = 0x4000;  // Browsing for Everything
const readonly int BIF_RETURNONLYFSDIRS = 1;  // For finding a folder to start document searching
const readonly int BIF_DONTGOBELOWDOMAIN = 2;  // For starting the Find Computer
const readonly int BIF_STATUSTEXT = 4;
const readonly int BIF_RETURNFSANCESTORS = 8;
const readonly int BIF_EDITBOX = 16;
const readonly int BIF_VALIDATE = 32;

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
Find References
Show Printable Version
Revisions