Share via


StrSafe.h Character-Count Functions

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

The following functions use a character count rather than a byte count.

Strsafe.h function Replaces

StringCchCat, StringCchCatEx

strcat, wcscat

StringCchCatN, StringCchCatNEx

strncat

StringCchCopy, StringCchCopyEx

strcpy, wcscpy

StringCchCopyN, StringCchCopyNEx

strncpy

StringCchGets, StringCchGetsEx

gets, _getws

StringCchPrintf, StringCchPrintfEx

sprintf, swprintf, wsprintf, _snprintf, _snwprintf

StringCchVPrintf, StringCchVPrintfEx

vsprintf, vswprintf, _vsnprintf, _vsnwprintf

StringCchLength

strlen

See Also

Other Resources

Safe String Functions