int saveRecord(void* pb, void* record) { #if defined (_WIN32_WCE) if (record) { CABRecord* r = (CABRecord*)record; LOGC(INFO,"Phonebook") + "About to save:"; r->dump(); r->save(); delete r; } #endif return 1; }
int saveRecord(void* pb, void* record) { #if defined (_WIN32_WCE)//&& !defined( OS_PLATFORM_MOTCE ) if (RHO_IS_WMDEVICE && record) { CABRecord* r = (CABRecord*)record; LOGC(INFO,"Phonebook") + "About to save:"; r->dump(); r->save(); delete r; } #endif return 1; }