Changeset 9849 for trunk/include


Ignore:
Timestamp:
Feb 24, 2003, 6:01:47 PM (23 years ago)
Author:
sandervl
Message:

Added ODIN_IsWin32App + extra icon conversion function

Location:
trunk/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/custombuild.h

    r9829 r9849  
    143143                                LPSTR pszPEGUILoader, INT cchPEGUILoader,
    144144                                LPSTR pszNELoader, INT cchNELoader);
     145
     146//Checks whether program is LX or PE
     147BOOL WIN32API ODIN_IsWin32App(LPSTR lpszProgramPath);
    145148
    146149//Custom build function to disable loading of LX dlls
  • trunk/include/winicon.h

    r581 r9849  
    1 /* $Id: winicon.h,v 1.2 1999-08-19 14:18:24 sandervl Exp $ */
     1/* $Id: winicon.h,v 1.3 2003-02-24 17:01:47 sandervl Exp $ */
    22
    33/*
     
    146146  WORD   wType;              // 1 for icons
    147147  WORD   wCount;             // Number of components
    148 //Fout in docs, geen padding
    149 //  WORD   padding;            // filler for DWORD alignment
    150148} IconHeader;
    151149
     
    182180  DWORD  lBytesInRes;
    183181  WORD   wNameOrdinal;       // Points to component
    184 //Fout in docs, geen padding
    185 //  WORD   padding;            // filler for DWORD alignment
    186182} ResourceDirectory;
    187183
     184typedef struct
     185{
     186        BYTE bWidth;
     187        BYTE bHeight;
     188        BYTE bColorCount;
     189        BYTE bReserved;
     190        WORD wPlanes;
     191        WORD wBitCount;
     192        DWORD dwBytesInRes;
     193        DWORD dwImageOffset;
     194} ICONDIRENTRY;
     195
     196typedef struct
     197{
     198        WORD idReserved;
     199        WORD idType;
     200        WORD idCount;
     201} ICONDIR;
     202
    188203#pragma pack()
    189204
  • trunk/include/winres.h

    r6479 r9849  
    1717
    1818void *WIN32API ConvertIconGroup(void *hdr, HINSTANCE hInstance, DWORD *ressize);
     19void *WIN32API ConvertIconGroupIndirect(void *lpIconData, DWORD iconsize, DWORD *ressize);
    1920
    2021#endif
Note: See TracChangeset for help on using the changeset viewer.