Skip to content

Latest commit

 

History

History
112 lines (76 loc) · 4.1 KB

nc-winnls-uilanguage_enumproca.md

File metadata and controls

112 lines (76 loc) · 4.1 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NC:winnls.UILANGUAGE_ENUMPROCA
UILANGUAGE_ENUMPROCA (winnls.h)
An application-defined callback function that processes enumerated user interface language information provided by the EnumUILanguages function. (ANSI)
EnumUILanguagesProc
UILANGUAGE_ENUMPROC
UILANGUAGE_ENUMPROC callback
UILANGUAGE_ENUMPROC callback function [Internationalization for Windows Applications]
UILANGUAGE_ENUMPROCA
UILANGUAGE_ENUMPROCW
_win32_EnumUILanguagesProc
intl.enumuilanguagesproc
winnls/UILANGUAGE_ENUMPROC
intl\enumuilanguagesproc.htm
Intl
5890bde9-7089-4440-a9cf-04b502183770
12/05/2018
EnumUILanguagesProc, UILANGUAGE_ENUMPROC, UILANGUAGE_ENUMPROC callback, UILANGUAGE_ENUMPROC callback function [Internationalization for Windows Applications], UILANGUAGE_ENUMPROCA, UILANGUAGE_ENUMPROCW, _win32_EnumUILanguagesProc, intl.enumuilanguagesproc, winnls/UILANGUAGE_ENUMPROC
winnls.h
Windows.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
19H1
UILANGUAGE_ENUMPROCA
winnls/UILANGUAGE_ENUMPROCA
c++
APIRef
kbSyntax
UserDefined
Winnls.h
UILANGUAGE_ENUMPROC

UILANGUAGE_ENUMPROCA callback function

-description

An application-defined callback function that processes enumerated user interface language information provided by the EnumUILanguages function. The UILANGUAGE_ENUMPROC type defines a pointer to this callback function. EnumUILanguagesProc is a placeholder for the application-defined function name.

-parameters

-param unnamedParam1

-param unnamedParam2

- lParam [in]

Application-defined value.

- lpUILanguageString [in]

Pointer to a buffer containing a null-terminated string representing a user interface language identifier or language name, depending on the value for the dwFlags parameter passed in the call to EnumUILanguages.

-returns

Returns TRUE to continue enumeration or FALSE otherwise.

-remarks

An EnumUILanguagesProc function can carry out any task. The application registers this function by passing its address to the EnumUILanguages function.

If MUI_LANGUAGE_ID was specified in the call to EnumUILanguages, the language strings passed to this function will be hexadecimal language

identifiers that do not include the leading 0x, and will be 4 characters in length. For example, en-US will

be passed as "0409" and en as "0009".

C# Signature

delegate System.Boolean EnumUILanguagesProc(
            System.IntPtr lpUILanguageString,
            System.IntPtr lParam
            );

Note

The winnls.h header defines UILANGUAGE_ENUMPROC as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

-see-also

EnumUILanguages

Multilingual User Interface

Multilingual User Interface Functions