.\" .\" $XFree86: xc/doc/man/Xi/XGetExtV.man,v 1.2 2001/01/27 18:20:21 dawes Exp $ .\" .\" .\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer, .\" .\" Permission to use, copy, modify, distribute, and sell this documentation .\" for any purpose and without fee is hereby granted, provided that the above .\" copyright notice and this permission notice appear in all copies. .\" Ardent, and Hewlett-Packard make no representations about the .\" suitability for any purpose of the information in this document. It is .\" provided \`\`as is'' without express or implied warranty. .\" .\" $Xorg: XGetExtV.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $ .\" .\" Copyright (c) 1998, 2001 The X Japanese Documentation Project. .\" .\" 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, dis- .\" tribute, sublicense, and/or sell copies of the Software, and to permit .\" persons to whom the Software is furnished to do so, subject to the fol- .\" lowing conditions: .\" .\" The above copyright notice and this permission notice shall be included .\" in all copies or substantial portions of the Software. .\" .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL- .\" ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT .\" SHALL THE X JAPANESE DOCUMENTATION PROJECT BE LIABLE FOR ANY CLAIM, .\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR .\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR .\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. .\" .\" Except as contained in this notice, the name of The X Japanese .\" Documentation Project shall not be used in advertising or otherwise to .\" promote the sale, use or other dealings in this Software without prior .\" written authorization from The X Japanese Documentation Project. .\" .\" X Window System is a trademark of The Open Group. .\" .\" Translated Tue Oct 27 00:00:00 JST 1998 .\" by FUJIWARA Teruyoshi .\" Updated Sat Sep 29 12:53:30 JST 2001 for XFree86 4.1.0 .\" by FUJIWARA Teruyoshi .\" .ds xL Programming With Xlib .TH XGetExtensionVersion 3X11 "Release 6.5" "X Version 11" "X FUNCTIONS" .SH 名前 .\"0 XGetExtensionVersion \- query the version of the input extension. XGetExtensionVersion \- 入力機能拡張のバージョンを問い合わせる .SH 書式 XExtensionVersion *XGetExtensionVersion\^(\^\fIdisplay\fP, \fIname\fP\^) .br Display *\fIdisplay\fP\^; .br char *\fIname\fP\^; .SH 引き数 .TP 12 .I display .\"0 Specifies the connection to the X server. X サーバへの接続を指定する。 .TP 12 .I name .\"0 Specifies the extension to be queried. The input extension name is defined .\"0 in the header file \fIXI.h\fP. 問い合わせる機能拡張を指定する。 入力機能拡張の名前は、ヘッダファイル \fIXI.h\fP で定義されている。 .SH 説明 .\"0 The \fIXGetExtensionVersion\fP request queries the version of the input .\"0 extension, and returns an \fIXExtensionVersion\fP structure. This structure .\"0 contains a major_version and minor_version number which can be compared .\"0 with constants defined in \fIXI.h\fP. Support for additional protocol .\"0 requests added to the input extension after its initial release is indicated .\"0 by a version number corresponding to the added requests. Each version .\"0 contains all the protocol requests contained by previous versions. \fIXGetExtensionVersion\fP リクエストは入力機能拡張のバージョンを問い合わ せ、\fIXExtensionVersion\fP 構造体を返す。 この構造体は major_version と minor_version の値を持っており、 \fIXI.h\fP で定義されている定数と比較することができる。 初期リリースの後に入力機能拡張へ追加されたプロトコルリクエストへの 対応は、追加されたリクエストに対応するバージョン番号によって判別できる。 プロトコルリクエストの各バージョンは、過去のバージョンに 含まれる全てのリクエストに対応している。 .LP .\"0 You should use \fIXFree\fP to free the \fIXExtensionVersion\fP structure. \fIXExtensionVersion\fP 構造体を解放するには \fIXFree\fP を使用するこ と。 .SH 構造体 .\"0 This request returns an XExtensionVersion structure. このリクエストは XExtensionVersion 構造体を返す。 .DS typedef struct { int present; short major_version; short minor_version; } XExtensionVersion; .DE .SH 返り値 none .SH 関連項目 .br \fI\*(xL\fP