See the question and my original answer on StackOverflow

The free online site https://www.magnumdb.com (disclaimer: I wrote it) is a tool that will give you all values you want (it has around 400000 values/name pairs extracted from the whole Windows SDK and DDK, and also some Visual Studio headers), for example:

https://www.magnumdb.com/search?q=CB_FINDSTRING

enter image description here

It also works the other way around: https://www.magnumdb.com/search?q=332

It will give you the computed value (you can also see the input source) and is especially useful for people who are not using C/C++.