shell32: Fix a couple of ASCII / ANSI mixups in comments.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2021-09-01 09:30:08 +02:00 committed by Alexandre Julliard
parent b60e406450
commit c10d9d102c
3 changed files with 4 additions and 4 deletions

View file

@ -680,7 +680,7 @@ static HRESULT Stream_LoadLocation( IStream *stm,
*
* 0 Length of the block (4 bytes, usually 0x314)
* 4 tag (dword)
* 8 string data in ASCII
* 8 string data in ANSI
* 8+0x104 string data in UNICODE
*
* In the original Win32 implementation the buffers are not initialized

View file

@ -1,6 +1,6 @@
/*
* The parameters of many functions changes between different OS versions
* (NT uses Unicode strings, 95 uses ASCII strings)
* (NT uses Unicode strings, 95 uses ANSI strings)
*
* Copyright 1997 Marcus Meissner
* 1998 Jürgen Schmied

View file

@ -819,9 +819,9 @@ static DWORD SHFindAttrW(LPCWSTR pName, BOOL fileOnly)
*
* SHNameTranslate HelperFunction for SHFileOperationA
*
* Translates a list of 0 terminated ASCII strings into Unicode. If *wString
* Translates a list of 0 terminated ANSI strings into Unicode. If *wString
* is NULL, only the necessary size of the string is determined and returned,
* otherwise the ASCII strings are copied into it and the buffer is increased
* otherwise the ANSI strings are copied into it and the buffer is increased
* to point to the location after the final 0 termination char.
*/
static DWORD SHNameTranslate(LPWSTR* wString, LPCWSTR* pWToFrom, BOOL more)