API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

RESOURCE CONTROL REASONS

Brew Release
Brew MP 1.0.2
See Also
IResourceCtl_Acquire() Resource Control Status
Description
These reasons specify why a requestor needs use the resource. These take the form RESCTL_REASON_XXX.
Members
  • RESCTL_REASON_RELINQUISH : Owner does not need the resource and wishes to release it
    
  • RESCTL_REASON_ANY : No specific reason for resource specified
    
  • RESCTL_REASON_MT_VOICE_CALL : Resource is needed for a mobile terminated voice call
    
  • RESCTL_REASON_MO_VOICE_CALL : Resource is needed for a mobile originated voice call
    
  • RESCTL_REASON_MT_DATA_CALL : Resource is needed for a mobile terminated data call
    
  • RESCTL_REASON_MO_DATA_CALL : Resource is needed for a mobile originated data call
    
  • RESCTL_REASON_MT_SMS : Resource is needed for mobile terminated SMS
    
  • RESCTL_REASON_MO_SMS : Resource is needed for mobile originated SMS
    
  • RESCTL_REASON_PIM : Resource is needed for PIM application
    
  • RESCTL_REASON_GAME : : Resource is needed for a game application
    
  • RESCTL_REASON_MEDIA_PLAYBACK : Resource is needed for media playbay
    
  • RESCTL_REASON_MEDIA_RECORD : Resource is needed for media recording
    
  • RESCTL_REASON_VOLUME_CONTROL : Resource is needed for adjusting volume
    
  • RESCTL_REASON_AUDIO_DEVICE : Resource is needed for audio playback
    
  • RESCTL_REASON_BUSY : Current owner needs resource to finish a key operation.  This reason should be given for only a short duration.
Definition
  •    #define RESCTL_REASON_BASE             0x1000
       #define RESCTL_REASON_RELINQUISH       (RESCTL_REASON_BASE + 0)
       #define RESCTL_REASON_ANY              (RESCTL_REASON_BASE + 1)
       #define RESCTL_REASON_MT_VOICE_CALL    (RESCTL_REASON_BASE + 2)
       #define RESCTL_REASON_MO_VOICE_CALL    (RESCTL_REASON_BASE + 3)
       #define RESCTL_REASON_MT_DATA_CALL     (RESCTL_REASON_BASE + 4)
       #define RESCTL_REASON_MO_DATA_CALL     (RESCTL_REASON_BASE + 5)
       #define RESCTL_REASON_MT_SMS           (RESCTL_REASON_BASE + 6)
       #define RESCTL_REASON_MO_SMS           (RESCTL_REASON_BASE + 7)
       #define RESCTL_REASON_PIM              (RESCTL_REASON_BASE + 8)
       #define RESCTL_REASON_GAME             (RESCTL_REASON_BASE + 9)
       #define RESCTL_REASON_MEDIA_PLAYBACK   (RESCTL_REASON_BASE + 10)
       #define RESCTL_REASON_MEDIA_RECORD     (RESCTL_REASON_BASE + 11)
       #define RESCTL_REASON_VOLUME_CONTROL   (RESCTL_REASON_BASE + 12)
       #define RESCTL_REASON_AUDIO_DEVICE     (RESCTL_REASON_BASE + 13)
       #define RESCTL_REASON_BUSY             (RESCTL_REASON_BASE + 14)
    
Comments
New reason codes must be added using UIDs.