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/shell32/shlfolder.c

    r10185 r21512  
    12131213            return E_OUTOFMEMORY;
    12141214        }
    1215         strRet->uType = STRRET_CSTRA;
     1215        strRet->uType = STRRET_CSTR;
    12161216        lstrcpynA(strRet->u.cStr, szPath, MAX_PATH);
    12171217
     
    13561356          psd->fmt = GenericSFHeader[iColumn].fmt;
    13571357          psd->cxChar = GenericSFHeader[iColumn].cxChar;
    1358           psd->str.uType = STRRET_CSTRA;
     1358          psd->str.uType = STRRET_CSTR;
    13591359          LoadStringA(shell32_hInstance, GenericSFHeader[iColumn].colnameid, psd->str.u.cStr, MAX_PATH);
    13601360          return S_OK;
     
    13821382          }
    13831383          hr = S_OK;
    1384           psd->str.uType = STRRET_CSTRA;
     1384          psd->str.uType = STRRET_CSTR;
    13851385        }
    13861386
     
    20202020            return E_OUTOFMEMORY;
    20212021        }
    2022         strRet->uType = STRRET_CSTRA;
     2022        strRet->uType = STRRET_CSTR;
    20232023        lstrcpynA(strRet->u.cStr, szPath, MAX_PATH);
    20242024
     
    21022102          psd->fmt = DesktopSFHeader[iColumn].fmt;
    21032103          psd->cxChar = DesktopSFHeader[iColumn].cxChar;
    2104           psd->str.uType = STRRET_CSTRA;
     2104          psd->str.uType = STRRET_CSTR;
    21052105          LoadStringA(shell32_hInstance, DesktopSFHeader[iColumn].colnameid, psd->str.u.cStr, MAX_PATH);
    21062106          return S_OK;
     
    21282128          }
    21292129          hr = S_OK;
    2130           psd->str.uType = STRRET_CSTRA;
     2130          psd->str.uType = STRRET_CSTR;
    21312131        }
    21322132
     
    25012501            return E_OUTOFMEMORY;
    25022502        }
    2503         strRet->uType = STRRET_CSTRA;
     2503        strRet->uType = STRRET_CSTR;
    25042504        lstrcpynA(strRet->u.cStr, szPath, MAX_PATH);
    25052505
     
    25852585          psd->fmt = MyComputerSFHeader[iColumn].fmt;
    25862586          psd->cxChar = MyComputerSFHeader[iColumn].cxChar;
    2587           psd->str.uType = STRRET_CSTRA;
     2587          psd->str.uType = STRRET_CSTR;
    25882588          LoadStringA(shell32_hInstance, MyComputerSFHeader[iColumn].colnameid, psd->str.u.cStr, MAX_PATH);
    25892589          return S_OK;
     
    25952595
    25962596          psd->str.u.cStr[0] = 0x00;
    2597           psd->str.uType = STRRET_CSTRA;
     2597          psd->str.uType = STRRET_CSTR;
    25982598          switch(iColumn)
    25992599          {
Note: See TracChangeset for help on using the changeset viewer.