J
juvi
Hello,
How can I get the next alarm time and day?
Is this possible with the .net cf?
thx in advance.
BR,
juvi
How can I get the next alarm time and day?
Is this possible with the .net cf?
thx in advance.
BR,
juvi
juvi said:I used this P/Invoke from www.pinvoke.net:
[DllImport("coredll.dll", EntryPoint="CeGetUserNotificationHandles",
SetLastError=true)]
private static extern bool CeGetUserNotificationHandles(IntPtr[]
rghNotifications, uint cHandles, ref uint pcHandlesNeeded);
in my code I tried to use:
int res;
CeGetUserNotificationHandles(null, 0, out res);
IntPtr[] handles = new IntPtr[res];
CeGetUserNotificationHandles(handles, res, out res);
foreach (IntPtr h in handles)
{
// no idea what to do here
}
This code is running into syntax error - there must be something wrong.
juvi
Chris Tacke said:You "tried" how? Show us your code. I don't have anything just lying
around that does exactly what you want. I'm sure the SDF has these
P/Invokes defined, but in either case, you're going to have to help us
help
you.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.