Partager via


ScRelocNotifications

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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