PHP Code:
HDC bitmapDC;
HBITMAP bitmapHandle;
COLORREF bmpSample;
    
bitmapHandle=(HBITMAP)LoadImage(0,"e:\\mytestsample.bmp",IMAGE_BITMAP,0,0,LR_LOADFROMFILE);
    
bitmapDC GetDC((HWND)bitmapHandle);
    
bmpSample GetPixel(bitmapDC2331);
    
cout << "aaa " << bmpSample << '\n'
I get a 9 digit value for bmpSample lol.