Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
283 B

#ifndef __WV_MACROS_H_
#define __WV_MACROS_H_
#define IfFailRet(hresult) {hr = (hresult); if (FAILED(hr)) return hr;}
#define IfFailGo(hresult) {hr = (hresult); if (FAILED(hr)) goto done;}
#define IfFalseRet(val, hr) {if ((val) == 0) return (hr);}
#endif // __WV_MACROS_H_