windows-nt/Source/XPSP1/NT/shell/comctl32/v6/unixstuff.h
2020-09-26 16:20:57 +08:00

22 lines
551 B
C

#ifndef _COMCTL32_UNIXSTUFF_H_
#define _COMCTL32_UNIXSTUFF_H_
#define ARROW_WIDTH 4
#define ARROW_HEIGHT 4
#define CHECK_FREE( ptr ) { if(ptr) { free(ptr); ptr = NULL; } }
STDAPI_(void) UnixPaintArrow(HDC hDC, BOOL bHoriz, BOOL bDown, int nXCenter, int nYCenter, int nWidth, int nHeight);
/* We need this for the unaligned template classes to work after
* fixing the mmsystem.h header.
*/
#if defined(MWBIG_ENDIAN)
#ifdef mmioFOURCC
#undef mmioFOURCC
#endif
#define mmioFOURCC(ch0, ch1, ch2, ch3) MAKEFOURCC(ch3, ch2, ch1, ch0)
#endif
#endif