Ignore:
Timestamp:
Feb 17, 2001, 8:39:11 PM (25 years ago)
Author:
sandervl
Message:

YD: header changes

File:
1 edited

Legend:

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

    r4467 r5154  
    1 /* $Id: ole2nls.cpp,v 1.6 2000-10-09 17:47:22 sandervl Exp $ */
     1/* $Id: ole2nls.cpp,v 1.7 2001-02-17 19:37:16 sandervl Exp $ */
    22
    33/*
     
    30473047 */
    30483048INT WINAPI GetDateFormatA(LCID locale,DWORD flags,
    3049                               LPSYSTEMTIME xtime,
    3050                               LPCSTR format, LPSTR date,INT datelen)
     3049                          CONST SYSTEMTIME * xtime,
     3050                          LPCSTR format, LPSTR date,INT datelen)
    30513051{
    30523052   
     
    30773077     thistime = &t;
    30783078  } else {
    3079      thistime = xtime;
     3079     thistime = (SYSTEMTIME *)xtime;
    30803080  };
    30813081
     
    31103110 */
    31113111INT WINAPI GetDateFormatW(LCID locale,DWORD flags,
    3112                               LPSYSTEMTIME xtime,
    3113                               LPCWSTR format,
    3114                               LPWSTR date, INT datelen)
     3112                          CONST SYSTEMTIME *xtime,
     3113                          LPCWSTR format,
     3114                          LPWSTR date, INT datelen)
    31153115{
    31163116   unsigned short datearr[] = {'1','9','9','4','-','1','-','1',0};
     
    41514151GetTimeFormatA(LCID locale,        /* in  */
    41524152                 DWORD flags,        /* in  */
    4153                  LPSYSTEMTIME xtime, /* in  */
     4153                 CONST SYSTEMTIME (*xtime, /* in  */
    41544154                 LPCSTR format,      /* in  */
    41554155                 LPSTR timestr,      /* out */
     
    41894189  }
    41904190  else
    4191   { thistime = xtime;
     4191  { thistime = (SYSTEMTIME *)xtime;
    41924192  }
    41934193  ret = OLE_GetFormatA(thislocale, thisflags, flags, thistime, thisformat,
     
    42044204GetTimeFormatW(LCID locale,        /* in  */
    42054205                 DWORD flags,        /* in  */
    4206                  LPSYSTEMTIME xtime, /* in  */
     4206                 CONST SYSTEMTIME *xtime, /* in  */
    42074207                 LPCWSTR format,     /* in  */
    42084208                 LPWSTR timestr,     /* out */
     
    42434243        }
    42444244        else
    4245         { thistime = xtime;
     4245        { thistime = (SYSTEMTIME *)xtime;;
    42464246        }
    42474247
Note: See TracChangeset for help on using the changeset viewer.