the
   ' BitmapInfoHeader structure whilst we create the bitmap:
   CopyMemory tBMIH, m_tBits(nIndex - 1).bBits(0), Len(tBMIH)
   tBMIH.biHeight = tBMIH.biHeight \ 2
   CopyMemory m_tBits(nIndex - 1).bBits(0), tBMIH, Len(tBMIH)
   
   ' find the XOR (image) bits within the icon:
   lXor = FindDIBits(tBMIH)
   ' Find the AND (mask) bits within the icon:
   lAnd = lXor + m_tIDE(nIndex - 1).bHeight * 1# * WidthBytes(tBMIH.biWidth *
    tBMIH.biPlanes * tBMIH.biBitCount)
   
   ' Get the transparent colour:
   