Asynchronously extracts the thumbnail image of the currently active shell object in the requested size.
Only for folders on Vista or later the size will always be quadratic with side length being the smallest of either p_Size.Width or p_Size.Height,
to avoid a stretching - use the synchronous call GetThumbnailBitmap(Size) if you'd like to explicitly specify the dimensions
| C# | Visual Basic | Visual C++ |
public void GetThumbnailBitmap( Size p_Size, ShellBrowser..::.GetThumbnailCallback p_CallBack, Object p_State, int handle )
Public Sub GetThumbnailBitmap ( _ p_Size As Size, _ p_CallBack As ShellBrowser..::.GetThumbnailCallback, _ p_State As Object, _ handle As Integer _ )
public: void GetThumbnailBitmap( Size p_Size, ShellBrowser..::.GetThumbnailCallback^ p_CallBack, Object^ p_State, int handle )
- p_Size (Size)
- The size the returned thumbnail should have.
- p_CallBack (ShellBrowser..::.GetThumbnailCallback)
- The method to be called when this asynchronous operation is completed.
- p_State (Object)
- An optional, user-provided object that distinguishes this particular asynchronous request from other requests.
- handle (Int32)
- The handle of the calling control. Used to tag the WorkerItems and to remove old WorkerItems tagged with this handle.
An IAsyncResult that represents the result of the BeginInvoke operation.