Re: Functions in CE dlls
- From: "Sue Loh [MS]" <sloh@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 21 Mar 2006 15:19:37 -0500
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.
_____________________________________________________________
.
- References:
- Functions in CE dlls
- From: Shaun
- Functions in CE dlls
- Prev by Date: Re: Functions in CE dlls
- Next by Date: Re: implicit loading of dll ?
- Previous by thread: Re: Functions in CE dlls
- Index(es):
Relevant Pages
|