NAME

XListDeviceProperties - List a device's properties.

SYNTAX



<> <> ##iinncclluuddee <> <> Atom* XListDeviceProperties(Display *display, XDevice *device, int *nprops_return);

ARGUMENTS

_d_i_s_p_l_a_y Specifies the connection to the X server.

_d_e_v_i_c_e The device to grab.

_n_p_r_o_p_s___r_e_t_u_r_n Specifies the number of Atoms returned.

_n_u_m___v_a_l_u_e_s Specifies the number of elements in the values list.

_p_r_o_p_e_r_t_y Specifies the property to modify or query.

DESCRIPTION

The XXLLiissttDDeevviicceePPrrooppeerrttiieess function returns a list of the properties associated with the input device specified in _d_e_v_i_c_e. Each device may have an arbitrary number of properties attached, some of which were created by the driver and/or server, others created by clients at runtime.

The client is expected to free the list of properties using XXFFrreeee.

XXLLiissttDDeevviicceePPrrooppeerrttiieess can generate a BadDevice error.

DIAGNOSIS

BadAtom A value does not describe a valid named identifier.

BadWindow A value for a Window argument does not name a defined window.

BadDevice An invalid device was specified. The device does not exist.

SEE ALSO

XXCChhaannggeeDDeevviicceePPrrooppeerrttyy, XXGGeettDDeevviicceePPrrooppeerrttyy, XXDDeelleetteeDDeevviicceePPrrooppeerrttyy.

AUTHOR

PPeetteerr HHuutttteerreerr

Specification and implementation.