- Timestamp:
- May 19, 2000, 2:09:25 PM (25 years ago)
- Location:
- trunk/src/shell32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/misc.cpp
r1353 r3561 1 /* $Id: misc.cpp,v 1. 6 1999-10-19 10:23:26 phallerExp $ */1 /* $Id: misc.cpp,v 1.7 2000-05-19 12:09:24 sandervl Exp $ */ 2 2 3 3 /* … … 286 286 } 287 287 288 289 /*****************************************************************************290 * Name : StrCpyNW291 * Purpose :292 * Parameters:293 * Variables :294 * Result :295 * Remark : SHELL32.310 - used by winfile.exe296 * Status : UNTESTED UNKNOWN STUB297 *298 * Author : Christoph Bratschi [Fri, 1999/08/6 19:00]299 *****************************************************************************/300 301 ODINFUNCTION3(LPWSTR, StrCpyNW,302 LPWSTR, lpString1,303 LPWSTR, lpString2,304 int, iMaxLength)305 {306 dprintf(("SHELL32: undoc StrCpyNW\n"));307 308 return lstrcpynW(lpString1,lpString2,iMaxLength);309 }310 311 /*****************************************************************************312 * Name : StrNCpyW313 * Purpose :314 * Parameters:315 * Variables :316 * Result :317 * Remark : SHELL32.316 - used by winfile.exe318 * Status : UNTESTED UNKNOWN STUB319 *320 * Author : Christoph Bratschi [Fri, 1999/08/6 19:00]321 *****************************************************************************/322 323 ODINFUNCTION2(LPWSTR, StrNCpyW,324 LPWSTR, lpString1,325 LPWSTR, lpString2)326 {327 dprintf(("SHELL32: undoc StrNCpyW\n"));328 329 return lstrcpyW(lpString1,lpString2);330 }331 332 333 288 /***************************************************************************** 334 289 * Name : InternalExtractIconListA … … 402 357 return 0; 403 358 } 404 405 /*************************************************************************406 * FindEnvironmentString [SHELL.38]407 *408 * Returns a pointer into the DOS environment... Ugh.409 */410 LPSTR SHELL_FindStringA(LPSTR lpEnv, LPCSTR entry)411 { UINT16 l;412 413 //TRACE_(shell)("\n");414 415 l = strlen(entry);416 for( ; *lpEnv ; lpEnv+=strlen(lpEnv)+1 )417 { if( lstrncmpiA(lpEnv, entry, l) )418 continue;419 if( !*(lpEnv+l) )420 return (lpEnv + l); /* empty entry */421 else if ( *(lpEnv+l)== '=' )422 return (lpEnv + l + 1);423 }424 return NULL;425 }426 427 359 428 360 /***************************************************************************** -
trunk/src/shell32/shell32.def
r3554 r3561 1 ; $Id: shell32.def,v 1.2 5 2000-05-18 18:06:59sandervl Exp $1 ; $Id: shell32.def,v 1.26 2000-05-19 12:09:25 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 318 318 StrCmpNIW = _StrCmpNIW@12 @307 319 319 ; StrCmpNW = _StrCmpNW@? @308 320 ; StrCpyNA = _StrCpyNA@?@309321 StrCpyNW = _ StrCpyNW@12@310320 StrCpyNA = _lstrcpynA@12 @309 321 StrCpyNW = _lstrcpynW@12 @310 322 322 ; StrNCmpA = _StrNCmpA@? @311 323 323 ; StrNCmpIA = _StrNCmpIA@? @312 324 324 ; StrNCmpIW = _StrNCmpIW@? @313 325 325 ; StrNCmpW = _StrNCmpW@? @314 326 ; StrCpyA = _StrCpyA@?@315327 StrNCpyW = _ StrNCpyW@8@316326 StrNCpyA = _lstrcpynA@12 @315 327 StrNCpyW = _lstrcpynW@12 @316 328 328 StrRChrA = _StrRChrA@12 @317 329 329 ; StrRChrIA = _StrRChrIA@? @318 … … 374 374 DllGetVersion = _SHELL32_DllGetVersion@4 @1220 375 375 376 VERSION_OsIsUnicode @1000377 376 _StrRetToStrNA@16 @1004 378 377 _StrRetToStrNW@16 @1005
Note:
See TracChangeset
for help on using the changeset viewer.