ReactOS 0.4.16-dev-1983-g1a17364
_wcslwr_nt.c File Reference
#include "precomp.h"
Include dependency graph for _wcslwr_nt.c:

Go to the source code of this file.

Functions

wchar_t *__cdecl _wcslwr (_Inout_z_ wchar_t *_String)
 

Function Documentation

◆ _wcslwr()

wchar_t *__cdecl _wcslwr ( _Inout_z_ wchar_t _String)

Definition at line 12 of file _wcslwr_nt.c.

14{
15 wchar_t ch, *p;
16
17 if (_String == NULL)
18 {
19 _invalid_parameter(NULL, L"_wcslwr", _CRT_WIDE(__FILE__), __LINE__, 0);
20 return NULL;
21 }
22
23 for (p = _String; *p; p++)
24 {
25 ch = *p;
26 if ((ch >= 'A') && (ch <= 'Z'))
27 {
28 *p += 'a' - 'A';
29 }
30 }
31
32 return _String;
33}
_String
#define NULL
Definition: types.h:112
#define L(x)
Definition: resources.c:13
GLfloat GLfloat p
Definition: glext.h:8902
void _invalid_parameter(const wchar_t *expression, const wchar_t *function, const wchar_t *file, unsigned int line, uintptr_t pReserved)
#define _CRT_WIDE(_String)
Definition: vcruntime.h:20