MdeModulePkg/PrintLib: Add deprecated flag for APIs [A|U]ValueToString

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Hao Wu 2017-02-13 11:27:22 +08:00
parent da1204cd3f
commit 695e4c49be
1 changed files with 12 additions and 0 deletions

View File

@ -598,7 +598,11 @@ UnicodeSPrintAsciiFormat (
return NumberOfPrinted;
}
#ifndef DISABLE_NEW_DEPRECATED_INTERFACES
/**
[ATTENTION] This function is deprecated for security reason.
Converts a decimal value to a Null-terminated Unicode string.
Converts the decimal number specified by Value to a Null-terminated Unicode
@ -665,6 +669,8 @@ UnicodeValueToString (
return StrnLenS (Buffer, BufferSize / sizeof (CHAR16));
}
#endif
/**
Converts a decimal value to a Null-terminated Unicode string.
@ -1071,7 +1077,11 @@ AsciiSPrintUnicodeFormat (
}
#ifndef DISABLE_NEW_DEPRECATED_INTERFACES
/**
[ATTENTION] This function is deprecated for security reason.
Converts a decimal value to a Null-terminated ASCII string.
Converts the decimal number specified by Value to a Null-terminated ASCII string
@ -1137,6 +1147,8 @@ AsciiValueToString (
return AsciiStrnLenS (Buffer, BufferSize / sizeof (CHAR8));
}
#endif
/**
Converts a decimal value to a Null-terminated Ascii string.