Author: hpoussin
Date: Fri Jun 9 18:16:39 2006
New Revision: 22292
URL: http://svn.reactos.ru/svn/reactos?rev=22292&view=rev
Log:
Add documentation to SetupDiBuildClassInfoList/SetupDiBuildClassInfoListExA/W
Patch by Christian Gmeiner on wine-patches ML
Modified:
trunk/reactos/dll/win32/setupapi/devclass.c
Modified: trunk/reactos/dll/win32/setupapi/devclass.c
URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/setupapi/devclass…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/devclass.c (original)
+++ trunk/reactos/dll/win32/setupapi/devclass.c Fri Jun 9 18:16:39 2006
@@ -99,6 +99,19 @@
/***********************************************************************
* SetupDiBuildClassInfoList (SETUPAPI.@)
+ *
+ * Returns a list of setup class GUIDs that identify the classes
+ * that are installed on a local machine.
+ *
+ * PARAMS
+ * Flags [I] control exclusion of classes from the list.
+ * ClassGuidList [O] pointer to a GUID-typed array that receives a list of setup class GUIDs.
+ * ClassGuidListSize [I] The number of GUIDs in the array (ClassGuidList).
+ * RequiredSize [O] pointer, which receives the number of GUIDs that are returned.
+ *
+ * RETURNS
+ * Success: TRUE.
+ * Failure: FALSE.
*/
BOOL WINAPI
SetupDiBuildClassInfoList(
@@ -115,6 +128,18 @@
/***********************************************************************
* SetupDiBuildClassInfoListExA (SETUPAPI.@)
+ *
+ * PARAMS
+ * Flags [I] control exclusion of classes from the list.
+ * ClassGuidList [O] pointer to a GUID-typed array that receives a list of setup class GUIDs.
+ * ClassGuidListSize [I] The number of GUIDs in the array (ClassGuidList).
+ * RequiredSize [O] pointer, which receives the number of GUIDs that are returned.
+ * MachineName [I] name of a remote machine.
+ * Reserved [I] must be NULL.
+ *
+ * RETURNS
+ * Success: TRUE.
+ * Failure: FALSE.
*/
BOOL WINAPI
SetupDiBuildClassInfoListExA(
@@ -147,7 +172,22 @@
}
/***********************************************************************
- * SetupDiBuildClassInfoListExW (SETUPAPI.@)
+ * SetupDiBuildClassInfoListExW (SETUPAPI.@)
+ *
+ * Returns a list of setup class GUIDs that identify the classes
+ * that are installed on a local or remote macine.
+ *
+ * PARAMS
+ * Flags [I] control exclusion of classes from the list.
+ * ClassGuidList [O] pointer to a GUID-typed array that receives a list of setup class GUIDs.
+ * ClassGuidListSize [I] The number of GUIDs in the array (ClassGuidList).
+ * RequiredSize [O] pointer, which receives the number of GUIDs that are returned.
+ * MachineName [I] name of a remote machine.
+ * Reserved [I] must be NULL.
+ *
+ * RETURNS
+ * Success: TRUE.
+ * Failure: FALSE.
*/
BOOL WINAPI
SetupDiBuildClassInfoListExW(
Author: turner
Date: Thu Jun 8 17:07:05 2006
New Revision: 22283
URL: http://svn.reactos.ru/svn/reactos?rev=22283&view=rev
Log:
If treat a backspace more like a normal char.
Modified:
trunk/reactos/subsystems/win32/csrss/win32csr/conio.c
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/conio.c
URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/subsystems/win32/csrss/win3…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/conio.c (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/conio.c Thu Jun 8 17:07:05 2006
@@ -613,13 +613,14 @@
i -= 2; /* if we already have something to return, just back it up by 2 */
}
else
- { /* otherwise, return STATUS_NOTIFY_CLEANUP to tell client to back up its buffer */
+ {
+ /* otherwise, we will treat the backspace just like any other char and let the client decide what to do */
Console->WaitingChars--;
ConioUnlockConsole(Console);
HeapFree(Win32CsrApiHeap, 0, Input);
- Request->Data.ReadConsoleRequest.NrCharactersRead = 0;
- Request->Status = STATUS_NOTIFY_CLEANUP;
- return STATUS_NOTIFY_CLEANUP;
+ Request->Data.ReadConsoleRequest.NrCharactersRead++;
+ Buffer[i] = Input->InputEvent.Event.KeyEvent.uChar.AsciiChar;
+ return Request->Status;
}
Request->Data.ReadConsoleRequest.nCharsCanBeDeleted--;
Input->Echoed = TRUE; /* mark as echoed so we don't echo it below */