It’s possible that your hardware doesn’t support any pixelformats which meet these requirements. You can do a loop over a DescribePixelFormat call (remembering that pixel formats are 1-based) checking if any support (PFD_DRAW_TO_BITMAP | PFD_SUPPORT_OPENGL | PFD_SUPPORT_GDI) and see what comes back.
You have to select the bitmap into the memory device context. (Do you have any experience with GDI? Objects have to be selected in order to be accessed.)
When you setting up the pixel format descriptor, you have to use parameters of the selected bitmap. It is not a window you can play with and set arbitrarily.
Are you sure you really what to render to a bitmap? Although it is possible, it is completely meaningless! There are several reasons, by I’ll list just the most important: no hardware acceleration (it would execute several orders of magnitude slower than it should - at least 100 times) and confined to OpenGL 1.1 (Microsoft’s default sw renderer).
More details about rendering to a bitmap can be found here:
But, once again, stay away from rendering to a bitmap and please consider using FBO instead.