~ubuntu-branches/ubuntu/raring/virtualbox-ose/raring

« back to all changes in this revision

Viewing changes to src/VBox/HostDrivers/VBoxUSB/win/Filter/VBoxUSBFlt.inf

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-01-30 23:27:25 UTC
  • mfrom: (0.3.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20110130232725-2ouajjd2ggdet0zd
Tags: 4.0.2-dfsg-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add Apport hook.
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Drop *-source packages.
* Drop ubuntu-01-fix-build-gcc45.patch, fixed upstream.
* Drop ubuntu-02-as-needed.patch, added to the Debian package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
;
 
2
; VBox host drivers - USB drivers - Win32 USB filter driver
 
3
;
 
4
; Installation file
 
5
;
 
6
; Copyright (C) 2006-2007 Oracle Corporation
 
7
;
 
8
; This file is part of VirtualBox Open Source Edition (OSE), as
 
9
; available from http://www.virtualbox.org. This file is free software;
 
10
; you can redistribute it and/or modify it under the terms of the GNU
 
11
; General Public License (GPL) as published by the Free Software
 
12
; Foundation, in version 2 as it comes in the "COPYING" file of the
 
13
; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
 
14
; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
 
15
;
 
16
 
 
17
[Version]
 
18
Signature         = "$Windows NT$"
 
19
Provider          = %ORACLE%
 
20
;edit-DriverVer = 08/26/2008,2.00.0000
 
21
DriverPackageType = ClassFilter
 
22
;cat CatalogFile = VBoxUSBFlt.cat
 
23
 
 
24
[DefaultInstall.NT]
 
25
CopyFiles = VBoxUSBFilter.CopyFiles
 
26
AddReg    = VBoxUSBFilter.AddReg
 
27
 
 
28
[VBoxUSBFilter.CopyFiles]
 
29
VBoxUSBFlt.sys
 
30
 
 
31
[VBoxUSBFilter.AddReg]
 
32
HKLM, System\CurrentControlSet\Control\Class\{36FC9E60-C465-11CF-8056-444553540000}, LowerFilters, 0x00010000, VBoxUSBFlt
 
33
 
 
34
[DefaultInstall.NT.Services]
 
35
AddService = VBoxUSBFlt, , VBoxUSBFlt_Service_Inst, VBoxUSBFlt_EventLog_Inst
 
36
 
 
37
[VBoxUSBFlt_Service_Inst]
 
38
DisplayName    = %VBoxUSBFlt.SvcDesc%
 
39
ServiceType    = %SERVICE_KERNEL_DRIVER%
 
40
StartType      = %SERVICE_DEMAND_START%
 
41
ErrorControl   = %SERVICE_ERROR_IGNORE%
 
42
ServiceBinary  = %12%\VBoxUSBFlt.sys
 
43
 
 
44
[VBoxUSBFlt_EventLog_Inst]
 
45
AddReg = VBoxUSBFlt_EventLog_AddReg
 
46
 
 
47
[VBoxUSBFlt_EventLog_AddReg]
 
48
HKR,,EventMessageFile, %REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\VBoxUSBFlt.sys"
 
49
HKR,,TypesSupported, %REG_DWORD%, 7
 
50
 
 
51
[SourceDisksNames]
 
52
1 = %VBoxUSBFlt.MediaDesc%
 
53
 
 
54
[SourceDisksFiles]
 
55
VBoxUSBFlt.sys = 1
 
56
 
 
57
[DestinationDirs]
 
58
DefaultDestDir = 12     ; DIRID_DRIVERS
 
59
 
 
60
[Strings]
 
61
ORACLE                  = "Oracle Corporation"
 
62
VBoxUSBFlt.SvcDesc      = "VirtualBox USB Filter Driver"
 
63
VBoxUSBFlt.MediaDesc    = "VirtualBox USB Filter Driver Disc"
 
64
 
 
65
; Useful constants
 
66
SERVICE_KERNEL_DRIVER = 1
 
67
SERVICE_DEMAND_START  = 3
 
68
SERVICE_ERROR_IGNORE  = 0
 
69
REG_EXPAND_SZ         = 0x00020000
 
70
REG_DWORD             = 0x00010001