Ignore:
Timestamp:
Dec 6, 2010, 5:24:51 PM (15 years ago)
Author:
dmik
Message:

Aligned the STRRET definition and made it available through shlwapi.h and shlobj.h for compatibility with Win32.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shlwapi/string.c

    r8584 r21512  
    490490            break;
    491491
    492           case STRRET_CSTRA:
     492          case STRRET_CSTR:
    493493            lstrcpynA((LPSTR)dest, src->u.cStr, len);
    494494            break;
    495495
    496           case STRRET_OFFSETA:
     496          case STRRET_OFFSET:
    497497            lstrcpynA((LPSTR)dest, ((LPCSTR)&pidl->mkid)+src->u.uOffset, len);
    498498            break;
     
    535535            break;
    536536
    537           case STRRET_CSTRA:
     537          case STRRET_CSTR:
    538538              if (!MultiByteToWideChar( CP_ACP, 0, src->u.cStr, -1, dest, len ) && len)
    539539                  dest[len-1] = 0;
    540540            break;
    541541
    542           case STRRET_OFFSETA:
     542          case STRRET_OFFSET:
    543543            if (pidl)
    544544            {
Note: See TracChangeset for help on using the changeset viewer.