Hi
Has anyone knows how to terminate a call when X amount of minutes have passed?
thanks
- It is currently Sun May 19, 2013 1:14 am • All times are UTC + 2 hours
Compact Framework
Moderator: Teksoft
5 posts
• Page 1 of 1
Re: Compact Framework
gabureiru wrote:Hi
Has anyone knows how to terminate a call when X amount of minutes have passed?
thanks
this should do it....just set your timer tick for a second and on 60 ticks:
Edit Note: This is the sig for the dynril library, but I think the sig is the same for DynTAPI
- Code: Select all
// #define NETWORK_FLAGS_DROP_ALL 0x0f
public const int NETWORK_FLAGS_DROP_ALL = 0x0f;
// DWORD NetworkDropCall(DWORD dwFlags);
[DllImport("DynRILDll.dll")]
public static extern uint NetworkDropCall(uint dwFlags);
//usage:
NetworkDropCall(NETWORK_FLAGS_DROP_ALL);
- m_drunk
- TEK-Newbie

- Posts: 6
- Joined: Fri May 01, 2009 3:00 am
you know, when I posted this, I didn't know that I'd be using it, and now that I'm trying, with both RIL and TAPI, I'm finding that it only works on some phones, some of the time! Same with the NetworkGetCallState for the offering and outgoing flags. Can anyone offer any help here?
- m_drunk
- TEK-Newbie

- Posts: 6
- Joined: Fri May 01, 2009 3:00 am
5 posts
• Page 1 of 1
Return to .NET Compact Framework
Who is online
Users browsing this forum: No registered users and 0 guests
