home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / AutoPC / apcsdk10.exe / data1.cab / Emulation_Include_Files / af_rbds.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-13  |  2.4 KB  |  51 lines

  1. /*******************************************************************************
  2. Copyright (c) 1996 Microsoft Corporation
  3.  
  4. af_rbds.h
  5.  
  6. Public Header for RBDS Sock Address Family 
  7.  
  8. Author:
  9.  
  10. *******************************************************************************/
  11. #ifndef _AF_RBDS_H_
  12. #define _AF_RBDS_H_
  13.  
  14. struct sockaddr_rbds {
  15.     short           srbds_family;
  16.     unsigned char   srbds_tuner_id;                             // Tuner ID
  17.     unsigned char   srbds_type;                                 // RBDS message types
  18.     unsigned char   srbds_mbs_sysid;                            // MBS system ID
  19.     unsigned char   empty[11];                                  // total len should be 16 to match other sockaddr's
  20. };
  21.  
  22. typedef struct sockaddr_rbds SOCKADDR_RBDS, *PSOCKADDR_RBDS;
  23.  
  24. #define RBDSADDR_PS             ((unsigned char)0x00)           // Basic Tuning and Switching Information
  25. #define RBDSADDR_PIN            ((unsigned char)0x01)           // Program item number and slow labelling codes
  26. #define RBDSADDR_RT             ((unsigned char)0x02)           // Radio Text
  27. #define RBDSADDR_LN             ((unsigned char)0x03)           // Location and Navigation
  28. #define RBDSADDR_CT             ((unsigned char)0x04)           // Clock time and date
  29. #define RBDSADDR_TDC            ((unsigned char)0x05)           // Transparent Data Channels
  30. #define RBDSADDR_IH             ((unsigned char)0x06)           // In House Applications
  31. #define RBDSADDR_RP             ((unsigned char)0x07)           // Radio Paging
  32. #define RBDSADDR_TMC            ((unsigned char)0x08)           // TMC reserve
  33. #define RBDSADDR_EWS            ((unsigned char)0x09)           // Emergency warning systems
  34. #define RBDSADDR_PTYN           ((unsigned char)0x0A)           // Program Type name
  35. //
  36. // undefined 0x0B - 0x0D
  37. //
  38. #define RBDSADDR_EON            ((unsigned char)0x0E)           // Enhanced other networks information
  39. #define RBDSADDR_FPS            ((unsigned char)0x0F)           // Fast basic tuning and switching information
  40.  
  41. #define RBDSADDR_ANY            ((unsigned char)0xff)           // all RBDS information
  42. #define RBDSADDR_MBS            ((unsigned char)0xfE)           // MMBS packages
  43.  
  44.  
  45. #define RBDSADDR_TUNERID_ANY    ((unsigned char)0x00)           // all tuner RBDS information
  46.  
  47. #define RBDSPROTO_NORM  0                                       // Non modified RBDS
  48.  
  49.  
  50. #endif /* _AF_RBDS_H_ */
  51.