This API is obsolete and incomplete. It is provided for compatibility only. Don't use it for any new application !