On Tue, Nov 24, 2009 at 9:10 AM, Dmitry Timoshkov
wrote:
> "Roderick Colenbrander" wrote:
>
>> +/* Nvidia converts win32 error codes to (0xc007 << 16) | win32_error_code
>> */
>> +#define NVIDIA_HRESULT_FROM_WIN32(x) (HRESULT_FROM_WIN32(x) | 0x4000)
>
> Using MAKE_HRESULT() with appropriate s
"Roderick Colenbrander" wrote:
+/* Nvidia converts win32 error codes to (0xc007 << 16) | win32_error_code */
+#define NVIDIA_HRESULT_FROM_WIN32(x) (HRESULT_FROM_WIN32(x) | 0x4000)
Using MAKE_HRESULT() with appropriate severity and facility would be
cleaner IMO.
--
Dmitry.