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
87947fce
Commit
87947fce
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 GetDefaultCommConfig for XcvDataPort.
parent
fa9be995
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
localmon.c
dlls/localspl/localmon.c
+13
-0
No files found.
dlls/localspl/localmon.c
View file @
87947fce
...
...
@@ -68,6 +68,11 @@ 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_GetDefaultCommConfigW
[]
=
{
'G'
,
'e'
,
't'
,
'D'
,
'e'
,
'f'
,
'a'
,
'u'
,
'l'
,
't'
,
'C'
,
'o'
,
'm'
,
'm'
,
'C'
,
'o'
,
'n'
,
'f'
,
'i'
,
'g'
,
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
};
...
...
@@ -459,6 +464,14 @@ DWORD WINAPI localmon_XcvDataPort(HANDLE hXcv, LPCWSTR pszDataName, PBYTE pInput
return
res
;
}
if
(
!
lstrcmpW
(
pszDataName
,
cmd_GetDefaultCommConfigW
))
{
TRACE
(
"InputData (%d): %s
\n
"
,
cbInputData
,
debugstr_w
(
(
LPWSTR
)
pInputData
));
*
pcbOutputNeeded
=
cbOutputData
;
res
=
GetDefaultCommConfigW
((
LPWSTR
)
pInputData
,
(
LPCOMMCONFIG
)
pOutputData
,
pcbOutputNeeded
);
TRACE
(
"got %u with %u
\n
"
,
res
,
GetLastError
()
);
return
res
?
ERROR_SUCCESS
:
GetLastError
();
}
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