To write a custom declaration, you first must create a procedure that points to the Windows CE API and associated DLL you want to call. Then you must create parameters and return values that map to the parameters and return values in the Windows CE API.
However, before you can create a custom declaration, you need to identify the DLL that contains the procedure you want to call. To view the contents of a DLL, you can use the emulator.
QuickView lists information about the DLL, including which procedures the DLL imports and exports.
After determining the procedure and DLL you want to use, you can begin writing the declaration.