Hello,

I'm working with context menus in messaging.
The QueryContextMenu() is called every time
the menu is invoked. If there are no messages
the cRefs is 1 and rgRefs[0] is pointing to a
IMAPIFolder interface. I can obtain the
PR_DISPLAY_NAME with GetProps() but I cannot
find out the message class for that folder.
I tried both PR_MESSAGE_CLASS and PR_CONTAINER_CLASS
properties on that folder but the returned ulPropTag
is 0xa for both cases and the Value.lpszW contains
garbage.

(I can get the message class from a message
that is located in that folder, but it's not
always there.)

Thanks,
Igor Stirbu