Scroll to navigation

XvPortNotify(3X) XvPortNotify(3X)

名前

XvPortNotify - ポートの属性が変化した時に返されるイベント

書式

#include <X11/extensions/Xvlib.h>
 
 
typedef union { int type; XvVideoNotifyEvent xvvideo; XvPortNotifyEvent xvport; long pad[24]; } XvEvent;
typedef struct { int type; unsigned long serial; Bool send_event; Display *display; XvPortID port_id; Time time; Atom attribute; long value; } XvPortNotifyEvent;
type
イベントの型である XvPortNotify を指定する。
serial
サーバが処理した最後のリクエストの番号。
send_event
イベントが SendEvent リクエストによって生成された場合に真となる。
display
イベントが読み込まれたディスプレイへのポインタ。
port_id
属性が変化したポート。
attribute
変化した属性を示すアトム。
value
属性の変化後の値。

説明

XvPortNotify イベントは、XvSetPortAttribute(3X) 関数によってポートの 属性が設定された時に生成される。

関連項目

XvSetPortAttribute(3X), XvGetPortAttribute(3X), XvSelectPortNotify(3X)
Version 4.1.0 XFree86