There are a number of reasons why the call to FindResourceW can fail.
The first thing to do is to call GetLastError() when the call fails. Tell us what error code was returned.
If the resource.h file contains a #define statement for IN_BITMAP then passing L"IN_BITMAP" is an error. Instead, pass MAKEINTRESOURCE(IN_BITMAP).
Instead of passing L"BITMAP" as the resource type pass RT_BITMAP.
If the resource resides in an .exe file's resources you can pass NULL as the module handle. If it resides in a DLL then you need to pass the HMODULE for that DLL to the function.
The DISCARDABLE bitmap attribute is obsolete and can be removed.
There's not enough information provided in your question to identify the actual error.
Finally, the code should use LoadImageW or LoadBitmapW if it will actually load a bitmap. Its not clear what purpose is served by calling FindResourceW since obtaining an HRSRC handle does not make that resource immediately available for use.