;;;
;;; GAMEFLT filter
;;;
;;;
;;; Copyright (c) 2014, Microsoft Corporation
;;;

[Version]
Signature   = "$Windows NT$"
Class       = "HSM"                                     ;This is determined by the work this filter driver does
ClassGuid   = {d546500a-2aeb-45f6-9482-f4b1799c3177}    ;This value is determined by the Class
Provider    = %Xbox%
DriverVer   = 03/18/2024,10.0.22017.0
CatalogFile = gameflt.cat


[DestinationDirs]
DefaultDestDir                = 13
gameflt.DriverFiles             = 13            ;%windir%\system32\drivers

;;
;; Default install sections
;;

[DefaultInstall.NTAmd64]
OptionDesc          = %ServiceDescription%
CopyFiles           = gameflt.DriverCopyFiles

[DefaultInstall.NTAmd64.Services]
AddService          = %ServiceName%,,gameflt.Service

;
; Services Section
;

[gameflt.Service]
DisplayName      = %ServiceName%
Description      = %ServiceDescription%
ServiceBinary    = %13%\%DriverName%.sys        ;%windir%\system32\drivers\
Dependencies     = FltMgr
ServiceType      = 2                            ;SERVICE_FILE_SYSTEM_DRIVER
StartType        = 3                            ;SERVICE_DEMAND_START
ErrorControl     = 1                            ;SERVICE_ERROR_NORMAL
LoadOrderGroup   = "FSFilter Activity Monitor"
AddReg           = gameflt.AddRegistry

;
; Registry Modifications
;

[gameflt.AddRegistry]
HKR,,"SupportedFeatures",0x00010001,0xb
HKR,"Instances","DefaultInstance",0x00000000,%DefaultInstance%
HKR,"Instances\"%Instance1.Name%,"Altitude",0x00000000,%Instance1.Altitude%
HKR,"Instances\"%Instance1.Name%,"Flags",0x00010001,%Instance1.Flags%

;
; Copy/Delete Files
;

[gameflt.DriverCopyFiles]
%DriverName%.sys,,,0x00002000 ;(COPYFLG_NOPRUNE)

[gameflt.DriverDelFiles]
%DriverName%.sys,,,0x00010001 ;(DELFLG_IN_USE|DELFLG_IN_USE1)

[SourceDisksFiles]
gameflt.sys = 1,,

[SourceDisksNames]
1 = %DiskId1%,,,

;;
;; String Section
;;

[Strings]
Xbox                    = "Xbox"
ServiceDescription      = "Game mini-filter driver"
ServiceName             = "gameflt"
DriverName              = "gameflt"
DiskId1                 = "gameflt Device Installation Disk"

;Instances specific information.
DefaultInstance         = "gameflt Instance"
Instance1.Name          = "gameflt Instance"
Instance1.Altitude      = "189850"
Instance1.Flags         = 0
