Rob Shearman : quartz: Fix testing of HRESULT types with not operator instead of comparing against S_OK .