'LRESULT' is a type cast to an otherwise obscure number. Microsoft does this kind of thing a lot so that you have an idea of what kind of result the return type represents. 'CALLBACK' is a function calling convention, this describes how the function is to be called to the compiler. The C++ standard only mandates the support of two calling conventions, C and C++. But Microsoft compilers and a few others add more to this.