Edit

Share via


strsafe.h header

This header is used by Menus and Other Resources. For more information, see:

strsafe.h contains the following programming interfaces:

Functions

 
StringCbCatA

Concatenates one string to another string. (StringCbCatA)
StringCbCatExA

Concatenates one string to another string. (StringCbCatExA)
StringCbCatExW

Concatenates one string to another string. (StringCbCatExW)
StringCbCatNA

Concatenates the specified number of bytes from one string to another string. (StringCbCatNA)
StringCbCatNExA

Concatenates the specified number of bytes from one string to another string. (StringCbCatNExA)
StringCbCatNExW

Concatenates the specified number of bytes from one string to another string. (StringCbCatNExW)
StringCbCatNW

Concatenates the specified number of bytes from one string to another string. (StringCbCatNW)
StringCbCatW

Concatenates one string to another string. (StringCbCatW)
StringCbCopyA

Copies one string to another. (StringCbCopyA)
StringCbCopyExA

Copies one string to another. (StringCbCopyExA)
StringCbCopyExW

Copies one string to another. (StringCbCopyExW)
StringCbCopyNA

Copies the specified number of bytes from one string to another. (StringCbCopyNA)
StringCbCopyNExA

Copies the specified number of bytes from one string to another. (StringCbCopyNExA)
StringCbCopyNExW

Copies the specified number of bytes from one string to another. (StringCbCopyNExW)
StringCbCopyNW

Copies the specified number of bytes from one string to another. (StringCbCopyNW)
StringCbCopyW

Copies one string to another. (StringCbCopyW)
StringCbGetsA

Gets one line of text from stdin, up to and including the newline character ('\n'). (StringCbGetsA)
StringCbGetsExA

Gets one line of text from stdin, up to and including the newline character ('\n'). (StringCbGetsExA)
StringCbGetsExW

Gets one line of text from stdin, up to and including the newline character ('\n'). (StringCbGetsExW)
StringCbGetsW

Gets one line of text from stdin, up to and including the newline character ('\n'). (StringCbGetsW)
StringCbLengthA

Determines whether a string exceeds the specified length, in bytes. (ANSI)
StringCbLengthW

Determines whether a string exceeds the specified length, in bytes. (Unicode)
StringCbPrintf_lA

Writes formatted data to the specified string. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCbPrintf_lA)
StringCbPrintf_lExA

Writes formatted data to the specified string. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCbPrintf_lExA)
StringCbPrintf_lExW

Writes formatted data to the specified string. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCbPrintf_lExW)
StringCbPrintf_lW

Writes formatted data to the specified string. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCbPrintf_lW)
StringCbPrintfA

Writes formatted data to the specified string. (StringCbPrintfA)
StringCbPrintfExA

Writes formatted data to the specified string. (StringCbPrintfExA)
StringCbPrintfExW

Writes formatted data to the specified string. (StringCbPrintfExW)
StringCbPrintfW

Writes formatted data to the specified string. (StringCbPrintfW)
StringCbVPrintf_lA

Writes formatted data to the specified string using a pointer to a list of arguments. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCbVPrintf_lA)
StringCbVPrintf_lExA

Writes formatted data to the specified string using a pointer to a list of arguments. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCbVPrintf_lExA)
StringCbVPrintf_lExW

Writes formatted data to the specified string using a pointer to a list of arguments. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCbVPrintf_lExW)
StringCbVPrintf_lW

Writes formatted data to the specified string using a pointer to a list of arguments. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCbVPrintf_lW)
StringCbVPrintfA

Writes formatted data to the specified string using a pointer to a list of arguments. (StringCbVPrintfA)
StringCbVPrintfExA

Writes formatted data to the specified string using a pointer to a list of arguments. (StringCbVPrintfExA)
StringCbVPrintfExW

Writes formatted data to the specified string using a pointer to a list of arguments. (StringCbVPrintfExW)
StringCbVPrintfW

