Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
00cee045
Commit
00cee045
authored
Feb 20, 2007
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Feb 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localspl: Implement ConfigureLPTPortCommandOK for XcvDataPort.
parent
27b34d84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
localmon.c
dlls/localspl/localmon.c
+14
-0
No files found.
dlls/localspl/localmon.c
View file @
00cee045
...
...
@@ -64,6 +64,10 @@ typedef struct {
static
struct
list
xcv_handles
=
LIST_INIT
(
xcv_handles
);
/* ############################### */
static
const
WCHAR
cmd_ConfigureLPTPortCommandOKW
[]
=
{
'C'
,
'o'
,
'n'
,
'f'
,
'i'
,
'g'
,
'u'
,
'r'
,
'e'
,
'L'
,
'P'
,
'T'
,
'P'
,
'o'
,
'r'
,
't'
,
'C'
,
'o'
,
'm'
,
'm'
,
'a'
,
'n'
,
'd'
,
'O'
,
'K'
,
0
};
static
const
WCHAR
cmd_GetTransmissionRetryTimeoutW
[]
=
{
'G'
,
'e'
,
't'
,
'T'
,
'r'
,
'a'
,
'n'
,
's'
,
'm'
,
'i'
,
's'
,
's'
,
'i'
,
'o'
,
'n'
,
'R'
,
'e'
,
't'
,
'r'
,
'y'
,
'T'
,
'i'
,
'm'
,
'e'
,
'o'
,
'u'
,
't'
,
0
};
...
...
@@ -445,6 +449,16 @@ DWORD WINAPI localmon_XcvDataPort(HANDLE hXcv, LPCWSTR pszDataName, PBYTE pInput
TRACE
(
"(%p, %s, %p, %d, %p, %d, %p)
\n
"
,
hXcv
,
debugstr_w
(
pszDataName
),
pInputData
,
cbInputData
,
pOutputData
,
cbOutputData
,
pcbOutputNeeded
);
if
(
!
lstrcmpW
(
pszDataName
,
cmd_ConfigureLPTPortCommandOKW
))
{
TRACE
(
"InputData (%d): %s
\n
"
,
cbInputData
,
debugstr_w
(
(
LPWSTR
)
pInputData
));
res
=
RegCreateKeyW
(
HKEY_LOCAL_MACHINE
,
WinNT_CV_WindowsW
,
&
hroot
);
if
(
res
==
ERROR_SUCCESS
)
{
res
=
RegSetValueExW
(
hroot
,
TransmissionRetryTimeoutW
,
0
,
REG_SZ
,
pInputData
,
cbInputData
);
RegCloseKey
(
hroot
);
}
return
res
;
}
if
(
!
lstrcmpW
(
pszDataName
,
cmd_GetTransmissionRetryTimeoutW
))
{
*
pcbOutputNeeded
=
sizeof
(
DWORD
);
if
(
cbOutputData
>=
sizeof
(
DWORD
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment