Success and failure result codes
#define PRL_SUCCEEDED( err ) ( ( PRL_RESULT )( err ) >= 0 )
PrlErrors.h