Use the _HRESULT_TYPEDEF_ macro to ensure that the error codes get the correct type.
Attach a file by drag & drop or click to upload