Results 1 to 4 of 4

Thread: Its my first time!!!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    113
    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...

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    113
    And is there a way to use them in VB to?

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    113
    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
  •  



Click Here to Expand Forum to Full Width