mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:23:01 +00:00
[KERNEL32] Sync GetStringTypeW() with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66622
This commit is contained in:
parent
220e1cfae1
commit
66123cf941
1 changed files with 5 additions and 0 deletions
|
@ -1255,6 +1255,11 @@ BOOL WINAPI GetStringTypeW( DWORD type, LPCWSTR src, INT count, LPWORD chartype
|
||||||
C2_OTHERNEUTRAL /* LRE, LRO, RLE, RLO, PDF */
|
C2_OTHERNEUTRAL /* LRE, LRO, RLE, RLO, PDF */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (!src) /* Abort and return FALSE when src is null */
|
||||||
|
{
|
||||||
|
SetLastError( ERROR_INVALID_PARAMETER );
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
if (count == -1) count = strlenW(src) + 1;
|
if (count == -1) count = strlenW(src) + 1;
|
||||||
switch(type)
|
switch(type)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue