NAME | SYNOPSIS | DESCRIPTION | PARAMETERS | ATTRIBUTES | RETURN VALUES | ERRORS | SEE ALSO
#include <tsol/Xtsol.h>
Display *display; XID object; ResourceType type; XTSOLResAttributes *cmwwinattrp;Status XTSOLgetResAttributes(display, object, type, cmwwinattrp);
The client requires the PRIV_WIN_DAC_READ
and PRIV_WIN_MAC_READ
privileges. XTSOLgetResAttributes() is used to get all CMW attributes associated with a window or
a pixmap in a single call. The attributes include UID, information label, sensitivity label, input information label, and workstation owner.
Specifies a pointer to the Display structure; returned from XOpenDisplay().
Specifies the ID of a window system object. Possible window system objects are windows and pixmaps.
Specifies what type of resource is being accessed. Possible values are IsWindow and IsPixmap
Client must provide a pointer to XTSOLResAttributes.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Availability | SUNWxwplt (available only on Trusted Solaris systems) |
MT-Level | MT-Unsafe |
None
Lack of privilege
Not a valid window
Not a valid pixmap
Not a valid type
NAME | SYNOPSIS | DESCRIPTION | PARAMETERS | ATTRIBUTES | RETURN VALUES | ERRORS | SEE ALSO