Idirectory to measure directory size

I read NeroAPI’s manual and it tried to explain idirectory. Unfortunately, it doesn’t give any examples so I dont know exactly how to use it. Does anyone know if idirectory can measure directory size and how it would?
Thanks,
Johnny Del