Changeset 363 for trunk/src


Ignore:
Timestamp:
Jul 22, 1999, 1:23:06 PM (26 years ago)
Author:
sandervl
Message:

* empty log message *

Location:
trunk/src
Files:
2 edited

Legend:

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

    r125 r363  
    1 /* $Id: os2util.cpp,v 1.5 1999-06-19 17:58:32 sandervl Exp $ */
     1/* $Id: os2util.cpp,v 1.6 1999-07-22 11:22:42 sandervl Exp $ */
    22
    33/*
     
    193193   if(rc) {
    194194    dprintf(("OS2GetResource: Can't get resource size of %d!!!\n", id));
    195     return(0);
     195    return(FALSE);
    196196   }
    197197   rc = DosGetResource(hinstance, RT_RCDATA, id, (PPVOID)&resdata);
    198198   if(rc) {
    199199    dprintf(("OS2GetResource: Can't find resource %d!!!\n", id));
    200     return(0);
     200    return(FALSE);
    201201   }
    202202   dprintf(("OS2GetResoure: bufLength %d, size %d, id %d", bufLength, size, id));
     
    205205   DosFreeResource(resdata);
    206206
    207    return(FALSE);
     207   return(TRUE);
    208208}
    209209
  • trunk/src/pe2lx/pe.cpp

    r281 r363  
    1 /* $Id: pe.cpp,v 1.6 1999-07-07 08:11:11 sandervl Exp $ */
     1/* $Id: pe.cpp,v 1.7 1999-07-22 11:23:06 sandervl Exp $ */
    22
    33/*
     
    685685//to retrieve the original for win32's version apis
    686686//TODO: Only supports one version resource (who would want to use more??)
     687//Allocate unique id for version resource to prevent conflicts
     688                                id = OS2Exe.GetUniqueId();
    687689                                OS2Exe.SetVersionResourceId(id);
    688690                        case NTRT_RCDATA:
Note: See TracChangeset for help on using the changeset viewer.