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