Beispiel #1
0
void* openPhonebook() {
#if defined (_WIN32_WCE)
	CNativeAddressBook* phonebook = new CNativeAddressBook();

	if (!phonebook->openAB()) {
		delete phonebook;
		return NULL;
	}

	return phonebook;
#else
	return NULL;
#endif
}
Beispiel #2
0
void* openPhonebook() {
#if defined (_WIN32_WCE) //&& !defined( OS_PLATFORM_MOTCE )
	if(RHO_IS_WMDEVICE)
	{
		CNativeAddressBook* phonebook = new CNativeAddressBook();

		if (!phonebook->openAB()) {
			delete phonebook;
			return NULL;
		}

		return phonebook;
	}

	return NULL;
#else
	return NULL;
#endif
}