I need get Adobe acrobat Bookmarks levels, Level by level value using c++/Vc++/win32

  adobe, c++, pdf, visual-c++

I’m doing iterating all bookmarks in adobe acrobat. So here I want know level by level means: To get all first levels, To get all second levels and To get third levels. Please give some advise on that.

I need to get highest level of bookmark count.

Source: Windows Questions C++