L_BM_SETBITMAP

Send this message to set the L_BITMAPCLASS window's bitmap to the bitmap referenced by a LEAD bitmap handle.

This is similar to the L_BM_COPYBITMAP message, except that it references the existing bitmap data, instead of making a copy.

Parameter

Meaning

wParam

Specifies whether the window should be redrawn to reflect the image changes. Use 1 to redraw the window, or 0 not to redraw it.

lParam

Specifies a pointer to the LEAD bitmap handle referencing the bitmap.

Returns

SUCCESS

Function was successful.

< 0

An error occurred. Refer to Return Codes.