Function Reference


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

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


$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.


This function requires Windows Vista or later.

See Also

Search DwmQueryThumbnailSourceSize in MSDN Library.