MAPIProxy 2.0 API Documentation

- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

Functions
entryid.c File Reference

EntryID convenient routines. More...

`#include "mapiproxy/dcesrv_mapiproxy.h"`
`#include "libmapiproxy.h"`
`#include "libmapi/libmapi.h"`
`#include "libmapi/libmapi_private.h"`

## Functions
enum MAPISTATUS | entryid_set_AB_EntryID (TALLOC_CTX *mem_ctx, const char *legacyExchangeDN, struct SBinary_short *bin)
_PUBLIC_ enum MAPISTATUS | entryid_set_folder_EntryID (TALLOC_CTX *mem_ctx, struct GUID *MailboxGuid, struct GUID *ReplGuid, uint16_t FolderType, uint64_t fid, struct Binary_r **rbin)

## Detailed Description

EntryID convenient routines.

## Function Documentation

enum MAPISTATUS entryid_set_AB_EntryID | ( | TALLOC_CTX * | mem_ctx,
|  | const char * | legacyExchangeDN,
|  | struct SBinary_short * | bin
| ) |  |

Build an Address Book EntryID from a legacyExchangeDN

Parameters

  mem_ctx | pointer to the memory context
  legacyExchangeDN | the string to copy into the binary blob
  bin | the binary blob where the function stores results

Referenced by EcDoRpc_RopCreateMessage().

_PUBLIC_ enum MAPISTATUS entryid_set_folder_EntryID | ( | TALLOC_CTX * | mem_ctx,
|  | struct GUID * | MailboxGuid,
|  | struct GUID * | ReplGuid,
|  | uint16_t | FolderType,
|  | uint64_t | fid,
|  | struct Binary_r ** | rbin
| ) |  |

Build a folder EntryID

Parameters

  mem_ctx | pointer to the memory context
  MailboxGuid | pointer to the Mailbox Guid
  ReplGuid | pointer to the Replica Guid
  FolderType | the type of folder
  fid | the folder identifier
  rbin | the Binary_r structure where the function stores results

Returns
  MAPI_E_SUCCESS on success, otherwise MAPI_E_INVALID_PARAMETER

| This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/