|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
For every stream interface driver DLL, the required entry points implement standard file I/O functions plus power management functions that are used by the Windows CE kernel. The following list shows the required entry points:
When you create a DLL, replace XXXin the entry-point names with a device file name prefix. For example, if your device file name prefix is "GPS," you will implement GPS_Close, GPS_Init, etc. Implementing XXX_PowerUpand XXX_PowerDownis optional.
Note: your implementations of these entry points must be declared for export from your DLL by placing the string __declspec(dllexport)in front of your function declaration. If you are developing in C++, your entry points must also be declared extern "C"as well. For example:
extern "C" __declspec(dllexport) DWORD GPS_Init(DWORD dwContext);
Last updated on Tuesday, July 13, 2004