XkbAllocIndicatorMaps (3)
Leading comments
Copyright 1999 Oracle and/or its affiliates. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following condition...
NAME
XkbAllocIndicatorMaps - Allocates, directly, the indicators member of the keyboard description recordSYNOPSIS
-
Status XkbAllocIndicatorMaps
(variable_type *xkb);
ARGUMENTS
- - xkb
-
- keyboard description structure
DESCRIPTION
The xkb parameter must point to a valid keyboard description. If it doesn't, XkbAllocIndicatorMaps returns a BadMatch error. Otherwise, XkbAllocIndicatorMaps allocates and initializes the indicators member of the keyboard description record and returns Success. If XkbAllocIndicatorMaps was unable to allocate the indicators record, it reports a BadAlloc error.
RETURN VALUES
- Success
- The XkbAllocIndicatorMaps function returns Success if it is successful in allocating and initializing the indicators member of the keyboard description record.
DIAGNOSTICS
- BadMatch
- A compatible version of Xkb was not available in the server or an argument has correct type and range, but is otherwise invalid
- BadAlloc
-
Unable to allocate storage