Ignore:
Timestamp:
Sep 14, 1999, 6:55:38 PM (26 years ago)
Author:
sandervl
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/winres.cpp

    r921 r932  
    1 /* $Id: winres.cpp,v 1.16 1999-09-13 14:31:06 sandervl Exp $ */
     1/* $Id: winres.cpp,v 1.17 1999-09-14 16:55:38 sandervl Exp $ */
    22
    33/*
     
    2828#include <winres.h>
    2929#include <misc.h>
     30#include <winexebase.h>
    3031#include <winexepe2lx.h>
    31 #include <windllpe2lx.h>
    3232#include "cvtresource.h"
    3333#include <vmutex.h>
    3434
    3535VMutex 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"};
    4136
    4237//******************************************************************************
     
    9792        os2resdata(NULL), winresdata(NULL), resType(RSRC_CUSTOMNODATA)
    9893{
    99   next       = NULL;
    10094  module     = NULL;
    101 
    10295  id         = -1;
    10396  type       = -1;
     
    248241    case NTRT_MENU:
    249242    case NTRT_DIALOG:
    250     {
    251 //        newid = ((Win32Pe2LxImage *)module)->getWin32ResourceId(id);
     243        newid = ((Win32Pe2LxImage *)module)->getWin32ResourceId(id);
    252244
    253245        rc = DosGetResource((HMODULE)module->hinstance, RT_RCDATA, (int)newid, (PPVOID)&resdata);
     
    259251        memcpy(winresdata, resdata, ressize);
    260252        break;
    261     }
    262253
    263254    //TODO:not yet implemented
Note: See TracChangeset for help on using the changeset viewer.