Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Interfaces, prefix the name with the module name and a period.
IThumbnailCache (Interfaces)
.
C# Definition:
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("F676C15D-596A-4ce2-8234-33996F445DB1")]
public interface IThumbnailCache
{
uint GetThumbnail(
[In] IShellItem pShellItem,
[In] uint cxyRequestedThumbSize,
[In] WTS_FLAGS flags /*default: WTS_FLAGS.WTS_EXTRACT*/,
[Out][MarshalAs(UnmanagedType.Interface)] out ISharedBitmap ppvThumb,
[Out] out WTS_CACHEFLAGS pOutFlags,
[Out] out WTS_THUMBNAILID pThumbnailID
);
void GetThumbnailByID(
[In, MarshalAs(UnmanagedType.Struct)] WTS_THUMBNAILID thumbnailID,
[In] uint cxyRequestedThumbSize,
[Out][MarshalAs(UnmanagedType.Interface)] out ISharedBitmap ppvThumb,
[Out] out WTS_CACHEFLAGS pOutFlags
);
}
VB Definition:
<ComImport> _
<Guid("TODO")> _
'TODO: Insert <InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _ if this doesn't derive from IDispatch
Interface IThumbnailCache
TODO
End Interface
Guid IID_IUnknown = new Guid("00000000-0000-0000-C000-000000000046");
Guid CLSID_LocalThumbnailCache = new Guid("50EF4544-AC9F-4A8E-B21B-8A26180DB13F");
IntPtr cachePointer;
CoCreateInstance(CLSID_LocalThumbnailCache, IntPtr.Zero, CLSCTX.CLSCTX_INPROC, IID_IUnknown, out cachePointer);