Changeset 953 for trunk/include/winres.h


Ignore:
Timestamp:
Sep 16, 1999, 1:29:51 AM (26 years ago)
Author:
sandervl
Message:

New headers for kernel32 win32 image classes + removed old ones + nameid.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/winres.h

    r816 r953  
    1 /* $Id: winres.h,v 1.9 1999-09-04 12:42:10 sandervl Exp $ */
     1/* $Id: winres.h,v 1.10 1999-09-15 23:29:08 sandervl Exp $ */
    22
    33/*
     
    1313#define __WINRES_H__
    1414
    15 class Win32Image;
     15class Win32ImageBase;
    1616
    1717//Use to distinguish between converted OS/2 resources in an image (pe2lx'ed) or
     
    2727                   // Constructors and destructors
    2828                   Win32Resource(); //custum resource (i.e. created by app in runtime)
    29                    Win32Resource(Win32Image *module, HRSRC hRes, ULONG id, ULONG type);
    30                    Win32Resource(Win32Image *module, ULONG id, ULONG type,
     29                   Win32Resource(Win32ImageBase *module, HRSRC hRes, ULONG id, ULONG type);
     30                   Win32Resource(Win32ImageBase *module, ULONG id, ULONG type,
    3131                                 ULONG size, char *resdata);
    3232    virtual       ~Win32Resource();
     
    4343              void setOS2Handle(ULONG handle)   { OS2ResHandle = handle; };
    4444
    45     static    void destroyAll(Win32Image *module);
     45    static    void destroyAll(Win32ImageBase *module);
    4646
    4747protected:
     
    5151             PVOID convertResource(void *win32res);
    5252
    53        Win32Image *module;
     53    Win32ImageBase *module;
    5454
    5555             HRSRC hres;
     
    7272
    7373private:
    74     friend    class Win32Image;
     74    friend    class Win32ImageBase;
    7575};
    7676
     
    9797
    9898
     99#define MAX_RES 17
     100extern char *ResTypes[MAX_RES];
     101
    99102#endif
Note: See TracChangeset for help on using the changeset viewer.