FPA API fixes and examples

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>