Ignore:
Timestamp:
Feb 23, 2000, 1:57:40 AM (26 years ago)
Author:
sandervl
Message:

Fixed wrong calling convention for SetLastError calls in OSLibiGetModuleHandleA

File:
1 edited

Legend:

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

    r2802 r2865  
    1 /* $Id: winimgres.cpp,v 1.31 2000-02-16 14:22:12 sandervl Exp $ */
     1/* $Id: winimgres.cpp,v 1.32 2000-02-23 00:57:40 sandervl Exp $ */
    22
    33/*
     
    336336    return(ressize);
    337337}
    338 //******************************************************************************
    339 //******************************************************************************
    340 #if 0
    341 ULONG Win32Pe2LxImage::getVersionSize()
    342 {
    343     if(getVersionId() == -1) {
    344         dprintf(("GetVersionSize: %s has no version resource!\n", szModule));
    345         return(0);
    346     }
    347     return OSLibGetResourceSize(hinstance, getVersionId());
    348 }
    349 //******************************************************************************
    350 //******************************************************************************
    351 BOOL Win32Pe2LxImage::getVersionStruct(char *verstruct, ULONG bufLength)
    352 {
    353     if(getVersionId() == -1) {
    354         dprintf(("GetVersionStruct: %s has no version resource!\n", szModule));
    355         SetLastError(ERROR_RESOURCE_DATA_NOT_FOUND);
    356         return(FALSE);
    357     }
    358     return OSLibGetResource(hinstance, getVersionId(), verstruct, bufLength);
    359 }
    360 #endif
    361338//******************************************************************************
    362339//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.