Produces a Null-terminated Unicode string in an output buffer based on a Null-terminated Unicode format string and a VA_LIST argument list. This function is similar as vsnprintf_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 Format
| 60 | |
| 61 | **/ |
| 62 | UINTN |
| 63 | EFIAPI |
| 64 | UnicodeVSPrint ( |
| 65 | OUT CHAR16 *StartOfBuffer, |
| 66 | IN UINTN BufferSize, |
| 67 | IN CONST CHAR16 *FormatString, |
| 68 | IN VA_LIST Marker |
| 69 | ) |
| 70 | { |
| 71 | ASSERT_UNICODE_BUFFER (StartOfBuffer); |
| 72 | ASSERT_UNICODE_BUFFER (FormatString); |
| 73 | return BasePrintLibSPrintMarker ((CHAR8 *)StartOfBuffer, BufferSize >> 1, FORMAT_UNICODE | OUTPUT_UNICODE, (CHAR8 *)FormatString, Marker, NULL); |
| 74 | } |
| 75 | |
| 76 | /** |
| 77 | Produces a Null-terminated Unicode string in an output buffer based on |