How to Customize the Skeleton Sample Build and Installation Support Files
The Build utility uses the build support files to build the driver project. For most UMDF drivers, you can simply copy the Skeleton sample support files and modify them to suit the requirements of your driver.
Chapter 19 and Chapter 20 provide further discussion of these support files.
Sources
The Sources file contains a list of source files plus related information that the Build utility requires. You must modify several parts of this file, as shown in Example 13-8.
Example 13-8. The Skeleton sample Sources file
#[1] UMDF_VERSION=1 UMDF_MINOR_VERSION=5 #[2] TARGETNAME=UMDFSkeleton TARGETTYPE=DYNLINK USE_MSVCRT=1 C_DEFINES = $(C_DEFINES) /D_UNICODE /DUNICODE WIN32_WINNT_VERSION=$(LATEST_WIN32_WINNT_VERSION) ...
Get Developing Drivers with the Windows® Driver Foundation now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.