Function CreateImage(w, h, ByRef buffer)
Returns an image created from the buffer provided
Related:
CreateImageEx
LoadImage