# Function Reference

# _WinAPI_DwmQueryThumbnailSourceSize

Returns the source size of the Desktop Window Manager (DWM) thumbnail

#include <WinAPIGdi.au3>
_WinAPI_DwmQueryThumbnailSourceSize ( $hThumbnail )

## Parameters

$hThumbnail | Handle of the thumbnail to retrieve the source window size from.

## Return Value

Success: | $tagSIZE structure that contains the size of the source thumbnail.
Failure: | Sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

## Remarks

This function requires Windows Vista or later.

## See Also

Search DwmQueryThumbnailSourceSize in MSDN Library.