Partager via


RM_RESULT (Compact 2013)

3/26/2014

These are results returned from calls to Resource Manager.

Syntax

typedef enum RM_RESULT {
    RMRE_SUCCESS = 0,

    RMRE_CONFLICT,
    RMRE_EXTERNAL_CONFLICT,
    RMRE_NOT_INITIALIZED,
    RMRE_INVALID_PARAMETER,
    RMRE_UNEXPECTED,
    RMRE_INVALID_VERSION,
    RMRE_INSUFFICIENT_BUFFER,
    RMRE_RESOURCE_DOES_NOT_EXIST,

    RMRE_LAST
} RM_RESULT;

Element Definitions

  • RMRE_SUCCESS = 0,
    The operation completed successfully.
  • RMRE_CONFLICT,
    A resource is in use by a higher priority application.
  • RMRE_EXTERNAL_CONFLICT,
    A resource is not available due to an external condition. For example, a data call was requested and no data network is available.
  • RMRE_NOT_INITIALIZED,
    A parameter is not populated with the expected values.
  • RMRE_INVALID_PARAMETER,
    A parameter is invalid.
  • RMRE_UNEXPECTED,
    An unexpected failure occurred.
  • RMRE_INSUFFICIENT_BUFFER,
    An output buffer is too small to contain the results of the call.
  • RMRE_RESOURCE_DOES_NOT_EXIST,
    A requested resource cannot be found.
  • RMRE_LAST
    The last value.

Requirements

Header

rmnet.h

See Also

Reference

Resource Manager Enumerations