How to retrieve bitmap bits using windows API ?

I need to know if there are any functions that can retrieve bits from a bitmap using only API-functions. Because I use VB I can’t use memory functions of C++, and reading the bitmap bit by bit is to slow for me.

Can anybody help me ?

Thanks,

Edo

i suggest to use DIB’s and the GetDIBits() function to access the bitmap data directly.