Declaration | Declare Function AlphaBlend Lib "msimg32.dll" (ByVal hdc As Long, ByVal lInt As Long, ByVal lInt As Long, ByVal lInt As Long, ByVal lInt As Long, ByVal hdc As Long, ByVal lInt As Long, ByVal lInt As Long, ByVal lInt As Long, ByVal lInt As Long, ByVal BLENDFUNCT As Long) As Long |
Parameters |
blendFunction [in] Specifies the alpha-blending function for source and destination bitmaps, a global alpha value to be applied to the entire source bitmap, and format information for the source bitmap. The source and destination blend functions are currently limited to AC_SRC_OVER. See the BLENDFUNCTION and EMRALPHABLEND structures. |
Return Values | If the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE. Windows NT/ 2000: To get extended error information, call GetLastError. This can return the following value. ERROR_INVALID_PARAMETER One or more of the input parameters is invalid. |
AlphaBlend
The AlphaBlend function displays bitmaps that have transparent or semitransparent pixels.