XExtCodes *XInitExtension(display, name) Display *display; char *name;
|display||Specifies the connection to the X server.|
|name||Specifies the extension name.|
If the extension name is not in the Host Portable Character Encoding, the result is implementation dependent. Uppercase and lowercase matter; the strings ``thing'', ``Thing'', and ``thinG'' are all considered different names.
The extension number in the XExtCodes structure is needed in the other calls that follow. This extension number is unique only to a single connection.