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

Search Results for "SHBrowseForFolder" in [All]

Interfaces

.
Summary
.
Summary

Structures

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

Delegates

.
Summary

misc

.

I was quite excited when I found this site, but I was somewhat disappointed with the incomplete nature of some of the information. For example, I was looking for some assistance with the SHBrowseForFolder call from Shell32, and I did find it -- but it is only a tease since the definition for BROWSEINFO is not available! OK, so I had figured most of that part out myself, but I then looked for details on SHGetDesktopFolder, and the same thing is true -- there is no definition of the output of that call!

.

[Note from Adam: I just added 2 pages, so SHBrowseForFolder links to the BROWSEINFO structure, which links to the BrowseCallbackProc delegate used as one of its fields. The more that people can add stuff when they don't find it, we'll hopefully have fewer people feeling teased!]

shell32

.
Summary
.

static extern IntPtr SHBrowseForFolder(ref BROWSEINFO lpbi);

.

<DllImport("shell32.dll", SetLastError:=true, EntryPoint:="SHBrowseForFolderW", CharSet:=CharSet.Unicode)> _

.

Public Shared Function SHBrowseForFolder(<MarshalAs(UnmanagedType.Struct)>ByRef lpFileOp As BROWSEINFO) As IntPtr

.

Public Declare Function SHBrowseForFolder Lib "shell32.dll" Alias "SHBrowseForFolderA" _

.

        static extern IntPtr SHBrowseForFolder(ref BROWSEINFO lpbi);

.

                pidl = SHBrowseForFolder(ref bi);

.
Documentation
[SHBrowseForFolder] on MSDN

 
Access PInvoke.net directly from VS: