Friday, February 2, 2007

CeSetUserNotifcationEx 的使用

Windows Mobile Pocket PC Smartphone Programming: Pocket PC Power Management Series 6: Request the Device to Run: a Gentle Way

我不想RunApp ,我只是需要能够发声提醒或振动

文章中还是有错误的:
hNotify = CeSetUserNotificationEx(0, ¬ifTrigger, NULL);
这个Handle 文中在该函数调用成功后,就直接调用 CloseHandle 来关闭,至少 Mobile 5.0 中是直接导致程序崩溃的。这点在该文的评论中也有人提及了

Search This Blog