msvcrt: Added _swscanf_s(_l) implementation.
diff --git a/dlls/msvcrt/scanf.c b/dlls/msvcrt/scanf.c
index c9d5c56..cfb4aa0 100644
--- a/dlls/msvcrt/scanf.c
+++ b/dlls/msvcrt/scanf.c
@@ -98,6 +98,10 @@
 #undef SECURE
 #include "scanf.h"
 
+/* vswscanf_s_l */
+#define SECURE 1
+#include "scanf.h"
+
 /* vcscanf_l */
 #undef WIDE_SCANF
 #define CONSOLE 1
@@ -424,6 +428,35 @@
 }
 
 /*********************************************************************
+ *		swscanf_s (MSVCRT.@)
+ */
+int CDECL MSVCRT_swscanf_s(const MSVCRT_wchar_t *str, const MSVCRT_wchar_t *format, ...)
+{
+    __ms_va_list valist;
+    int res;
+
+    __ms_va_start(valist, format);
+    res = MSVCRT_vswscanf_s_l(str, format, NULL, valist);
+    __ms_va_end(valist);
+    return res;
+}
+
+/*********************************************************************
+ *		_swscanf_s_l (MSVCRT.@)
+ */
+int CDECL MSVCRT__swscanf_s_l(const MSVCRT_wchar_t *str, const MSVCRT_wchar_t *format,
+        MSVCRT__locale_t locale, ...)
+{
+    __ms_va_list valist;
+    int res;
+
+    __ms_va_start(valist, locale);
+    res = MSVCRT_vswscanf_s_l(str, format, locale, valist);
+    __ms_va_end(valist);
+    return res;
+}
+
+/*********************************************************************
  *		_cscanf (MSVCRT.@)
  */
 int CDECL _cscanf(const char *format, ...)