Hello den2005,
Programming for XP Embedded is the same as programming for big windows.
Here are some links to MSDN that may be of help.
http://msdn.microsoft.com/library/de...as/rasdial.asp
http://msdn.microsoft.com/library/de.../rashangup.asp
http://msdn.microsoft.com/library/de...properties.asp
http://msdn.microsoft.com/library/de...properties.asp
Also, search in:
http://groups.google.com/group/micro...ramework?hl=en
You may find the P/Invoke information that you need for these functions.
HTH,
Brad
"den 2005" <(E-Mail Removed)> wrote in message
news:858922BD-F813-46D0-8CB9-(E-Mail Removed)...
> Hi everybody,
> What are the methods that is a counterpart of these methods in
> coredll.dll of Windows CE in Windows XP embedded?
>
> Code:
> [DllImport("coredll.dll", EntryPoint="RasDial", SetLastError=true)]
> public static extern uint RasDial(int dialExtensions,string
> phoneBookPath,byte[] rasDialParam, int NotifierType,int notifier,ref int
> pRasConn);
>
> [DllImport("coredll.dll", EntryPoint="RasHangUp", SetLastError=true)]
> public static extern uint RasHangUp(int Session);
>
> [DllImport("coredll.dll", EntryPoint="RasSetEntryProperties",
> CharSet=CharSet.Unicode, SetLastError=true)]
> public static extern uint RasSetEntryProperties(string lpszPhoneBook,
> string
> szEntry, byte[] lpEntry,uint dwEntrySize, byte[] lpb, uint dwSize);
>
> [DllImport("coredll.dll", EntryPoint="RasGetEntryProperties",
> CharSet=CharSet.Unicode, SetLastError=true)]
> public static extern uint RasGetEntryProperties(string lpszPhoneBook,
> string
> lpszEntry, byte[] lpEntry,ref uint lpdwEntrySize, byte[] lpb, ref uint
> lpdwSize);
>
> [DllImport("coredll.dll", EntryPoint="WaveOutSetVolume",
> SetLastError=true)]
> public static extern int WaveOutSetVolume(IntPtr uDeviceID, uint
> lpdwVolume);
>
> Also, how would manipulate the audio (volume) and turning off the tablet
> pc?
> Wha are methods of which api? Is the name of api to manipulate these
> hardware
> devices "winxpapi.dll" ? Thanks
>
> den2005
>
> --
> MCP Year 2005, Philippines