The CbNewENTRYID macro computes the number of bytes that should be allocated for a new ENTRYID structure of a specified size.
CbNewENTRYID (_cb)