###User Defined Function###
_WinAPI_DwmGetWindowAttribute

###Description###
Retrieves the current value of a specified attribute applied to the window.

###Syntax###
#include <WinAPIGdi.au3>
_WinAPI_DwmGetWindowAttribute ( $hWnd, $iAttribute )


###Parameters###
@@ParamTable@@
$hWnd
	Handle to the window for which the attribute data is retrieved.
$iAttribute
	The attribute to retrieve. This parameter can be one of the following values:
		$DWMWA_NCRENDERING_ENABLED
		$DWMWA_CAPTION_BUTTON_BOUNDS
		$DWMWA_EXTENDED_FRAME_BOUNDS
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	The value that contains the current value of the attribute.
		The type of the returned value depends on the value of the $iAttribute parameter.
Failure 	0 and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.
@@End@@


###Remarks###
This function requires <strong>Windows Vista or later</strong>.


###Related###


###See Also###
@@MsdnLink@@ DwmGetWindowAttribute


###Example###
@@IncludeExample@@
