Condividi tramite


ScRelocNotifications

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Adjusts a pointer within a specified event notification array.

Header file:

Mapiutil.h

Implemented by:

MAPI

Called by:

Client applications and service providers

SCODE ScRelocNotifications(
  int cntf,
  LPNOTIFICATION rgntf,
  LPVOID pvBaseOld,
  LPVOID pvBaseNew,
  ULONG FAR * pcb
);

Parameters

  • cntf
    [in] Count of NOTIFICATION structures in the array indicated by the rgntf parameter.

  • rgntf
    [in] Pointer to the array of NOTIFICATION structures defining event notifications within which a pointer is to be adjusted.

  • pvBaseOld
    [in] Pointer to the original base address of the array indicated by the rgntf parameter.

  • pvBaseNew
    [in] The location to which ScRelocNotifications writes the new base address of the array indicated by the rgntf parameter.

  • pcb
    [out] Pointer to the size, in bytes, of the array indicated by the pvBaseNew parameter.

Return Value

  • S_OK
    A pointer was adjusted successfully.

  • MAPI_E_INVALID_PARAMETER
    An invalid notification was encountered.

Remarks

The pcb parameter to the ScRelocNotifications function is optional.

See Also

Reference

ScRelocProps