summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Felipe Tenaglia <[email protected]>2018-09-27 17:08:21 -0700
committerAdonais Romero González <[email protected]>2018-09-27 17:08:21 -0700
commit8305c570dba450fe5f0adec2c666f4d318cf2fbd (patch)
treed632e68e34961cc1298ecb87bef6136c807b6aed
parent03415a97cb8c807867e8dbea3a7601b23d137d10 (diff)
Fix infverif warning 1296 by adding an explict directive for AddService to print samples (#292)
-rw-r--r--print/autoconfig/AutoCnfg.inf6
-rw-r--r--print/v4PrintDriverSamples/v4PrintDriver-HostBasedSampleDriver/usb_host_based_sample.inf3
2 files changed, 9 insertions, 0 deletions
diff --git a/print/autoconfig/AutoCnfg.inf b/print/autoconfig/AutoCnfg.inf
index 4c9208d0..70cd5a53 100644
--- a/print/autoconfig/AutoCnfg.inf
+++ b/print/autoconfig/AutoCnfg.inf
@@ -68,6 +68,12 @@ DataSection=PSCRIPT_DATA
Include=NTPRINT.INF
Needs=PSCRIPT.OEM,PSCRIPT_DATA
+[INSTALL_AUTO_CONFIG.UNI.Services]
+AddService=,2
+
+[INSTALL_AUTO_CONFIG.PS.Services]
+AddService=,2
+
; Copy Sections
;
; Lists of files that are actually copied. These sections are referenced
diff --git a/print/v4PrintDriverSamples/v4PrintDriver-HostBasedSampleDriver/usb_host_based_sample.inf b/print/v4PrintDriverSamples/v4PrintDriver-HostBasedSampleDriver/usb_host_based_sample.inf
index 92bf72b2..b4326484 100644
--- a/print/v4PrintDriverSamples/v4PrintDriver-HostBasedSampleDriver/usb_host_based_sample.inf
+++ b/print/v4PrintDriverSamples/v4PrintDriver-HostBasedSampleDriver/usb_host_based_sample.inf
@@ -53,6 +53,9 @@ ClassVer=4.0
[USB_HOST_BASED_SAMPLE]
CopyFiles=USB_HOST_BASED_SAMPLE_FILES
+[USB_HOST_BASED_SAMPLE.Services]
+AddService=,2
+
;
; Copy Sections
;