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

Structures

.

Used by the SHGetFileInfo.

shell32

.
Summary
.

public static extern IntPtr SHGetFileInfo(string pszPath, uint dwFileAttributes, ref SHFILEINFO psfi, uint cbFileInfo, uint uFlags);

.

Function SHGetFileInfo _

.

For a whole winform sample of Displayname see http://Dzaebel.NET/ShGetFileInfo.htm

.

    private static extern int  SHGetFileInfo(

.

        SHGetFileInfo(strPath, 256, out info,(uint)cbFileInfo, flags);

.

        public static extern IntPtr SHGetFileInfo(string pszPath, uint dwFileAttributes, ref SHFILEINFO psfi, uint cbSizeFileInfo, uint uFlags);

.

        IntPtr hImgSmall = Win32.SHGetFileInfo(fileName, 0, ref shinfo, (uint)Marshal.SizeOf(shinfo), Win32.SHGFI_ICON | flags);

.
Documentation
[SHGetFileInfo] on MSDN
.

static extern TODO SHGetFileInfoA(TODO);

.

Declare Function SHGetFileInfoA Lib "shell32.dll" (TODO) As TODO

.
Documentation
[SHGetFileInfoA] on MSDN

 
Access PInvoke.net directly from VS: