Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

171 lines
4.3 KiB

  1. ;***********************************************************************
  2. ;
  3. ; ************************
  4. ; * MINIPORT SAMPLE CODE *
  5. ; ************************
  6. ; perm3.inf
  7. ;
  8. ; Installation inf for permedia 3 driver
  9. ;
  10. ;
  11. ; Copyright (c) 1994-1999 3Dlabs Inc. Ltd. All rights reserved.
  12. ; Copyright (c) Microsoft Corporation. All rights reserved.
  13. ;
  14. ;***********************************************************************
  15. [Version]
  16. Signature="$WINDOWS NT$"
  17. Provider=%MS%
  18. ;-----------------------------------------------------------------------
  19. ; OEM drivers should remove LayoutFile entry. LayoutFile entry used
  20. ; ONLY by internal Microsoft engineering.
  21. ;-----------------------------------------------------------------------
  22. LayoutFile=layout.inf
  23. ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318}
  24. Class=Display
  25. DriverVer=06/06/2001,5.01.2001
  26. [DestinationDirs]
  27. DefaultDestDir = 11
  28. perm3.Miniport = 12 ; drivers
  29. perm3.Display = 11 ; system32
  30. ;
  31. ; Driver information
  32. ;
  33. [Manufacturer]
  34. %3DLabs%=3dlabs.Mfg
  35. [3dlabs.Mfg]
  36. %VX1_AGP% = perm3, PCI\VEN_3D3D&DEV_000A&SUBSYS_01253D3D
  37. %VX1_AGP% = perm3, PCI\VEN_3D3D&DEV_000C&SUBSYS_01443D3D
  38. %VX1_PCI% = perm3, PCI\VEN_3D3D&DEV_000A&SUBSYS_01213D3D
  39. %VX1_1600SW% = perm3, PCI\VEN_3D3D&DEV_000A&SUBSYS_08003D3D
  40. %P3_CREATE% = perm3, PCI\VEN_3D3D&DEV_000A&SUBSYS_01273D3D
  41. ;
  42. ; Indicate that the user should not be able to manually install
  43. ; these devices.
  44. ;
  45. [ControlFlags]
  46. ExcludeFromSelect=*
  47. ;
  48. ; General installation section
  49. ;
  50. [perm3]
  51. CopyFiles=perm3.Miniport, perm3.Display
  52. [perm3.HW]
  53. AddReg = perm3_DisableSBA_AddReg
  54. ;
  55. ; File sections
  56. ;
  57. [perm3.Miniport]
  58. perm3.sys
  59. [perm3.Display]
  60. perm3dd.dll
  61. ;
  62. ; Service Installation
  63. ;
  64. [perm3.Services]
  65. AddService = perm3, 0x00000002, perm3_Service_Inst, perm3_EventLog_Inst
  66. [perm3_Service_Inst]
  67. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  68. StartType = 3 ; SERVICE_DEMAND_START
  69. ErrorControl = 0 ; SERVICE_ERROR_IGNORE
  70. LoadOrderGroup = Video
  71. ServiceBinary = %12%\perm3.sys
  72. [perm3_EventLog_Inst]
  73. AddReg = perm3_EventLog_AddReg
  74. [perm3_DisableSBA_AddReg]
  75. HKLM,"SYSTEM\CurrentControlSet\Control\AGP","3D3D000C",0x00030003,00,01,00,00,00,00,00,00
  76. [perm3_EventLog_AddReg]
  77. HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\perm3.sys"
  78. HKR,,TypesSupported,0x00010001,7
  79. ;
  80. ; Software Installation
  81. ;
  82. [perm3.SoftwareSettings]
  83. AddReg = perm3_SoftwareDeviceSettings
  84. DelReg = perm3_DelReg
  85. [perm3_DelReg]
  86. HKR,, PXRX.MemClockSpeed
  87. [perm3_SoftwareDeviceSettings]
  88. HKR,, Direct3DHAL.FilterVideo, %REG_DWORD%, 1
  89. HKR,, Direct3DHAL.NoDMA, %REG_DWORD%, 1
  90. HKR,, Direct3DHAL.SubBuffers, %REG_DWORD%, 8
  91. HKR,, DoubleBuffer.NumberOfBuffers, %REG_DWORD%, 2
  92. HKR,, InstalledDisplayDrivers, %REG_MULTI_SZ%, perm3dd
  93. HKR,, PXRX.CoreClockSpeed, %REG_DWORD%, 0
  94. HKR,, PXRX.CoreClockSpeedAlt, %REG_DWORD%, 0
  95. HKR,, VgaCompatible, %REG_DWORD%, 0
  96. ;
  97. ;-----------------------------------------------------------------------
  98. ; OEM drivers should uncomment following commented sections
  99. ;-----------------------------------------------------------------------
  100. ;[SourceDisksNames]
  101. ;1 = %DiskId%,,,""
  102. ;
  103. ;[SourceDisksFiles.x86]
  104. ;perm3.sys = 1
  105. ;perm3dd.dll = 1
  106. ;
  107. ;[SourceDisksFiles.ia64]
  108. ;perm2.sys = 1
  109. ;perm2.dll = 1
  110. ;
  111. [Strings]
  112. ;
  113. ; Non-Localizable Strings
  114. ;
  115. REG_SZ = 0x00000000
  116. REG_MULTI_SZ = 0x00010000
  117. REG_EXPAND_SZ = 0x00020000
  118. REG_BINARY = 0x00000001
  119. REG_DWORD = 0x00010001
  120. serviceroot = System\CurrentControlSet\Services
  121. ;
  122. ; Localizable Strings
  123. ;
  124. ;
  125. ;-----------------------------------------------------------------------
  126. ; OEM drivers should uncomment this line
  127. ;-----------------------------------------------------------------------
  128. ;DiskId="Windows 2000 Driver Installation Disk"
  129. ;
  130. MS="Microsoft Sample Driver"
  131. 3DLabs="3Dlabs Incorporated"
  132. ; Product Names
  133. ;
  134. VX1_PCI = "3Dlabs Oxygen VX1 (PCI)"
  135. VX1_AGP = "3Dlabs Oxygen VX1 (AGP)"
  136. VX1_1600SW = "3Dlabs Oxygen VX1 1600SW"
  137. P3_CREATE = "3Dlabs Permedia3 Create!"