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
eeb35656
Commit
eeb35656
authored
Apr 25, 2002
by
Mike McCormack
Committed by
Alexandre Julliard
Apr 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for TransmitCommChar.
parent
9ca4285a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
comm.c
dlls/kernel/comm.c
+16
-2
No files found.
dlls/kernel/comm.c
View file @
eeb35656
...
...
@@ -1435,10 +1435,24 @@ BOOL WINAPI TransmitCommChar(
HANDLE
hComm
,
/* [in] The communication device in need of a command character. */
CHAR
chTransmit
)
/* [in] The character to transmit. */
{
FIXME
(
"(%x,'%c'), stub ! Use win32 handle!
\n
"
,
hComm
,
chTransmit
);
return
TRUE
;
BOOL
r
=
FALSE
;
int
fd
;
WARN
(
"(%x,'%c') not perfect!
\n
"
,
hComm
,
chTransmit
);
fd
=
FILE_GetUnixHandle
(
hComm
,
GENERIC_READ
);
if
(
fd
<
0
)
SetLastError
(
ERROR_INVALID_PARAMETER
);
else
{
r
=
(
1
==
write
(
fd
,
&
chTransmit
,
1
));
close
(
fd
);
}
return
r
;
}
/*****************************************************************************
* GetCommTimeouts (KERNEL32.@)
*
...
...
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