[CRT] Massively improve performance of rand_s
[reactos.git] / dll / nls / normaliz / normalize.c
1 /*
2 * Locale support
3 *
4 * Copyright 1995 Martin von Loewis
5 * Copyright 1998 David Lee Lambert
6 * Copyright 2000 Julio César Gázquez
7 * Copyright 2002 Alexandre Julliard for CodeWeavers
8 *
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 2.1 of the License, or (at your option) any later version.
13 *
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 */
23
24 #define WIN32_NO_STATUS
25 #include <wine/unicode.h>
26
27 #define NDEBUG
28 #include <debug.h>
29
30 /* Taken from Wine kernel32/locale.c */
31
32 /******************************************************************************
33 * NormalizeString (KERNEL32.@)
34 */
35 INT WINAPI NormalizeString(NORM_FORM NormForm, LPCWSTR lpSrcString, INT cwSrcLength,
36 LPWSTR lpDstString, INT cwDstLength)
37 {
38 DPRINT1("%x %p %d %p %d\n", NormForm, lpSrcString, cwSrcLength, lpDstString, cwDstLength);
39 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
40 return 0;
41 }
42
43 /******************************************************************************
44 * IsNormalizedString (KERNEL32.@)
45 */
46 BOOL WINAPI IsNormalizedString(NORM_FORM NormForm, LPCWSTR lpString, INT cwLength)
47 {
48 DPRINT1("%x %p %d\n", NormForm, lpString, cwLength);
49 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
50 return FALSE;
51 }