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

IThumbnailProvider (Interfaces)
 
.
Summary
The IThumbnailProvider interface is used to request a thumbnail image from a Shell folder.

C# Definition:

    [ComImport]
    [Guid("E357FCCD-A995-4576-B01F-234630154E96")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    interface IThumbnailProvider {
        void GetThumbnail(
            int cx,
            out IntPtr phbmp,
            out WTS_ALPHATYPE pdwAlpha
            );
    }

User-Defined Types (C#):

    enum WTS_ALPHATYPE {
        WTSAT_UNKNOWN = 0,
        WTSAT_RGB = 1,
        WTSAT_ARGB = 2,
    }

VB Definition:

    <ComImport> _
    <Guid("E357FCCD-A995-4576-B01F-234630154E96")> _
    <InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _
    Interface IThumbnailProvider
        Sub GetThumbnail(cx As Integer, ByRef phbmp As IntPtr, ByRef pdwAlpha As WTS_ALPHATYPE)
    End Interface

User-Defined Types (VB):

    Enum WTS_ALPHATYPE
        WTSAT_UNKNOWN = 0
        WTSAT_RGB = 1
        WTSAT_ARGB = 2
    End Enum

Notes:

None.

Documentation

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