From c55397f675ffbb3b3fe11dcfa2d5686e36bc7f05 Mon Sep 17 00:00:00 2001 From: Mike Fenelon Date: Thu, 24 Aug 2017 16:00:36 -0700 Subject: Fixup INF files with ARM64 tags --- .../C++/bitmap.inf | 8 +++++++- .../C++/oemdll.inf | 19 ++++++++++++++++++- .../C++/oemprean.inf | 8 +++++++- .../C++/uisamples.inf | 10 +++++++++- .../C++/winxp.inf | 11 ++++++++++- .../README.md | 6 ++++-- 6 files changed, 55 insertions(+), 7 deletions(-) diff --git a/print/OEM Printer Customization Plug-in Samples/C++/bitmap.inf b/print/OEM Printer Customization Plug-in Samples/C++/bitmap.inf index 247fb069..e189a41d 100644 --- a/print/OEM Printer Customization Plug-in Samples/C++/bitmap.inf +++ b/print/OEM Printer Customization Plug-in Samples/C++/bitmap.inf @@ -20,7 +20,7 @@ DriverVer=6/07/2001,1.0.0.1 ; that we will display in the Dialog box ; [Manufacturer] -"Microsoft"=Microsoft, NTx86, NTamd64, NTia64 +"Microsoft"=Microsoft, NTx86, NTamd64, NTia64, NTarm64 ; ; Model sections. @@ -42,6 +42,9 @@ DriverVer=6/07/2001,1.0.0.1 [Microsoft.NTia64] "Bitmap Driver" = BITMAP +[Microsoft.NTarm64] +"Bitmap Driver" = BITMAP + ; ; Installer Sections ; @@ -99,6 +102,9 @@ bitmap.dll = 100,bitmap\amd64 [SourceDisksFiles.ia64] bitmap.dll = 100,bitmap\ia64 +[SourceDisksFiles.arm64] +bitmap.dll = 100,bitmap\arm64 + [SourceDisksFiles] BITMAP.GPD = 100 BITMAP.INI = 100 diff --git a/print/OEM Printer Customization Plug-in Samples/C++/oemdll.inf b/print/OEM Printer Customization Plug-in Samples/C++/oemdll.inf index 28bf2207..0acf810b 100644 --- a/print/OEM Printer Customization Plug-in Samples/C++/oemdll.inf +++ b/print/OEM Printer Customization Plug-in Samples/C++/oemdll.inf @@ -21,7 +21,7 @@ DriverVer=6/07/2001,1.0.0.1 ; that we will display in the Dialog box ; [Manufacturer] -"Microsoft"=Microsoft, NTamd64, NTia64 +"Microsoft"=Microsoft, NTamd64, NTia64, NTarm64 ; ; Model sections. @@ -55,6 +55,14 @@ DriverVer=6/07/2001,1.0.0.1 "OEM UI Customization Sample (PS)" = INSTALL_OEMUI.PS "OEM UI Customization Sample (Unidrv)" = INSTALL_OEMUI.UNI +[Microsoft.NTarm64] +"PostScript WaterMark Sample" = INSTALL_WATERMARK.PS +"Unidrv WaterMark Sample" = INSTALL_WATERMARK.UNI +"OEM PostScript Customization Sample" = INSTALL_OEMPS +"OEM Unidrv Customization Sample" = INSTALL_OEMUNI +"OEM UI Customization Sample (PS)" = INSTALL_OEMUI.PS +"OEM UI Customization Sample (Unidrv)" = INSTALL_OEMUI.UNI + ; ; Installer Sections ; @@ -191,6 +199,15 @@ wmarkuni.dll = 100,WaterMarkUni\ia64 wmarkuniui.dll = 100,WaterMarkUni\ia64 wmarkui.dll = 100,WaterMark\ia64 +[SourceDisksFiles.arm64] +oemps.dll = 100,OEMPS\arm64 +oemui.dll = 100,OEMUI\arm64 +oemuni.dll = 100,OEMUNI\arm64 +wmarkps.dll = 100,WaterMark\arm64 +wmarkuni.dll = 100,WaterMarkUni\arm64 +wmarkuniui.dll = 100,WaterMarkUni\arm64 +wmarkui.dll = 100,WaterMark\arm64 + [SourceDisksFiles] OEM.PPD = 100 OEM.GPD = 100 diff --git a/print/OEM Printer Customization Plug-in Samples/C++/oemprean.inf b/print/OEM Printer Customization Plug-in Samples/C++/oemprean.inf index a7c90e24..f3c014e5 100644 --- a/print/OEM Printer Customization Plug-in Samples/C++/oemprean.inf +++ b/print/OEM Printer Customization Plug-in Samples/C++/oemprean.inf @@ -20,7 +20,7 @@ DriverVer=6/07/2001,1.0.0.1 ; that we will display in the Dialog box ; [Manufacturer] -"Microsoft"=Microsoft, NTx86, NTamd64, NTia64 +"Microsoft"=Microsoft, NTx86, NTamd64, NTia64, NTarm64 ; ; Model sections. @@ -42,6 +42,9 @@ DriverVer=6/07/2001,1.0.0.1 [Microsoft.NTia64] "OEM Pre-Analysis sample" = OEM_PREAN +[Microsoft.NTarm64] +"OEM Pre-Analysis sample" = OEM_PREAN + ; ; Installer Sections ; @@ -98,6 +101,9 @@ oemprean.dll = 100,oemprean\amd64 [SourceDisksFiles.ia64] oemprean.dll = 100,oemprean\ia64 +[SourceDisksFiles.arm64] +oemprean.dll = 100,oemprean\arm64 + [SourceDisksFiles] OEMPREAN.GPD = 100 OEMPREAN.INI = 100 diff --git a/print/OEM Printer Customization Plug-in Samples/C++/uisamples.inf b/print/OEM Printer Customization Plug-in Samples/C++/uisamples.inf index 189db3ce..280386e1 100644 --- a/print/OEM Printer Customization Plug-in Samples/C++/uisamples.inf +++ b/print/OEM Printer Customization Plug-in Samples/C++/uisamples.inf @@ -21,7 +21,7 @@ DriverVer=6/07/2001,1.0.0.1 ; that we will display in the Dialog box ; [Manufacturer] -"Microsoft"=Microsoft, NTamd64, NTia64 +"Microsoft"=Microsoft, NTamd64, NTia64, NTarm64 ; ; Model sections. @@ -43,6 +43,10 @@ DriverVer=6/07/2001,1.0.0.1 "OEM Custom UI Plugin" = SYNCSET.UNI "OEM Custom Help" = CUSTHELP.UNI +[Microsoft.NTarm64] +"OEM Custom UI Plugin" = SYNCSET.UNI +"OEM Custom Help" = CUSTHELP.UNI + ; ; Installer Sections ; @@ -107,6 +111,10 @@ SYNCSET.DLL = 100,SyncSet\amd64 CUSTHLP.DLL = 100,CustHlp\ia64 SYNCSET.DLL = 100,SyncSet\ia64 +[SourceDisksFiles.arm64] +CUSTHLP.DLL = 100,CustHlp\arm64 +SYNCSET.DLL = 100,SyncSet\arm64 + [SourceDisksFiles] SYNCSET.GPD = 100 custhlp.gpd = 100 diff --git a/print/OEM Printer Customization Plug-in Samples/C++/winxp.inf b/print/OEM Printer Customization Plug-in Samples/C++/winxp.inf index 43fe3e21..9ca95169 100644 --- a/print/OEM Printer Customization Plug-in Samples/C++/winxp.inf +++ b/print/OEM Printer Customization Plug-in Samples/C++/winxp.inf @@ -20,7 +20,7 @@ DriverVer=6/07/2001,1.0.0.1 ; that we will display in the Dialog box ; [Manufacturer] -"Microsoft"=Microsoft, NTamd64, NTia64 +"Microsoft"=Microsoft, NTamd64, NTia64, NTarm64 ; ; Model sections. @@ -45,6 +45,11 @@ DriverVer=6/07/2001,1.0.0.1 "Themed OEM UI (PScript5)" = THEMEUI.PS "PS Standard UI Replacement" = PSUIREP.PS +[Microsoft.NTarm64] +"Themed OEM UI (Unidrv)" = THEMEUI.UNI +"Themed OEM UI (PScript5)" = THEMEUI.PS +"PS Standard UI Replacement" = PSUIREP.PS + ; ; Installer Sections ; @@ -117,6 +122,10 @@ PSUIREP.DLL = 100,PSUIRep\amd64 THEMEUISmpl.DLL = 100,ThemeUI\ia64 PSUIREP.DLL = 100,PSUIRep\ia64 +[SourceDisksFiles.arm64] +THEMEUISmpl.DLL = 100,ThemeUI\arm64 +PSUIREP.DLL = 100,PSUIRep\arm64 + [SourceDisksFiles] OEM.PPD = 100 OEM.GPD = 100 diff --git a/print/OEM Printer Customization Plug-in Samples/README.md b/print/OEM Printer Customization Plug-in Samples/README.md index b8e0c108..17609b92 100644 --- a/print/OEM Printer Customization Plug-in Samples/README.md +++ b/print/OEM Printer Customization Plug-in Samples/README.md @@ -39,16 +39,18 @@ a. In the **Solution Explorer**, right click **Driver Files** b. Select **Add**, then click **Existing Item** c. Navigate to the location to which you downloaded the sample, and select all the files in the install directory, or the equivalent set of non-binary files such as INFs, INIs, GPD, PPD files, etc. d. Click **Add** + 3. Configure these files to be added into the driver package a. In the **Solution Explorer**, right click the Package project and select **Properties** b. In the left pane, click **Configuration Properties** > **Driver Install** > **Package Files**. c. In the right pane, use the ellipsis button (...) to browse to the set of files that needs to be added to the driver package. All the data files that you added in **Step 2-c**, except the INF file, should be added. **Note** This configuration is per-architecture, so this configuration must be repeated for each architecture that will be built. -d. Click **OK** +d. Click **OK** + 4. Open the INF file and edit it to match the built output a. Open the INF file b. In the Version section, add a reference to a catalog file that matches the .INF name like this: CatalogFile=XpsDrvSmpl.cat -c. In the SourceDisksFiles section, change the location of the DLL files you are building, to =1. This indicates that there is no architecture specific directory in this driver. If you ship multiple architectures simultaneously, you will need to collate the driver INF manually. +c. In the SourceDisksFiles section, change the location of the DLL files you are building, to =1. This indicates that there is no architecture specific directory in this driver. If you ship multiple architectures simultaneously, you will need to collate the driver INF manually. At this point, Visual Studio 2017 will be able to build a driver package and output the files to disk. In order to configure driver signing and deployment, see [Developing, Testing, and Deploying Drivers](https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/). For more information about how to build a driver solution using Microsoft Visual Studio, see [Building a Driver](https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/building-a-driver). -- cgit v1.3.1