function CreateImage(w, h, byref buffer)

Returns an image created from the buffer provided


Related: CreateImageEx LoadImage