Ignore:
Timestamp:
Jan 29, 2011, 3:39:34 PM (14 years ago)
Author:
イグトランス (egtra)
Message:

アイコン読込のテストのコードを整理。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.cpp

    r781 r782  
    99    auto pResource = LockResource(hMem);
    1010
    11     int idIcon = LookupIconIdFromDirectoryEx(reinterpret_cast<PBYTE>(pResource), TRUE, cxDesired, cyDesired, load);
     11    auto idIcon = LookupIconIdFromDirectoryEx(reinterpret_cast<PBYTE>(pResource), TRUE, cxDesired, cyDesired, load);
    1212    auto hrsrcIcon = FindResource(hinst, MAKEINTRESOURCE(idIcon), MAKEINTRESOURCE(RT_ICON));
    1313    auto hIconMem = LoadResource(hinst, hrsrcIcon);
     
    1515
    1616    return CreateIconFromResourceEx(reinterpret_cast<PBYTE>(pResourceIcon),
    17         SizeofResource(hinst, hrsrcIcon), TRUE, 0x00030000,
    18         cxDesired, cyDesired, load);
     17        SizeofResource(hinst, hrsrcIcon), TRUE, 0x00030000, cxDesired, cyDesired, load);
    1918}
    2019
Note: See TracChangeset for help on using the changeset viewer.