Sample Code

Windows Driver Samples/ OEM Printer Customization Plug-in Samples/ C++/ gdl/ res/ gdlsmpl.inf/

; GDLSMPL.INF
;
; INF file for the GDL sample
;
; Copyright 1999 - 2006 Microsoft Corporation


[Version]
Signature="$Windows NT$"
Provider=%FABRIKAM%
LayoutFile=ntprint.inf
ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
Class=Printer
DriverVer=01/01/2006,1.0.0.1

;
; Manufacturer section.
;
; This section lists all of the manufacturers 
; that we will display in the Dialog box
;
[Manufacturer]
"Fabrikam"=Fabrikam,NTx86,NTamd64,NTia64

;
; Model sections. 
; 
; Each section here corresponds with an entry listed in the
; [Manufacturer] section, above. The models will be displayed in the order
; that they appear in the INF file.
;

[Fabrikam.NTx86]
"GDL Sample"      = GDLSMPL

[Fabrikam.NTamd64]
"GDL Sample"      = GDLSMPL

[Fabrikam.NTia64]
"GDL Sample"      = GDLSMPL


;
; Installer Sections
;
; These sections control file installation, and reference all files that
; need to be copied. The section name will be assumed to be the driver
; file, unless there is an explicit DriverFile section listed.
;

[GDLSMPL]
[email protected]
[email protected]
[email protected]
DataFile=GDLSMPL.GPD
DataSection=UNIDRV_DATA
Include=NTPRINT.INF
Needs=UNIDRV.OEM,UNIDRV_DATA


;
;  Location of source files not in Layout.inf.
;

[SourceDisksNames]
100 = %OEMSample%

[SourceDisksFiles.X86]
GDLSMPL.dll    = 100,x86

[SourceDisksFiles.amd64]
GDLSMPL.dll    = 100,amd64

[SourceDisksFiles.IA64]
GDLSMPL.dll    = 100,ia64

[SourceDisksFiles]
GDLSMPL.GPD       = 100
GDLSMPL.INI    = 100

;
; Call SetupSetDirectoryId with 66000 to set the target directory at runtime
; (depending on which environment drivers are getting installed)
;

[DestinationDirs]
DefaultDestDir=66000

;
; Localizable Strings
;
[Strings]
FABRIKAM="Fabrikam Print Driver (Microsoft DDK Sample)"
OEMSample="GDL Sample"




Our Services

  • What our customers say about us?

© 2011-2024 All Rights Reserved. Joya Systems. 4425 South Mopac Building II Suite 101 Austin, TX 78735 Tel: 800-DEV-KERNEL

Privacy Policy. Terms of use. Valid XHTML & CSS