;
; VirtualBox Video Wddm driver
;
; Copyright (C) 2012 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modify it under the terms of the GNU
; General Public License (GPL) as published by the Free Software
; Foundation, in version 2 as it comes in the "COPYING" file of the
; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
;

[Version]
Signature="$WINDOWS NT$"
Provider=%ORACLE%
ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318}
Class=Display
DriverPackageType=PlugAndPlay
DriverVer = 07/10/2015,4.3.30
CatalogFile = VBoxVideoW8.cat

[DestinationDirs]
DefaultDestDir=11
VBoxVideo.Miniport = 12 ; drivers
VBoxVideo.Display  = 11 ; system32
VBoxVideo.GL  = 11 ; system32

[Manufacturer]
%ORACLE%=Model, NTx86.6.2

[Model.NTx86.6.2]
%VBoxVideo.SvcDesc% = VBoxVideo, PCI\VEN_80EE&DEV_BEEF

[VBoxVideo]
FeatureScore = F8
Include = msdv.inf
CopyFiles = VBoxVideo.Miniport, VBoxVideo.Display, VBoxVideo.GL
AddReg = VBoxVideo_SoftwareDeviceSettings
;todo: clear XPDM driver settings: DelReg = VBoxVideo_RemoveDeviceSettings
RegisterDlls = VBoxVideo_RegisterDlls

[VBoxVideo.Miniport]
VBoxVideoW8.sys

[VBoxVideo.Display]
VBoxDispD3D.dll,,,0x00004000  ; COPYFLG_IN_USE_TRY_RENAME


[VBoxVideo.GL]
VBoxOGL.dll,,,0x00004000  ; COPYFLG_IN_USE_TRY_RENAME
VBoxD3D9wddm.dll,,,0x00004000  ; COPYFLG_IN_USE_TRY_RENAME
wined3dwddm.dll,,,0x00004000  ; COPYFLG_IN_USE_TRY_RENAME
VBoxOGLarrayspu.dll,,,0x00004000  ; COPYFLG_IN_USE_TRY_RENAME
VBoxOGLcrutil.dll,,,0x00004000  ; COPYFLG_IN_USE_TRY_RENAME
VBoxOGLerrorspu.dll,,,0x00004000  ; COPYFLG_IN_USE_TRY_RENAME
VBoxOGLfeedbackspu.dll,,,0x00004000  ; COPYFLG_IN_USE_TRY_RENAME
VBoxOGLpackspu.dll,,,0x00004000  ; COPYFLG_IN_USE_TRY_RENAME
VBoxOGLpassthroughspu.dll,,,0x00004000  ; COPYFLG_IN_USE_TRY_RENAME


[VBoxVideo_SoftwareDeviceSettings]
HKR,, InstalledDisplayDrivers, %REG_MULTI_SZ%, VBoxDispD3D
HKR,, UserModeDriverName,    %REG_MULTI_SZ%, VBoxDispD3D.dll
HKR,, VgaCompatible, %REG_DWORD%, 0

[VBoxVideo_RegisterDlls]


[VBoxVideo.Services]
AddService=VBoxVideoW8, 0x00000002, VBoxVideo_Service_Inst, VBoxVideo_EventLog_Inst

[VBoxVideo_Service_Inst]
ServiceType=1                   ; SERVICE_KERNEL_DRIVER
StartType=3                     ; SERVICE_DEMAND_START
ErrorControl=0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup=Video
ServiceBinary=%12%\VBoxVideoW8.sys

[VBoxVideo_EventLog_Inst]
AddReg = VBoxVideo_EventLog_AddReg

[VBoxVideo_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\VBoxVideoW8.sys"
HKR,,TypesSupported,0x00010001,7

[SourceDisksNames]
1 = %VBoxVideo.Disk%,,,""

[SourceDisksFiles]
VBoxVideoW8.sys = 1
VBoxDispD3D.dll = 1
VBoxOGL.dll = 1
VBoxD3D9wddm.dll = 1
wined3dwddm.dll = 1
VBoxOGLarrayspu.dll = 1
VBoxOGLcrutil.dll = 1
VBoxOGLerrorspu.dll = 1
VBoxOGLfeedbackspu.dll = 1
VBoxOGLpackspu.dll = 1
VBoxOGLpassthroughspu.dll = 1

[Strings]
REG_SZ = 0x00000000
REG_MULTI_SZ = 0x00010000
REG_EXPAND_SZ = 0x00020000
REG_BINARY = 0x00000001
REG_DWORD = 0x00010001

ORACLE = "Oracle Corporation"
VBoxVideo.Disk = "VirtualBox Video Driver Disk"
VBoxVideo.SvcDesc = "VirtualBox Graphics Adapter for Windows 8"
