Produces a Null-terminated Unicode string in an output buffer based on a Null-terminated Unicode format string and variable argument list. This function is similar as snprintf_s defined in C11. Produces a Null-terminated Unicode string in the output buffer specified by StartOfBuffer and BufferSize. The Unicode string is produced by parsing the format string specified by FormatSt
| 166 | |
| 167 | **/ |
| 168 | UINTN |
| 169 | EFIAPI |
| 170 | UnicodeSPrint ( |
| 171 | OUT CHAR16 *StartOfBuffer, |
| 172 | IN UINTN BufferSize, |
| 173 | IN CONST CHAR16 *FormatString, |
| 174 | ... |
| 175 | ) |
| 176 | { |
| 177 | VA_LIST Marker; |
| 178 | UINTN NumberOfPrinted; |
| 179 | |
| 180 | VA_START (Marker, FormatString); |
| 181 | NumberOfPrinted = UnicodeVSPrint (StartOfBuffer, BufferSize, FormatString, Marker); |
| 182 | VA_END (Marker); |
| 183 | return NumberOfPrinted; |
| 184 | } |
| 185 | |
| 186 | /** |
| 187 | Produces a Null-terminated Unicode string in an output buffer based on a Null-terminated |
no test coverage detected