Yeild the EDO size
| Return Type | Function name | Arguments |
|---|---|---|
| uint32_t | hzEdo::Total | (void) |
Declared in file: hzDatabase.h
Defined in file : hdbObjRepos.cpp
Function Logic:
Function body:
uint32_t hzEdo::Total (void)
{
// Yeild the EDO size
uchar* pSlot ; // EDO string space
uint32_t nSize ; // EDO size
if (!m_addr)
return 0;
pSlot = g_pSMAR_Edo->Xlate(m_addr) ;
if (!pSlot)
return 0;
if (pSlot[0]& 0x80)
{
if (pSlot[0]& 0x40)
nSize = (((pSlot[0]& 0x3f)<<16)+(pSlot[1]<<8)+pSlot[2])+ 3;
else
nSize = (((pSlot[0]& 0x3f)<<8)+pSlot[1])+2;
}
else
nSize = pSlot[0]+ 1;
return nSize ;
}