Writes formatted data to the specified string using a pointer to a list of arguments. (StringCbVPrintfW)
StringCchCatA

Concatenates one string to another string. (StringCchCatA)
StringCchCatExA

Concatenates one string to another string. (StringCchCatExA)
StringCchCatExW

Concatenates one string to another string. (StringCchCatExW)
StringCchCatNA

Concatenates the specified number of characters from one string to another string. (StringCchCatNA)
StringCchCatNExA

Concatenates the specified number of characters from one string to another string. (StringCchCatNExA)
StringCchCatNExW

Concatenates the specified number of characters from one string to another string. (StringCchCatNExW)
StringCchCatNW

Concatenates the specified number of characters from one string to another string. (StringCchCatNW)
StringCchCatW

Concatenates one string to another string. (StringCchCatW)
StringCchCopyA

Copies one string to another. (StringCchCopyA)
StringCchCopyExA

Copies one string to another. (StringCchCopyExA)
StringCchCopyExW

Copies one string to another. (StringCchCopyExW)
StringCchCopyNA

Copies the specified number of characters from one string to another. (StringCchCopyNA)
StringCchCopyNExA

Copies the specified number of characters from one string to another. (StringCchCopyNExA)
StringCchCopyNExW

Copies the specified number of characters from one string to another. (StringCchCopyNExW)
StringCchCopyNW

Copies the specified number of characters from one string to another. (StringCchCopyNW)
StringCchCopyW

Copies one string to another. (StringCchCopyW)
StringCchGetsA

Gets one line of text from stdin, up to and including the newline character ('\n'). (StringCchGetsA)
StringCchGetsExA

Gets one line of text from stdin, up to and including the newline character ('\n'). (StringCchGetsExA)
StringCchGetsExW

Gets one line of text from stdin, up to and including the newline character ('\n'). (StringCchGetsExW)
StringCchGetsW

Gets one line of text from stdin, up to and including the newline character ('\n'). (StringCchGetsW)
StringCchLengthA

Determines whether a string exceeds the specified length, in characters. (ANSI)
StringCchLengthW

Determines whether a string exceeds the specified length, in characters. (Unicode)
StringCchPrintf_lA

Writes formatted data to the specified string. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCchPrintf_lA)
StringCchPrintf_lExA

Writes formatted data to the specified string. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCchPrintf_lExA)
StringCchPrintf_lExW

Writes formatted data to the specified string. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCchPrintf_lExW)
StringCchPrintf_lW

Writes formatted data to the specified string. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCchPrintf_lW)
StringCchPrintfA

Writes formatted data to the specified string. (StringCchPrintfA)
StringCchPrintfExA

Writes formatted data to the specified string. (StringCchPrintfExA)
StringCchPrintfExW

Writes formatted data to the specified string. (StringCchPrintfExW)
StringCchPrintfW

Writes formatted data to the specified string. (StringCchPrintfW)
StringCchVPrintf_lA

Writes formatted data to the specified string using a pointer to a list of arguments. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCchVPrintf_lA)
StringCchVPrintf_lExA

Writes formatted data to the specified string using a pointer to a list of arguments. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCchVPrintf_lExA)
StringCchVPrintf_lExW

Writes formatted data to the specified string using a pointer to a list of arguments. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCchVPrintf_lExW)
StringCchVPrintf_lW

Writes formatted data to the specified string using a pointer to a list of arguments. The size of the destination buffer is provided to the function to ensure that it does not write past the end of this buffer. (StringCchVPrintf_lW)
StringCchVPrintfA

Writes formatted data to the specified string using a pointer to a list of arguments. (StringCchVPrintfA)
StringCchVPrintfExA

Writes formatted data to the specified string using a pointer to a list of arguments. (StringCchVPrintfExA)
StringCchVPrintfExW

Writes formatted data to the specified string using a pointer to a list of arguments. (StringCchVPrintfExW)
StringCchVPrintfW

Writes formatted data to the specified string using a pointer to a list of arguments. (StringCchVPrintfW)