PEXGetExtensionInfo(3) — Subroutines
Name
PEXGetExtensionInfo - Get Extension Information
Synopsis
PEXExtensionInfo ∗PEXGetExtensionInfo(Display ∗display)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
Returns
A pointer to the extension information; a null pointer if unsuccessful.
Description
PEXGetExtensionInfo allows an application program to inquire the extension information from a PEX server extension.
The major version number, minor version number, release number, vendor name, and subset information are returned. If the subset value is PEXCompleteImplementation, the extension is a full PEX implementation. If the subset value is PEXImmediateMode, the extension supports only the "immediate rendering" subset of PEX. If the subset value is PEXStructureMode, the extension supports only the "structure rendering" subset of PEX. If the subset value is (PEXImmediateMode & PEXStructureMode), the extension supports both the "immediate rendering" and the "structure rendering" subsets of PEX. If the subset value is PEXWorkstationOnly, the extension supports only the "PHIGS workstation" subset of PEX.
The memory returned by this function is private to PEXlib and must not be modified or freed by the application.
Data Structures
typedef struct {
unsigned short major_version;
unsigned short minor_version;
unsigned long release;
unsigned long subset_info;
char ∗vendor_name;
int major_opcode;
int first_event;
int first_error;
} PEXExtensionInfo;
Errors
None