MAPIClientLibraries 2.0 API Documentation

- Main Page
- Related Pages
- Data Structures
- Files
- Examples

- File List
- Globals

Functions
async_emsmdb.c File Reference

Async_EMSMDB stack functions. More...

`#include "libmapi/libmapi.h"`
`#include "libmapi/libmapi_private.h"`

## Functions
enum MAPISTATUS | emsmdb_async_waitex (struct emsmdb_context *emsmdb_ctx, uint32_t flagsIn, uint32_t *flagsOut)

## Detailed Description

Async_EMSMDB stack functions.

## Function Documentation

enum MAPISTATUS emsmdb_async_waitex | ( | struct emsmdb_context * | emsmdb_ctx,
|  | uint32_t | flagsIn,
|  | uint32_t * | flagsOut
| ) |  |

Create an asynchronous wait call

This basically "parks" a call on the AsyncEMSMDB interface to allow asynchronous notification to the client of changes on the server. This call (probably) won't return immediately, but will return when the server makes a change, or 300 seconds (5 minutes) elapses. This call will then need to be re-queued if further change notifications are wanted.

Parameters

  emsmdb_ctx | pointer to the EMSMDB context
  flagsIn | input flags (currently must be 0x00000000)
  flagsOut | output flags (zero for a call completion with no changes, non-zero if there are changes)

Returns
  MAPI_E_SUCCESS on success, otherwise MAPI error

Referenced by RegisterAsyncNotification().

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