|
-
Apr 20th, 2001, 12:21 PM
#1
Thread Starter
Lively Member
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...
-
Apr 20th, 2001, 12:22 PM
#2
Thread Starter
Lively Member
And is there a way to use them in VB to?
-
Apr 20th, 2001, 12:30 PM
#3
Monday Morning Lunatic
Where are these functions from? Do you have any more information about them?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Apr 20th, 2001, 01:00 PM
#4
Thread Starter
Lively Member
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);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|