Commit f2e7c43d authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

kernel32: Fix description for SetDefaultCommConfig.

parent cfb349c4
...@@ -1301,19 +1301,21 @@ BOOL WINAPI SetCommConfig( ...@@ -1301,19 +1301,21 @@ BOOL WINAPI SetCommConfig(
} }
/*********************************************************************** /***********************************************************************
* SetDefaultCommConfigA (KERNEL32.@) * SetDefaultCommConfigW (KERNEL32.@)
* *
* Initializes the default configuration for the specified communication * Initializes the default configuration for a communication device.
* device. (ascii) *
* 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 * RETURNS
* Failure: FALSE
* Success: TRUE, and default configuration saved
* *
* True if the device was found and the defaults set, false otherwise
*/ */
BOOL WINAPI SetDefaultCommConfigW( BOOL WINAPI SetDefaultCommConfigW(LPCWSTR lpszDevice, LPCOMMCONFIG lpCommConfig, DWORD dwSize)
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. */
{ {
FARPROC lpfnSetDefaultCommConfig; FARPROC lpfnSetDefaultCommConfig;
HMODULE hConfigModule; HMODULE hConfigModule;
...@@ -1336,18 +1338,14 @@ BOOL WINAPI SetDefaultCommConfigW( ...@@ -1336,18 +1338,14 @@ BOOL WINAPI SetDefaultCommConfigW(
/*********************************************************************** /***********************************************************************
* SetDefaultCommConfigW (KERNEL32.@) * SetDefaultCommConfigA (KERNEL32.@)
* *
* Initializes the default configuration for the specified * Initializes the default configuration for a communication device.
* communication device. (unicode)
* *
* RETURNS * See SetDefaultCommConfigW.
* *
*/ */
BOOL WINAPI SetDefaultCommConfigA( BOOL WINAPI SetDefaultCommConfigA(LPCSTR lpszDevice, LPCOMMCONFIG lpCommConfig, DWORD dwSize)
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 r; BOOL r;
LPWSTR lpDeviceW = NULL; LPWSTR lpDeviceW = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment