This routine returns the resource attributes for a window ID in *resattrp. Refer to the XTSOLgetResAttributes(3) man page.
Status XTSOLgetResAttributes(Display *display, XID object, ResourceType resourceFlag, XTsolResAttributes *resattrp);