See am_policy_test.c in the C SDK samples for an example of how to use am_policy_result_t in the policy interfaces.