MCPcopy Create free account
hub / github.com/Endermanch/XPKeygen / StrUpper

Function StrUpper

pidgen/util.cpp:91–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89
90
91TCHAR * StrUpper(TCHAR *pstr)
92{
93 TCHAR *pstrCur = pstr;
94
95 while('\0' != *pstrCur)
96 {
97 if ('a' <= *pstrCur && *pstrCur <= 'z')
98 {
99 *pstrCur += 'A' - 'a';
100 }
101 ++pstrCur;
102 }
103
104 return (pstr);
105}
106
107#if defined(WIN32) || defined(_WIN32)
108

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected