Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit
Sources File
Sources File
Prior to building the newly created stream driver, you should also check the Sources file in the root folder of the DLL subproject to ensure that it includes all necessary files in the build process. As mentioned in Chapter 2, the Sources file configures the compiler and linker to build the desired binary files. Table 6-2 summarizes the most important Sources file directives for device drivers.
Table 6-2 Important Sources file directives for device drivers
Directive | Description |
---|---|
WINCEOEM=1 | Causes additional header files and import libraries from the %_WINCEROOT%Public tree to be included to enable the driver to make platform-dependent function calls, such as KernelIoControl, InterruptInitialize, and InterruptDone. |
TARGETTYPE=DYNLINK | Instructs the Build tool to create a DLL. |
DEFFILE=<Driver Def File Name>.def | References the module-definition file that defines the exported DLL functions. |
DLLENTRY=<DLL Main Entry Point> | Specifies the function that is called when processes and threads attach and detach to and from the driver DLL (Process Attach, Process Detach, Thread Attach, and Thread Detach). |
Оглавление статьи/книги
Похожие страницы
- Makefile Files
- Sources Files
- Shared Cache file
- Безопасность внешних таблиц. Параметр EXTERNAL FILE DIRECTORY
- Chapter 13. rc.firewall file
- Appendix E. Other resources and links
- 4.3.3. Makefile Targets
- Что это за файл – pagefile.sys?
- Для чего нужны папки Windows, Documents and Settings, Program Files и Temp?
- Можно ли указать использование по умолчанию вместо C:Program Files другого каталога для установки программ?
- Можно ли удалять из папки Program Files папки деинсталлированных программ?
- Диски С: и D: невозможно открыть простым щелчком кнопки мыши. Появляется сообщение Не найден файл file.exe. Что делать?