InitObjType
This function allows an ActiveSync service provider on the device to either initialize data and pass a pointer to the IReplObjHandler interface at loading, or free allocated resources at termination.
BOOL InitObjType(
LPWSTR lpszObjType,
IReplObjHandler* ppObjHandler,
UINT uPartnerBit
);
Parameters
- lpszObjType
[in] Long pointer to the null-terminated string that contains the name of the object type. 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] Unsigned integer is 1 if desktop computer currently connected is partner #1, is 2 if desktop computer currently connected is partner #2.
Return Values
Returns TRUE if the initialization or release operation was successful, otherwise returns FALSE.
Requirements
OS Versions: Windows CE 2.0 and later.
Header: Cesync.h.
Link Library: Coredll.lib.
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.