InitObjType (Windows CE 5.0)

Send Feedback

This device module function initializes an object type. It is called by an ActiveSync service provider to initialize data and pass a pointer to the IReplObjHandler interface at loading. It is also called to free allocated resources at termination.

BOOL (*PINITOBJPROC)(LPWSTR lpszObjType,IReplObjHandler** ppObjHandler,UINT uPartnerBit);

Parameters

  • lpszObjType
    [in] Pointer to the object type. This value is NULL if InitObjType is called during termination, in which case the ActiveSync service provider should free allocated resources.
  • ppObjHandler
    [out] Pointer to a pointer to the IReplObjHandler interface.
  • uPartnerBit
    [in] A partner bit. This value is 1 if the desktop computer currently connected is partner #1. It is 2 if desktop computer currently connected is partner #2.

Return Values

Returns TRUE if the initialization was successful, and FALSE otherwise.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Cesync.h.
Link Library: Coredll.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.