Re: Functions in CE dlls



The best reference is to look up the API you want to PInvoke, and see which
"link library" is listed for that API. For example see the bottom of
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedata5/html/wce50lrfCreateFile.asp.
It lists coredll.lib which means that to PInvoke the CreateFile API you'd
find it in coredll.dll. If it helps, the majority of OS APIs are exported
by coredll.dll.

We don't have an tables mapping DLLs -> APIs, nor could we for general
embedded CE use because OEMs can pick and choose OS components, adding &
removing APIs from the system. Eg. an OEM could exclude our graphics &
windowing which would exclude the corresponding graphics & windowing APIs.
For PocketPC and Smartphone we could potentiallly have documents like that,
but those would still be tough to keep up to date from release to release.

FWIW, if you can copy the DLL to the desktop, you can run "dumpbin /exports
<foo.dll>" to get a list of all the exports. But if the DLL is stored in
ROM it's possible you can't copy it off the device.

Sue
sloh@xxxxxxxxxxxxx (remove "online" from reply-to address)
http://blogs.msdn.com/ce_base/
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________


.



Relevant Pages

  • Re: Laufwerksbuchstaben und Sharename
    ... vermutlich zB PInvoke auf Win32 WNetGetUniversalName ... oder andere APIs, oder WMI: ...
    (microsoft.public.de.german.entwickler.dotnet.vb)
  • PlaySound, pause etc
    ... If I call PlaySound through PInvoke, is there any way to pause it and resume ... are there any other APIs that would allow me to play a sound ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Herkunft von besuchten Websiten speichern
    ... Es braucht erst die entsprechenden 'Gerätetreiber' ... und APIs, dann aus .NET zB per PInvoke, etwa ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • RE: Getting the Windows Groups for the Logged On User
    ... Use PInvoke to call Win32 GetTokenInformation API to TOKEN_INFORMATION_CLASS.TokenGroups, passing in the HttpContext.Current.User.Identity.Token as the parameter as the token handle. ... (More extensive support for Win32 APIs, ...
    (microsoft.public.dotnet.security)
  • RE: Getting the Windows Groups for the Logged On User
    ... Use PInvoke to call Win32 GetTokenInformation API to TOKEN_INFORMATION_CLASS.TokenGroups, passing in the HttpContext.Current.User.Identity.Token as the parameter as the token handle. ... (More extensive support for Win32 APIs, ...
    (microsoft.public.dotnet.framework.aspnet.security)