[PATCH 2/4] dmsynth: Add error handling to the synth GetPortCaps method