forked from tanvir-ahmed-m4/com0com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cncport.inf
110 lines (85 loc) · 2.92 KB
/
cncport.inf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
;******************************************************************************
;
; cncport.inf
;
; Installation file for the Null-modem emulator driver.
;
; Copyright (c) 2010-2012 Vyacheslav Frolov
;
;******************************************************************************
[Version]
Signature = "$Windows NT$"
Provider = %VF%
Class = CNCPorts
ClassGUID = {df799e12-3c56-421b-b298-b6d3642bc878}
CatalogFile = com0com.cat
; MM/DD/YYYY
DriverVer = 06/04/2012,3.0.0.0
UninstallInfTag = {df799e12-3c56-421b-b298-b6d3642bc878}
;******************************************************************************
;
; Driver information
;
;******************************************************************************
[Manufacturer]
%VF% = com0com, NTx86, NTia64, NTamd64
[ControlFlags]
ExcludeFromSelect = com0com\cncport
[com0com]
%com0com.PortDesc% = com0com_inst_port, com0com\cncport
[com0com.NTx86]
%com0com.PortDesc% = com0com_inst_port, com0com\cncport
[com0com.NTia64]
%com0com.PortDesc% = com0com_inst_port, com0com\cncport
[com0com.NTamd64]
%com0com.PortDesc% = com0com_inst_port, com0com\cncport
;******************************************************************************
;
; Port install section
;
;******************************************************************************
[com0com_inst_port]
AddReg = com0com_AddReg
;Include = msports.inf
;Needs = SerialEnumerator.NT
[com0com_inst_port.Services]
AddService = com0com, %SPSVCINST_ASSOCSERVICE%, com0com_Service_Inst, com0com_EventLog_Inst
;Include = msports.inf
;Needs = SerialEnumerator.NT.Services
[com0com_inst_port.HW]
AddReg = com0com_HW_AddReg
[com0com_AddReg]
[com0com_HW_AddReg]
;HKR,,"UpperFilters",0x00010000,"serenum"
;******************************************************************************
;
; Common section
;
;******************************************************************************
[com0com_Service_Inst]
DisplayName = %com0com.SrvDesc%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\com0com.sys
[com0com_EventLog_Inst]
AddReg = com0com_EventLog_AddReg
[com0com_EventLog_AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\com0com.sys"
HKR,,TypesSupported,%REG_DWORD%,7
;******************************************************************************
;
; Strings
;
;******************************************************************************
[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
REG_EXPAND_SZ = 0x00020000
REG_DWORD = 0x00010001
SERVICE_KERNEL_DRIVER = 1
SERVICE_DEMAND_START = 3
SERVICE_ERROR_NORMAL = 1
VF = "Vyacheslav Frolov"
com0com.PortDesc = "com0com - serial port emulator"
com0com.SrvDesc = "com0com - emulates the serial ports interconnected via a null-modem cable"
;******************************************************************************