Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
IN CONST CHAR16 *String\r
);\r
\r
IN CONST CHAR16 *String\r
);\r
\r
+#ifndef DISABLE_NEW_DEPRECATED_INTERFACES\r
+\r
+ [ATTENTION] This function is deprecated for security reason.\r
+\r
Convert a Null-terminated Unicode string to a Null-terminated\r
ASCII string and returns the ASCII string.\r
\r
Convert a Null-terminated Unicode string to a Null-terminated\r
ASCII string and returns the ASCII string.\r
\r
OUT CHAR8 *Destination\r
);\r
\r
OUT CHAR8 *Destination\r
);\r
\r
/**\r
Convert a Null-terminated Unicode string to a Null-terminated\r
ASCII string.\r
/**\r
Convert a Null-terminated Unicode string to a Null-terminated\r
ASCII string.\r
IN CONST CHAR8 *String\r
);\r
\r
IN CONST CHAR8 *String\r
);\r
\r
+#ifndef DISABLE_NEW_DEPRECATED_INTERFACES\r
+ [ATTENTION] This function is deprecated for security reason.\r
+\r
Convert one Null-terminated ASCII string to a Null-terminated\r
Unicode string and returns the Unicode string.\r
\r
Convert one Null-terminated ASCII string to a Null-terminated\r
Unicode string and returns the Unicode string.\r
\r
OUT CHAR16 *Destination\r
);\r
\r
OUT CHAR16 *Destination\r
);\r
\r
/**\r
Convert one Null-terminated ASCII string to a Null-terminated\r
Unicode string.\r
/**\r
Convert one Null-terminated ASCII string to a Null-terminated\r
Unicode string.\r
(Char >= 'a' && Char <= 'f'));\r
}\r
\r
(Char >= 'a' && Char <= 'f'));\r
}\r
\r
+#ifndef DISABLE_NEW_DEPRECATED_INTERFACES\r
+\r
+ [ATTENTION] This function is deprecated for security reason.\r
+\r
Convert a Null-terminated Unicode string to a Null-terminated\r
ASCII string and returns the ASCII string.\r
\r
Convert a Null-terminated Unicode string to a Null-terminated\r
ASCII string and returns the ASCII string.\r
\r
return ReturnValue;\r
}\r
\r
return ReturnValue;\r
}\r
\r
-#ifndef DISABLE_NEW_DEPRECATED_INTERFACES\r
-\r
/**\r
[ATTENTION] This function will be deprecated for security reason.\r
\r
/**\r
[ATTENTION] This function will be deprecated for security reason.\r
\r
+#ifndef DISABLE_NEW_DEPRECATED_INTERFACES\r
+ [ATTENTION] This function is deprecated for security reason.\r
+\r
Convert one Null-terminated ASCII string to a Null-terminated\r
Unicode string and returns the Unicode string.\r
\r
Convert one Null-terminated ASCII string to a Null-terminated\r
Unicode string and returns the Unicode string.\r
\r
return ReturnValue;\r
}\r
\r
return ReturnValue;\r
}\r
\r
/**\r
Converts an 8-bit value to an 8-bit BCD value.\r
\r
/**\r
Converts an 8-bit value to an 8-bit BCD value.\r
\r