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 );
[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.
[out] Pointer to a pointer to the IReplObjHandler interface.
[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.