MAPINAMEID::lpguid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When you call the MAPIPROP::GetIDsFromNames(), you should fill the MAPINAMEID
structure. Now what are the valid values for the MAPINAMEID::lpguid?
I encounter a link error when I use the PS_PUBLIC_STRINGS... what should I
include in my project?
When to use PS_PUBLIC_STRINGS, PS_MAPI ? When to use a client - defined
value? And is there a specific range for the client-defined value?
I think the documentation is very poor.
 
PS_PUBLIC_STRINGS is what Outlook uses to store the user properties added
through the Object Model (MailItem.UserProperties).
Your property however won't show in that collection if you use the same GUID
(there is more to that besides setting a property) .
You can use any GUID you want (your own unique one is best); the whole
purpose of that GUID is that you can create a unique property which won't
conflict with somebody's else property even if the property name or id is
the same.
Post your Extended MAPI questions to the *.messaging newsgroup.

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