VB Code:
  1. Public Function GetCustomData(Index As Variant) As Byte()
  2.     GetCustomData = LoadResData(Index, "Custom")
  3. End Function