Conversão implícita entre tipos inteiros semanticamente diferentes: comparando HRESULT a 1 ou TRUE. Considere alternativamente ...

Conversão implícita entre tipos inteiros semanticamente diferentes: comparando HRESULT a 1 ou TRUE.  Considere alternativamente utilizar a macro SUCCEEDED ou FAILED.
Conversão implícita entre tipos inteiros semanticamente diferentes:  comparando HRESULT a 1 ou TRUE. Considere alternativamente utilizar a macro SUCCEEDED ou FAILED.