Dialog procedure drawing a bitmap. allegro game programming library.
#include <allegro.h>
int d_bitmap_proc(int msg, DIALOG *d, int c);
This draws a bitmap onto the screen, which should be pointed to by the dp field.
exgui(3alleg4), exrgbhsv(3alleg4)