Esempio n. 1
0
 // Conversion / utility routines
 // Composition of a type id
 public static UInt32 MAKE_BCDE_DATA_TYPE(BCDE_CLASS _Class, BCDE_FORMAT _Format, UInt32 _Subtype)
 {
     return
         (((((UInt32)_Class) & 0xF) << 28) |
          ((((UInt32)_Format) & 0xF) << 24) |
          ((_Subtype) & 0x00FFFFFF));
 }
 // Conversion / utility routines
 // Composition of a type id
 public static UInt32 MAKE_BCDE_DATA_TYPE(BCDE_CLASS _Class, BCDE_FORMAT _Format, UInt32 _Subtype)
 {
     return
         (((((UInt32)_Class) & 0xF) << 28) |
         ((((UInt32)_Format) & 0xF) << 24) |
         ((_Subtype) & 0x00FFFFFF));
 }