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 "BROWSEINFO" in [All]

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

.

static extern IntPtr SHBrowseForFolder(ref BROWSEINFO lpbi);

.

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

.

        (prmtypBrowseInfo As BROWSEINFO) As Long

.

BROWSEINFO

.

        private uint BIF_STATUSTEXT     = 0x0004;  // Top of the dialog has 2 lines of text for BROWSEINFO.lpszTitle and one line if

.

        // rest of the text.  This is not used with BIF_USENEWUI and BROWSEINFO.lpszTitle gets

.

        static extern IntPtr SHBrowseForFolder(ref BROWSEINFO lpbi);

.

          // Note that the BROWSEINFO object's pszDisplayName only gives you the name of the folder.

.

        struct BROWSEINFO

.

            BROWSEINFO bi = new BROWSEINFO();

Structures

.

struct BROWSEINFO

.

Public Structure BROWSEINFO

.

     <MarshalAs(UnmanagedType.U4)>Public ulFlags As BrowseInfoFlags

.

Public Type BROWSEINFO

.

    ulFlags As BrowseInfoFlag

.

BrowseCallbackProc, BrowseInfoFlags

.
Documentation
[BROWSEINFO] on MSDN

Enums

.
Summary
BrowseInfoFlags - Flags for ulFlags element of BROWSEINFO
.

public enum BrowseInfoFlags : uint

.

Public Enum BrowseInfoFlags As UInteger

.

Public Enum BrowseInfoFlags

.
Documentation
[BrowseInfoFlags] on MSDN

 
Access PInvoke.net directly from VS: