>># XeviQueryExtension.c  
>>#
>># Copyright (c) 2005 Intel Corporation
>># All rights reserved except as granted by this License.
>>#
>># This program is free software; you can redistribute it and/or modify
>># it under the terms of the "Artistic License" which comes with this
>># Kit, with the following modification:
>># a) "executable(s)" should be interpreted to include
>># "test case(s)"
>># b) if you wish to make changes as defined in clause 2 and 3, and
>># distribute a modified version of this package, then
>># clauses 3c and 4c are required
>># c) Clause 7 is rephrased as follows: "Subroutines supplied by you
>># and linked into this Package shall not be considered part of this
>># Package".
>>#
>>#
>># Intel Corporation DISCLAIMS ALL WARRANTIES
>># WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
>># MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL X/OPEN OR IBM CORP. BE
>># LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
>># WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
>># ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
>># OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
>>#
>># You should have received a copy of the Artistic License with this
>># Kit, in the file named "Artistic".  If not, we'll be glad to provide one.
>>#

>>TITLE	XeviQueryExtension	CHEVI
>>ASSERTION Good XeviQueryExtension-1
XeviQueryExtension returns True if the Extended Visual Information extension 
is available on the given display.
>>STRATEGY
Open a copy of the display
If the display supports the EVI extension
	- Call the query extensions function
	- verify the function returns TRUE
>>ASSERTION Good XeviQueryExtension-2
With the exception of XeviQueryExtension, if any of these routines are called 
with a display that does not support the extension, the ExtensionErrorHandler 
(which can be set with XSetExtensionErrorHandler and functions the same way as 
XSetErrorHandler) will be called and the function will then return.
>>STRATEGY
Open a copy of the display
If the display supports the EVI extension
	- munge the structure to make it appear the display does not support EVI
	- Call the query extensions function
	- verify the function returns FALSE
Else
	- Call the query extensions function
	- verify the function returns FALSE
End

