Parameters

Flags specifying the language group identifiers to enumerate. This parameter can have one of the following values.

Value

Meaning

LGRPID_INSTALLED

Enumerate only installed language group identifiers.

LGRPID_SUPPORTED

Enumerate all supported language group identifiers.

lParam [in]

Application-defined value to pass to the callback function. This parameter can be used in error checking. It can also be used to ensure thread safety in the callback function.

Return value

Returns TRUE if successful or FALSE otherwise. To get extended error information, the application can call GetLastError, which can return one of the following error codes:

ERROR_BADDB. The function could not access the data. This situation should not normally occur, and typically indicates a bad installation, a disk problem, or the like.

ERROR_INVALID_FLAGS. The values supplied for flags were not valid.

ERROR_INVALID_PARAMETER. Any of the parameter values was invalid.

Remarks

This function enumerates language groups by passing language group identifiers, one at a time, to the specified application-defined callback function. This process continues until the last language group identifier is found or the callback function returns FALSE.