What am I doing wrong, I always get a zero value for hBmp.

hBmp = LoadImage(Picture2.hdc, 0, IMAGE_BITMAP, 0, 0, LR_DEFAULTSIZE)

I am trying to copy the image in picture to the hBmp.

Thanks in advance,