Changeset 93 for trunk/include/helpers


Ignore:
Timestamp:
Aug 3, 2001, 8:52:44 PM (24 years ago)
Author:
umoeller
Message:

Misc changes

Location:
trunk/include/helpers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/dosh.h

    r91 r93  
    725725
    726726        // New Executable (NE) header, if ulExeFormat == EXEFORMAT_NE
     727#ifndef __STRIP_DOWN_EXECUTABLE__       // for mini stubs in warpin, to reduce code size
    727728        PNEHEADER           pNEHeader;
    728729        ULONG               cbNEHeader;
     730#endif
    729731
    730732        // Linear Executable (LX) header, if ulExeFormat == EXEFORMAT_LX
     
    733735
    734736        // Portable Executable (PE) header, if ulExeFormat == EXEFORMAT_PE
     737#ifndef __STRIP_DOWN_EXECUTABLE__       // for mini stubs in warpin, to reduce code size
    735738        PPEHEADER           pPEHeader;
    736739        ULONG               cbPEHeader;
    737 
     740#endif
    738741        // module analysis (always set):
    739742        ULONG               ulExeFormat;
  • trunk/include/helpers/gpih.h

    r91 r93  
    7878    #define RGBCOL_DARKYELLOW       0x00808000
    7979    #define RGBCOL_DARKGRAY         0x00808080
     80
     81    /*
     82     *@@ GET_BLUE:
     83     *      gets the BLUE (first) byte from a
     84     *      LONG RGB value.
     85     *
     86     *@@added V0.9.14 (2001-08-03) [umoeller]
     87     */
     88
     89    #define GET_BLUE(lcol)  *( ((PBYTE)(&(lcol))) )
     90
     91    /*
     92     *@@ GET_GREEN:
     93     *      gets the GREEN (second) byte from a
     94     *      LONG RGB value.
     95     *
     96     *@@added V0.9.14 (2001-08-03) [umoeller]
     97     */
     98
     99    #define GET_GREEN(lcol) *( ((PBYTE)(&(lcol))) + 1 )
     100
     101    /*
     102     *@@ GET_RED:
     103     *      gets the RED (third) byte from a
     104     *      LONG RGB value.
     105     *
     106     *@@added V0.9.14 (2001-08-03) [umoeller]
     107     */
     108
     109    #define GET_RED(lcol)   *( ((PBYTE)(&(lcol))) + 2 )
     110
     111    /*
     112     *@@ MAKE_RGB:
     113     *      composes a LONG color value from
     114     *      three BYTE values for red, green,
     115     *      and blue.
     116     *
     117     *@@added V0.9.14 (2001-08-03) [umoeller]
     118     */
     119
     120    #define MAKE_RGB(r, g, b) (LONG)((BYTE)(b)) + (((LONG)((BYTE)(g))) << 8) + (((LONG)((BYTE)(r))) << 16)
    80121
    81122    VOID XWPENTRY gpihManipulateRGB(PLONG plColor, double dFactor);
Note: See TracChangeset for help on using the changeset viewer.