Repost: (To Steve Chin) ..Softdeletions & C++ API

“How come ‘restore’ from ‘$(SoftDeletions)’ view (When softdeletes are enabled) work even if folder references are disabled?”.

I want to use the C++ API, to find the folder that the mail document belongs. Opening each folder and trying to find if the document is in that folder is not an option, please help.

Thanks,

Radhika