ReactOS 0.4.16-dev-1537-g4e425b5
IsValidLocaleName.c
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS Win32 Base API
3 * LICENSE: MIT (https://spdx.org/licenses/MIT)
4 * PURPOSE: Implementation of IsValidLocaleName
5 * COPYRIGHT: Copyright 2025 Timo Kreuzer <timo.kreuzer@reactos.org>
6 */
7
8#include "k32_vista.h"
9#include <winnls.h>
10
11#define NDEBUG
12#include <debug.h>
13
14BOOL
17 LPCWSTR lpLocaleName)
18{
20 return lcid != 0;
21}
BOOL WINAPI IsValidLocaleName(LPCWSTR lpLocaleName)
LCID WINAPI LocaleNameToLCID(_In_ LPCWSTR lpName, _In_ DWORD dwFlags)
LCID lcid
Definition: locale.c:5656
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD LCID
Definition: nls.h:13
#define WINAPI
Definition: msvc.h:6
#define LOCALE_ALLOW_NEUTRAL_NAMES
Definition: winnls.h:25
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185