You are trying to load a bitmap as a ToolBar resource. A toolbar resource looks like:
IDR_MAINFRAME TOOLBAR DISCARDABLE 16, 15
You call LoadToolBar to load this resource, and then call CToolBar Class : LoadBitmap | Microsoft Learn
] to load the matching bitmap. As always you should make use of the documentation to guide you.