How do I get a propertyvalue from a mapitable

  • Thread starter Thread starter davidgtalk
  • Start date Start date
D

davidgtalk

I have a profile MapiTable from a call to LPPROFADMIN->GetProfileTable.
Calls to pHrQueryAllRows works.

I want to get the profile names from the table.

How do I do this?

I'm thinking it has something to do with HrGetOneProp and
PR_PROFILE_NAME but I cannot work out how to use properties.

Thanks
 
No, you need to call IMAPITable::SetColumns first to set the appropriate
column(s), e.g. PR_DISPLAY_NAME, then call IMAPITable::QueryRows.
Or you can combine the two calls using HrQueryAllRows()

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top