Function Reference


_WinAPI_IsAlphaBitmap

Determines whether the specified bitmap has an alpha channel

#include <WinAPIGdi.au3>
_WinAPI_IsAlphaBitmap ( $hBitmap )

Parameters

$hBitmap Handle to the bitmap to test. This bitmap must be a 32 bits-per-pixel.

Return Value

Success: True - The specified bitmap has an alpha channel.
False - Otherwise.
Failure: Sets the @error flag to non-zero.

Remarks

This function only works with 32 bits-per-pixel uncompressed bitmaps. If the source bitmap is non 32 bits-per-pixel
bitmap, or is a compressed bitmap, the _WinAPI_IsAlphaBitmap() always returns 0.