A free Windows-compatible Operating System - mirrored from GitHub
Find a file
Hermès Bélusca-Maïto 471be3e868 [SHELL32]
Implement the usage of the STARTF_TITLEISLINKNAME flag (in a STARTUPINFO structure, it signals that the program was started from a shell link, and therefore its lpTitle member holds the path of the link).
What I do is that, in CShellLink::InvokeCommand (called when a shortcut is being executed), I initialize the SHELLEXECUTEINFO structure such that we know that we are starting from a shortcut (use the
SEE_MASK_HASLINKNAME flag), and to hold the path to the flag I use its lpClass member (which is not used for other things in this code path). Then the whole thing is passed to ShellExecuteExW which, in turn,
calls the SHELL_ExecuteW function. This function reads the SHELLEXECUTEINFO structure and, if it has the flag SEE_MASK_HASLINKNAME (or SEE_MASK_HASTITLE too, if somebody also uses lpClass to pass a particular
title for the startup), we use the forementioned lpClass member, holding the link path, as the title (lpTitle member) of a new STARTUPINFO object used when calling CreateProcess (and thus, launching the
new application). So that this application will be aware that she was launched via a link (therefore we become compliant with the STARTF_TITLEISLINKNAME documentation).

svn path=/branches/ros-csrss/; revision=58480
2013-03-13 01:35:46 +00:00
base [CSRSRV] 2013-03-10 19:37:33 +00:00
boot Synchronize with trunk r58457. 2013-03-10 01:01:36 +00:00
cmake Synchronize with trunk r58457. 2013-03-10 01:01:36 +00:00
dll [SHELL32] 2013-03-13 01:35:46 +00:00
drivers Synchronize with trunk r58457. 2013-03-10 01:01:36 +00:00
hal Synchronize with trunk r58457. 2013-03-10 01:01:36 +00:00
include [PSDK] 2013-03-13 01:19:43 +00:00
lib [CSRSRV] 2013-03-10 19:37:33 +00:00
media Synchronize with trunk r58457. 2013-03-10 01:01:36 +00:00
modules
ntoskrnl Synchronize with trunk r58457. 2013-03-10 01:01:36 +00:00
subsystems [CSRSRV] 2013-03-10 19:44:48 +00:00
win32ss [CSRSRV] 2013-03-10 19:37:33 +00:00
.hgeol
apistatus.lst
CMakeLists.txt
configure.cmd
configure.sh
COPYING
COPYING.ARM
COPYING.LIB
COPYING3
COPYING3.LIB
CREDITS
depmap.xsl
Doxyfile
global.lds
INSTALL
PreLoad.cmake
README
toolchain-gcc.cmake Synchronize with trunk r58457. 2013-03-10 01:01:36 +00:00
toolchain-msvc.cmake
vreport.xsl

========================
ReactOS Version 0.3.x
Updated Dec 16, 2006
========================

1. What is ReactOS?

   ReactOS is an Open Source effort to develop a quality operating system
that is compatible with Windows NT applications and drivers.

   The ReactOS project, although currently focused on Windows XP/2003
drivers compatibility, is always keeping an eye toward compatibility with
older version of Windows NT family ( NT 4.0, 2000 (NT 5.0)) and new
Windows NT releases (Vista, etc). Applications (Win32 API) compatibility
focus is Windows XP.

More information is available at http://www.reactos.org/.

2. Building ReactOS

See the INSTALL file for more details.

3. More information

See the media\doc subdirectory for some sparse notes.

4. Who is responsible

See the CREDITS file.