Sha256: 226d511971d073e5a58e1a08611762f487d0146f57c566b1700cf85e9c65b14a
Contents?: true
Size: 576 Bytes
Versions: 76
Compression:
Stored size: 576 Bytes
Contents
//Utility macros used for error-checking, etc. #pragma once #define _ErrorLabel Error #define CHR(hResult) \ if(FAILED(hResult)) { hr = (hResult); goto _ErrorLabel;} #define CPR(pPointer) \ if(NULL == (pPointer)) { hr = (E_OUTOFMEMORY); goto _ErrorLabel;} #define CBR(fBool) \ if(!(fBool)) { hr = (E_FAIL); goto _ErrorLabel;} #if defined (_WIN32_WCE) #define ARRAYSIZE(s) (sizeof(s) / sizeof(s[0])) #endif #define RELEASE_OBJ(s) \ if (s != NULL) \ { \ s->Release(); \ s = NULL; \ }
Version data entries
76 entries across 76 versions & 1 rubygems