Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f2e7c43d
Commit
f2e7c43d
authored
Oct 26, 2007
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Oct 29, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Fix description for SetDefaultCommConfig.
parent
cfb349c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
16 deletions
+14
-16
comm.c
dlls/kernel32/comm.c
+14
-16
No files found.
dlls/kernel32/comm.c
View file @
f2e7c43d
...
...
@@ -1301,19 +1301,21 @@ BOOL WINAPI SetCommConfig(
}
/***********************************************************************
* SetDefaultCommConfig
A
(KERNEL32.@)
* SetDefaultCommConfig
W
(KERNEL32.@)
*
* Initializes the default configuration for the specified communication
* device. (ascii)
* Initializes the default configuration for a communication device.
*
* PARAMS
* lpszDevice [I] Name of the device targeted for configuration
* lpCommConfig [I] PTR to a buffer with the configuration for the device
* dwSize [I] Number of bytes in the buffer
*
* RETURNS
* Failure: FALSE
* Success: TRUE, and default configuration saved
*
* True if the device was found and the defaults set, false otherwise
*/
BOOL
WINAPI
SetDefaultCommConfigW
(
LPCWSTR
lpszDevice
,
/* [in] The ascii name of the device targeted for configuration. */
LPCOMMCONFIG
lpCommConfig
,
/* [in] The default configuration for the device. */
DWORD
dwSize
)
/* [in] The number of bytes in the configuration structure. */
BOOL
WINAPI
SetDefaultCommConfigW
(
LPCWSTR
lpszDevice
,
LPCOMMCONFIG
lpCommConfig
,
DWORD
dwSize
)
{
FARPROC
lpfnSetDefaultCommConfig
;
HMODULE
hConfigModule
;
...
...
@@ -1336,18 +1338,14 @@ BOOL WINAPI SetDefaultCommConfigW(
/***********************************************************************
* SetDefaultCommConfig
W
(KERNEL32.@)
* SetDefaultCommConfig
A
(KERNEL32.@)
*
* Initializes the default configuration for the specified
* communication device. (unicode)
* Initializes the default configuration for a communication device.
*
*
RETURNS
*
See SetDefaultCommConfigW.
*
*/
BOOL
WINAPI
SetDefaultCommConfigA
(
LPCSTR
lpszDevice
,
/* [in] The unicode name of the device targeted for configuration. */
LPCOMMCONFIG
lpCommConfig
,
/* [in] The default configuration for the device. */
DWORD
dwSize
)
/* [in] The number of bytes in the configuration structure. */
BOOL
WINAPI
SetDefaultCommConfigA
(
LPCSTR
lpszDevice
,
LPCOMMCONFIG
lpCommConfig
,
DWORD
dwSize
)
{
BOOL
r
;
LPWSTR
lpDeviceW
=
NULL
;
...
...
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