;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;Module Name:
;
;    WSDPrint.INF
;
;Abstract:
;    INF file for installing WSDPrintDevice device drivers. This is an
;    extremely simple form of INF. To test this INF, make sure
;    the WSDPrintDevice class is not previously installed on the system.
;    If it is installed, you must remove the existing WSDPrintDevice class key
;    (HKLM\System\CurrentControlSet\Control\Class\{C30ECEA0-11EF-4ef9-B02E-6AF81E6E65C0})
;    from the registry. Otherwise the setup ignores the entire
;    [ClassInstall32] section if it finds the WSDPrintDevice class guid
;    in the registy.
;
;--*/


[Version]
Signature="$WINDOWS NT$"
Class=WSDPrintDevice
ClassGUID={C30ECEA0-11EF-4ef9-B02E-6AF81E6E65C0}
Provider=%MSFT%
PnpLockdown=1
DriverVer=06/21/2006,10.0.10240.16384

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
wsdprint.sys            = 3426

[ControlFlags]
BasicDriverOk = *
ExcludeFromSelect = *

[DestinationDirs]
WSDPrint_Driver.NT.Copy = 12

;
;*****************************************
; WSDPrintDevice Device Install Section
;*****************************************

[Manufacturer]
%MSFT%=Microsoft, NTx86

[Microsoft.NTx86]
; DisplayName                           Section           DeviceId
; -----------                           -------           --------
%WSDPrintDevice.DeviceDesc%         =   WSDPrint_Device,  UMB\http://schemas.microsoft.com/windows/2006/08/wdp/print/PrinterServiceType

; ================= Class section =====================
;
[ClassInstall32]
Addreg=WSDPrintDeviceClassReg

[WSDPrintDeviceClassReg]
HKR,,,0,%ClassName%
HKR,,IconPath,%REG_MULTI_SZ%,"%%systemroot%%\system32\imageres.dll,-51"
HKR,,DeviceCharacteristics,0x10001,0x100     ;Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)" ;Allow generic all access to system and built-in Admin.
                                             ;This one overrides the security set by the driver

[WSDPrint_Device.NT]
CopyFiles=WSDPrint_Driver.NT.Copy

[WSDPrint_Driver.NT.Copy]
WSDPrint.sys,,,0x100

;-------------- Service installation

[WSDPrint_Device.NT.Services]
AddService = WSDPrintDevice, %SPSVCINST_ASSOCSERVICE%, WSDPrint_Service_Inst

[WSDPrint_Service_Inst]
DisplayName    = %WSDPrintDevice.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\WSDPrint.sys
LoadOrderGroup = Extended Base


[Strings]
;Non-Localizable strings
SPSVCINST_ASSOCSERVICE = 0x00000002
MSFT = "Microsoft"
REG_MULTI_SZ = 0x00010000

;Localizable strings
ClassName = "WSD Print Provider"
WSDPrintDevice.DeviceDesc = "WSD Print Device"
WSDPrintDevice.SVCDESC = "WSD Print Support"
