InitObjType
Windows Mobile 6.5
A version of this page is also available for
4/8/2010
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 );
- 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.