BIacksun
Apr 20th, 2001, 12:21 PM
i found the functions
GetIDsFromNames
and
GetNamesFromIDs
could someone wright a quick EG. of them at work.
I cant fig. out how to do it with out a EG.
IM new to C++. (MY FIRST DAY) not joking
im using VC++
THANX...
BIacksun
Apr 20th, 2001, 12:22 PM
And is there a way to use them in VB to?
parksie
Apr 20th, 2001, 12:30 PM
Where are these functions from? Do you have any more information about them?
BIacksun
Apr 20th, 2001, 01:00 PM
IN MSDN HELP
For example, a client could use code similar to the following code to retrieve the names for all of an object's named properties:
LPSPropTagArray FAR * lppPropTags = NULL;
LPGUID lpPropSetGuid = NULL;
ULONG FAR * lpcPropNames;
LPMAPINAMEID FAR * FAR * lpppPropNames;
lpMAPIProp->GetNamesFromIDs (lppPropTags,
lpPropSetGuid,
0,
lpcPropNames,
lpppPropNames);
To request all names from the PS_PUBLIC_STRINGS property set, a client would replace the NULL in the property set parameter to PS_PUBLIC_STRINGS as follows:
LPSPropTagArray FAR * lppPropTags = NULL;
LPGUID lpPropSetGuid = &PS_PUBLIC_STRINGS;
ULONG FAR * lpcPropNames;
LPMAPINAMEID FAR * FAR * lpppPropNames;
lpMAPIProp->GetNamesFromIDs (lppPropTags,
lpPropSetGuid,
0,
lpcPropNames,
lpppPropNames);