Im
MSDN:
Shellexecute.
Zitat:
The return value is cast as an HINSTANCE for backward compatibility with 16-bit Windows applications. It is not a true HINSTANCE, however. The only thing that can be done with the returned HINSTANCE is to cast it to an int and compare it with the value 32 or one of the error codes below.
Nö. Nicht immer. Bei manchen Funktionen ist es genau andersrum.