home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / bpcpri.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  2.5 KB  |  80 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  2. ////////////////////////////////////////////////////////////////////
  3. //
  4. // BPCPRI.H
  5. //
  6. // common bpc tuner priority definitions
  7. //
  8. // Copyright (c) 1997 - 1999 Microsoft Corp.  All Rights Reserved.
  9. //
  10. ////////////////////////////////////////////////////////////////////
  11.  
  12. #if _MSC_VER > 1000
  13. #pragma once
  14. #endif
  15.  
  16. #ifndef BPCPRI_H
  17. #define BPCPRI_H
  18.  
  19. #include <limits.h>
  20.  
  21. typedef enum BPC_PRIORITY {
  22.     BPCPRI_MAX_PRI = LONG_MAX,
  23.  
  24.     // since the current owner wins a tie, if you really need
  25.     // exclusive access use max pri and nobody can preempt you.
  26.     BPCPRI_EXCLUSIVE = BPCPRI_MAX_PRI,
  27.  
  28.     // get ppv details for making a purchase with user permission to
  29.     // interrupt everything
  30.     BPCPRI_PPV_INT_ALL          = 11000,
  31.  
  32.     // viewing after the user has confirmed that they wish to interrupt a
  33.     // recording
  34.     BPCPRI_VIEW_INT_RECORD      = 10000,
  35.  
  36.     // normal recording.  this is higher then viewing so that someone
  37.     // walking up to the tv who is unaware that a recording is in
  38.     // progress will get a notification before they interrupt the recording
  39.     // and so that a scheduled recording will start and run if a user
  40.     // has gone away leaving the tv viewer running
  41.     BPCPRI_RECORD               = 9000,
  42.  
  43.     // attempt to get ppv details for making a purchase with user
  44.     // permission to interrupt viewing but not recording
  45.     BPCPRI_PPV_DETAILS_INT_VIEW = 8000,
  46.  
  47.     //normal tv viewing
  48.     BPCPRI_VIEW                 = 7000,
  49.  
  50.     // attempt to get ppv details for a purchase but don't
  51.     // interrupting viewing or recording
  52.     BPCPRI_PPV_DETAILS          = 6000,
  53.  
  54.     // download program guide database information
  55.     BPCPRI_EPG_LOADER           = 5000,
  56.  
  57.     // msbdn data reception (webcast, etc.)
  58.     BPCPRI_DATA_RECV            = 4000,
  59.  
  60.     // msbdn announcement listener
  61.     BPCPRI_ANNOUNCE             = 3000,
  62.  
  63.     // leave tv viewing with power off.  apps should go to this priority
  64.     // when they receive notification that their monitor is
  65.     // powered off.  this allows the best instant on response when
  66.     // no background downloads are occurring but allows data downloads and
  67.     // epg downloads to interrupt viewing
  68.     BPCPRI_POWER_OFF            = 2000,
  69.  
  70.     // idle ocx priority when no input device selected
  71.     BPCPRI_IDLE                 = 1000,
  72.  
  73.     BPCPRI_NONE                 = 0,
  74.     BPCPRI_MIN                  = BPCPRI_NONE,
  75. } BPC_PRIORITY;
  76.  
  77. #endif
  78. // end of file - bpcpri.h
  79. #pragma option pop /*P_O_Pop*/
  80.