IVsWindowFrame3.CreateThumbnail(Int32, Int32, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new thumbnail with the best fit possible within the bounds of the provided width and height.
public:
int CreateThumbnail(int width, int height, [Runtime::InteropServices::Out] IntPtr % thumbnail);
public int CreateThumbnail (int width, int height, out IntPtr thumbnail);
abstract member CreateThumbnail : int * int * nativeint -> int
Public Function CreateThumbnail (width As Integer, height As Integer, ByRef thumbnail As IntPtr) As Integer
Parameters
- width
- Int32
[in] The width.
- height
- Int32
[in] The height.
- thumbnail
-
IntPtr
nativeint
[out] An HBITMAP for the thumbnail.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.