The function returns both hard- and softcoded properties.
write(sprintf("%O\n", obj->QueryProperties())); prints the current setting of <obj>'s all properties.