Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Xlib Extensions: > Chapter 6 HP Input Device Extension Functions

Getting Current Extended Input Event Selection Masks

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

To obtain the current event selection mask for a specified extended input device and window, use XHPGetCurrentDeviceMask.

int XHPGetCurrentDeviceMask(display, window, deviceid,
mask_return)
Display *display;
Window window;
XID deviceid;
Mask *mask_return; /* RETURN */

Title not available (Getting Current Extended Input Event Selection Masks)

display

Specifies the connection to the X server.

window

Specifies the window ID of the window to examine.

deviceid

Specifies the ID of the device to examine.

mask_return

Returns the current extended input event mask.

XHPGetCurrentDeviceMask returns the current event selection mask for the specified extended input device and the specified window. For standard input events, this information is returned by the XGetWindowAttributes function.

XHPGetCurrentDeviceMask can generate BadWindow and BadDevice errors.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1995 Hewlett-Packard Development Company, L.P.