Conversión implícita entre tipos enteros semánticamente diferentes: comparando HRESULT con -1. Considere usar en su lugar ...

Conversión implícita entre tipos enteros semánticamente diferentes: comparando HRESULT con -1. Considere usar en su lugar la macro SUCCEEDED o FAILED.
Conversión implícita entre tipos enteros semánticamente diferentes:  comparando HRESULT con -1. Considere usar en su lugar la macro SUCCEEDED o FAILED.