|
#define | cdh_CidToVid(cid) ((cid) >> 16) |
| Get volme identity for class identity.
|
|
#define | cdh_TidToVid(tid) ((tid) >> 16) |
| Get volume identity for type identity.
|
|
#define | cdh_cixToCid(Vid, Cix) (0 + ((Vid) << 16) + ((Cix) << 3)) |
| Get class identity for class index.
|
|
#define | cdh_cidToCix(Cid) (((Cid) >> 3) & 0xfff) |
| Get class index from class identity.
|
|
#define | cdh_tixToTid(Vid, Tyg, Tix) (0 + ((Vid) << 16) + (1 << 15) + ((Tyg) << 11) + (Tix)) |
| Get type identity for type index.
|
|
#define | cdh_cixToOix(Cix, Bix, Aix) (0 + (1 << 31) + ((Cix) << 18) + ((Bix) << 15) + (Aix)) |
| Get object index for class index.
|
|
#define | cdh_tixToOix(Tyg, Tix) (0 + (1 << 31) + (1 << 30) + ((Tyg) << 26) + ((Tix) << 15)) |
| Get object index for type index.
|
|
#define | cdh_oixToBix(Oix) ((pwr_eBix)(((Oix) >> 15) & 7)) |
| Get object index for body index.
|
|
#define | cdh_oixToCix(Oix) (((Oix) >> 18) & 0xfff) |
| Get class index for object index.
|
|
#define | cdh_oixToAix(Oix) ((Oix)&0xfff) |
| Get attribute index for object index.
|
|
#define | cdh_cidToBid(Cid, Bix) ((Cid) & (Bix)) |
| Get bodyid from classid.
|
|
#define | cdh_bidToBix(Bid) ((Bid)&7) |
| Get bix from bodyid.
|
|
#define | cdh_tidIsCid(Tid) (((Tid) & (1 << 15)) == 0) |
| Check if type id is a class id.
|
|
#define | cdh_cUserVolMin (0 + ((pwr_tVolumeId)0 << 24) + (1 << 16) + (1 << 8) + 1) |
| Smallest value of volume identity for user volumes.
|
|
#define | cdh_cUserVolMax (0 + ((pwr_tVolumeId)0 << 24) + (254 << 16) + (254 << 8) + 254) |
| Largest value of volume identity for user volumes.
|
|
#define | cdh_cManufactClassVolMin (0 + ((pwr_tVolumeId)0 << 24) + (0 << 16) + (250 << 8) + 0) |
| Smallest value of volume identity for manufacturer classvolumes.
|
|
#define | cdh_cManufactClassVolMax (0 + ((pwr_tVolumeId)0 << 24) + (0 << 16) + (254 << 8) + 254) |
| Largest value of volume identity for manufacturer classvolumes.
|
|
#define | cdh_cUserClassVolMin (0 + ((pwr_tVolumeId)0 << 24) + (0 << 16) + (2 << 8) + 1) |
| Smallest value of volume identity for user classvolumes.
|
|
#define | cdh_cUserClassVolMax (0 + ((pwr_tVolumeId)0 << 24) + (0 << 16) + (249 << 8) + 254) |
| Largest value of volume identity for user classvolumes.
|
|
#define | cdh_cSystemClassVolMin (0 + ((pwr_tVolumeId)0 << 24) + (0 << 16) + (0 << 8) + 1) |
| Smallest value of volume identity for system classvolumes.
|
|
#define | cdh_cSystemClassVolMax (0 + ((pwr_tVolumeId)0 << 24) + (0 << 16) + (1 << 8) + 254) |
| Largest value of volume identity for system classvolumes.
|
|