Summary of Kernel-Mode Safe String Functions
The following table summarizes the safe string functions that are available to kernel-mode drivers, and it indicates the C/C++ language runtime library functions that they replace. If a function's name contains Cb, the function treats strings as byte-counted. If a function's name contains Cch, the function treats strings as character-counted.
Functions | Purpose | Replaces |
---|---|---|
Concatenate two strings. |
|
|
Concatenate two byte-counted strings, while limiting the size of the appended string. |
|
|
Copy a string into a buffer. |
|
|
|
Copy a string into a buffer, while limiting the size of the copied string. |
|
Determine the length of a supplied string. |
|
|
Create a formatted text string that is based on a format string and a set of additional function arguments. |
|
|
Create a formatted text string that is based on a format string and one additional function argument. |
|
|
Initialize or validate a UNICODE_STRING structure. |
None |