Create a context struct when the client is registered and delete it when the client is deregistered. In the mean time, pass the context to all client authentication functions. The context contains a handle to the client process and a handle to the current connection port. The process handle will later be used to retrieve and return logon data and to pass the toke handle back to the client.
svn path=/trunk/; revision=58308
Code reorganization only : move the console-related initialization functions into a dedicated file, and create a specific header to hold console function definitions.
svn path=/branches/ros-csrss/; revision=58306
- Introduce a CONSOLE_PROPS structure to hold console properties such as its title or startup attributes it should have. Initialized at console application launch time. I have to see how could it be possible to merge this structure with some parts of the GUI_CONSOLE_DATA structure and of the ConsoleInfo structure from console.dll (in /dll/cpl).
- Use a helper function to initialize the CONSOLE_PROPS structure in kernel32, at console app start or when calling AllocConsole.
- In BasepInitConsole, do initialization of CONSOLE_PROPS and related only if we are about to launch a console app.
[CONSRV]
- Adapt CONSOLE_CONNECTION_INFO and CONSOLE_ALLOCCONSOLE structures to take into account CONSOLE_PROPS.
- Fix the way we are setting console titles.
- Add experimental support for loading console properties and title and icon from shell links, thanks to the helper LoadShellLinkInfo. However I'm using there Shell COM facility to extract link properties (I could do it "the RAW way", however I would then know the format of link files, that I don't know and that I don't want to mix up with the console code). Therefore I must add dependencies to uuid and ole32 libraries. Note that icons are used in GUI consoles only (use the PrivateExtractIconExW function to retrieve both handles to the big and small icons at the same time).
Part 1/2
[CONSRV]
- Remove an unuseful xxxInitScreenBuffer function in the virtual functions console table.
- In GUI_CONSOLE_DATA structure and related functions, temporarily explicitely mark which members may be used for both GUI and TUI consoles (for a future simplification).
- Add temporary debug prints when we are setting console icon, to see the flow of calls (will be removed just before merging back to trunk).
- Add temporary debug prints in ConSrvInitConsoleScreenBuffer and ConioDeleteScreenBuffer, to figure out how SBs are initialized.
svn path=/branches/ros-csrss/; revision=58305
- Add the LSA_CONNECTION_INFO struct to the LSA_API_MSG in order to handle the connection info in an easy way.
- Let the connection handler return OperationalMode and Status values. This obsoletes a separate register call to lsasrv.dll, thus remove the register call code entirely.
- Add dispatcher code and stubs for the remaining client calls.
- Add experimental implementation of LsaCallAuthenticationPackage and LsaLogonUser.
svn path=/trunk/; revision=58304
Make the call sequence LsaRegisterLogonProcess, LsaLookupAuthenticationPackage, LsaDeregisterLogonProcess work without failures or loss of connection. WIP.
svn path=/trunk/; revision=58303
* Rely on CMAKE_HOST_WIN32 instead of CMAKE_HOST_SYSTEM_NAME which, sometimes, isn't set for some reason. Should fix the incorrect MINGW_TOOLCHAIN_PREFIX value issue.
svn path=/trunk/; revision=58292
* Fix a corner case when the start segments overlaps the end segment in Chord(), Pie(), Arc() and ArcTo() functions.
* This should fix the Pie chart in "Disk Properties" when all the space is used.
* Brought to you by Victor Martinez Calvo.
CORE-6848 #resolve #comment Committed in r58291. Thanks !
svn path=/trunk/; revision=58291
* Account for the fact that PID_SECURITY is defined in propidl.h with a different value. Spotted by Sylvain.
CORE-6930 #resolve #comment Fixed in r58289.
svn path=/trunk/; revision=58289
- Actually fail when the maximum number of reparse attempts is reached in ObpLookupObjectName. It previously returned a pointer to whatever object was currently in charge of parsing, but without taking a reference to it.
- Fixes 'Header->HandleCount == 0' assertion failure (on \REGISTRY object) after running ntdll_winetest:reg three times (and also fixes the remaining test failure)
svn path=/trunk/; revision=58281
* Add transparency to icons in the task bar and in the tray bar. Brought to you by Carlo Bramini.
CORE-6938 #resolve #comment Committed in r58279. Grazie ;)
svn path=/trunk/; revision=58279
Fix build, but remove support for architecture specific inf sections. This means livecd cannot have those until someone implements this. I give up...
svn path=/trunk/; revision=58276
- Implement support for architecture specific INF sections both in mkhive and in usetup (For an example, check hivesys.inf at the bottom)
- Get rid of architecture specific .inf files
svn path=/trunk/; revision=58271
- Add interface function to IUSBHardwareDevice, which returns the USB controller type
- The controller type is used for debugging in the common usb library (libusb)
svn path=/trunk/; revision=58268
- Ignore the unsupported MEM_TOP_DOWN flag instead of failing NtAllocateVirtualMemory
CORE-6392 CORE-6805 #comment MEM_TOP_DOWN should be sufficiently fixed in r58266, and setup now starts. Please confirm.
svn path=/trunk/; revision=58266
- Process startup items before creating the desktop. Fix some comments, add TODOs. Based on patch by Edijs Kolesnikovičs.
CORE-6896 #resolve
svn path=/trunk/; revision=58262
- Further compactify console allocation / attach code by putting common code into helper functions.
- Now, the default title of a console window is... "ReactOS Console" (and not command prompt since a console window isn't only reserved to command prompts).
svn path=/branches/ros-csrss/; revision=58260