Functions for manipulating MAPI properties. More...
#include <libmapi/libmapi.h>
Functions | |
_PUBLIC_ struct GlobalObjectId * | get_GlobalObjectId (TALLOC_CTX *mem_ctx, struct Binary_r *bin) |
_PUBLIC_ struct RecurrencePattern * | get_RecurrencePattern (TALLOC_CTX *mem_ctx, struct Binary_r *bin) |
_PUBLIC_ struct TimeZoneStruct * | get_TimeZoneStruct (TALLOC_CTX *mem_ctx, struct Binary_r *bin) |
_PUBLIC_ struct SPropTagArray * | set_SPropTagArray (TALLOC_CTX *mem_ctx, uint32_t PropCount,...) |
_PUBLIC_ enum MAPISTATUS | SPropTagArray_add (TALLOC_CTX *mem_ctx, struct SPropTagArray *SPropTagArray, uint32_t aulPropTag) |
_PUBLIC_ enum MAPISTATUS | SRow_addprop (struct SRow *aRow, struct SPropValue SPropValue) |
_PUBLIC_ uint32_t | SRowSet_propcpy (TALLOC_CTX *mem_ctx, struct SRowSet *SRowSet, struct SPropValue SPropValue) |
Functions for manipulating MAPI properties.
_PUBLIC_ struct GlobalObjectId* get_GlobalObjectId | ( | TALLOC_CTX * | mem_ctx, |
struct Binary_r * | bin | ||
) | [read] |
Retrieve a GlobalObjectId structure from a binary blob
mem_ctx | pointer to the memory context |
bin | pointer to the Binary_r structure with raw GlobalObjectId data |
_PUBLIC_ struct RecurrencePattern* get_RecurrencePattern | ( | TALLOC_CTX * | mem_ctx, |
struct Binary_r * | bin | ||
) | [read] |
Retrieve a RecurrencePattern structure from a binary blob
mem_ctx | pointer to the memory context |
bin | pointer to the Binary_r structure with non-mapped reccurrence data |
_PUBLIC_ struct TimeZoneStruct* get_TimeZoneStruct | ( | TALLOC_CTX * | mem_ctx, |
struct Binary_r * | bin | ||
) | [read] |
Retrieve a TimeZoneStruct structure from a binary blob
mem_ctx | pointer to the memory context |
bin | pointer to the Binary_r structure with raw TimeZoneStruct data |
_PUBLIC_ struct SPropTagArray* set_SPropTagArray | ( | TALLOC_CTX * | mem_ctx, |
uint32_t | PropCount, | ||
... | |||
) | [read] |
Create a property tag array
mem_ctx | talloc memory context to use for allocation |
PropCount | the number of properties in the array |
The varargs (the third and subsequent arguments) are the property tags to make up the array. So the normal way to use this to create an array of two tags is like:
struct SPropTagArray *array array = set_SPropTagArray(mem_ctx, 2, PR_ENTRYID, PR_DISPLAY_NAME);
Referenced by AddUserPermission(), GetABRecipientInfo(), GetBestBody(), GetFolderItemsCount(), GetUserFreeBusyData(), ModifyUserPermission(), ProcessNetworkProfile(), and RemoveUserPermission().
_PUBLIC_ enum MAPISTATUS SPropTagArray_add | ( | TALLOC_CTX * | mem_ctx, |
struct SPropTagArray * | SPropTagArray, | ||
uint32_t | aulPropTag | ||
) |
Add a property tag to an existing properties array
mem_ctx | talloc memory context to use for allocation |
SPropTagArray | existing properties array to add to |
aulPropTag | the property tag to add |
Referenced by OpenEmbeddedMessage(), OpenMessage(), and ReloadCachedInformation().
_PUBLIC_ enum MAPISTATUS SRow_addprop | ( | struct SRow * | aRow, |
struct SPropValue SPropValue | |||
) |
add a SPropValue structure to a SRow array
aRow | pointer to the SRow array where SPropBalue should be appended |
SPropValue | reference to the SPropValue structure to add to aRow |
Referenced by OpenEmbeddedMessage(), OpenMessage(), ReloadCachedInformation(), and SetRecipientType().
_PUBLIC_ uint32_t SRowSet_propcpy | ( | TALLOC_CTX * | mem_ctx, |
struct SRowSet * | SRowSet, | ||
struct SPropValue SPropValue | |||
) |
Append a SPropValue structure to given SRowSet
mem_ctx | pointer to the memory context |
SRowSet | pointer to the SRowSet array to update |
SPropValue | the SPropValue to append within SRowSet |
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |