[DllImport("coredll.dll", EntryPoint="CeClearUserNotification", SetLastError=true)]
private static extern bool CeClearUserNotification(int hNotification);
[DllImport("coredll.dll", EntryPoint="CeGetUserNotificationPreferences", SetLastError=true)]
private static extern bool CeGetUserNotificationPreferences(IntPtr hWndParent, byte[] lpNotification);
[DllImport("coredll.dll", EntryPoint="CeHandleAppNotifications", SetLastError=true)]
private static extern bool CeHandleAppNotifications(string appName);
[DllImport("coredll.dll", EntryPoint="CeRunAppAtTime", SetLastError=true)]
private static extern bool CeRunAppAtTime(string pwszAppName, byte[] lpTime);
[DllImport("coredll.dll", EntryPoint="CeRunAppAtEvent", SetLastError=true)]
private static extern bool CeRunAppAtEvent(string pwszAppName, int lWhichEvent);
然后直拉调就好了.
private static extern bool CeClearUserNotification(int hNotification);
[DllImport("coredll.dll", EntryPoint="CeGetUserNotificationPreferences", SetLastError=true)]
private static extern bool CeGetUserNotificationPreferences(IntPtr hWndParent, byte[] lpNotification);
[DllImport("coredll.dll", EntryPoint="CeHandleAppNotifications", SetLastError=true)]
private static extern bool CeHandleAppNotifications(string appName);
[DllImport("coredll.dll", EntryPoint="CeRunAppAtTime", SetLastError=true)]
private static extern bool CeRunAppAtTime(string pwszAppName, byte[] lpTime);
[DllImport("coredll.dll", EntryPoint="CeRunAppAtEvent", SetLastError=true)]
private static extern bool CeRunAppAtEvent(string pwszAppName, int lWhichEvent);
然后直拉调就好了.