Changeset 1975 for trunk/src/kernel32/heapstring.cpp
- Timestamp:
- Dec 5, 1999, 11:02:31 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/heapstring.cpp
r1670 r1975 1 /* $Id: heapstring.cpp,v 1. 19 1999-11-09 19:22:32sandervl Exp $ */1 /* $Id: heapstring.cpp,v 1.20 1999-12-05 10:02:30 sandervl Exp $ */ 2 2 3 3 /* … … 509 509 510 510 int WIN32API lstrcpynWtoA(LPSTR astring, 511 LP WSTR ustring,511 LPCWSTR ustring, 512 512 int unilen) 513 513 { … … 588 588 // @@@PH 0 termination is NOT necessarily included ! 589 589 int WIN32API lstrcpynAtoW(LPWSTR unicode, 590 LP STR ascii,590 LPCSTR ascii, 591 591 int asciilen) 592 592 { … … 623 623 } 624 624 625 in_buf = ascii;625 in_buf = (LPSTR)ascii; 626 626 627 627 //@@@PH what's this? … … 679 679 *****************************************************************************/ 680 680 681 LPSTR WIN32API lstrcpyWtoA(LPSTR ascii, LP WSTR unicode)681 LPSTR WIN32API lstrcpyWtoA(LPSTR ascii, LPCWSTR unicode) 682 682 { 683 683 //@@@PH huh? wuz dat? 684 684 if (unicode == NULL) 685 685 { 686 if (unicode != NULL) unicode[0] = 0; //CB: set at least end686 if (unicode != NULL) ((LPWSTR)unicode)[0] = 0; //CB: set at least end 687 687 return NULL; 688 688 } … … 712 712 *****************************************************************************/ 713 713 714 LPWSTR WIN32API lstrcpyAtoW(LPWSTR unicode, LP STR ascii)714 LPWSTR WIN32API lstrcpyAtoW(LPWSTR unicode, LPCSTR ascii) 715 715 { 716 716 /* achimha for security, strlen might trap if garbage in */
Note:
See TracChangeset
for help on using the changeset viewer.