source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/mdcommsg.h@ 1167

Last change on this file since 1167 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 448 bytes
RevLine 
[1166]1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef _COMMSG_H_
7#define _COMMSG_H_
8
9#define RETURNCODETOHRESULT(rc) (((rc) < 0x10000) ? HRESULT_FROM_WIN32(rc) : (rc))
10#define HRESULTTOWIN32(hres) ((HRESULT_FACILITY(hres)==FACILITY_WIN32) ? HRESULT_CODE(hres) : (hres))
11
12#endif
Note: See TracBrowser for help on using the repository browser.