Changeset 932 for trunk/src/kernel32/winres.cpp
- Timestamp:
- Sep 14, 1999, 6:55:38 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winres.cpp
r921 r932 1 /* $Id: winres.cpp,v 1.1 6 1999-09-13 14:31:06sandervl Exp $ */1 /* $Id: winres.cpp,v 1.17 1999-09-14 16:55:38 sandervl Exp $ */ 2 2 3 3 /* … … 28 28 #include <winres.h> 29 29 #include <misc.h> 30 #include <winexebase.h> 30 31 #include <winexepe2lx.h> 31 #include <windllpe2lx.h>32 32 #include "cvtresource.h" 33 33 #include <vmutex.h> 34 34 35 35 VMutex resmutex; 36 37 char *ResTypes[MAX_RES] =38 {"niks", "CURSOR", "BITMAP", "ICON", "MENU", "DIALOG", "STRING",39 "FONTDIR", "FONT", "ACCELERATOR", "RCDATA", "MESSAGETABLE",40 "GROUP_CURSOR", "niks", "GROUP_ICON", "niks", "VERSION"};41 36 42 37 //****************************************************************************** … … 97 92 os2resdata(NULL), winresdata(NULL), resType(RSRC_CUSTOMNODATA) 98 93 { 99 next = NULL;100 94 module = NULL; 101 102 95 id = -1; 103 96 type = -1; … … 248 241 case NTRT_MENU: 249 242 case NTRT_DIALOG: 250 { 251 // newid = ((Win32Pe2LxImage *)module)->getWin32ResourceId(id); 243 newid = ((Win32Pe2LxImage *)module)->getWin32ResourceId(id); 252 244 253 245 rc = DosGetResource((HMODULE)module->hinstance, RT_RCDATA, (int)newid, (PPVOID)&resdata); … … 259 251 memcpy(winresdata, resdata, ressize); 260 252 break; 261 }262 253 263 254 //TODO:not yet implemented
Note:
See TracChangeset
for help on using the changeset viewer.