mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 23:05:41 +00:00
A free Windows-compatible Operating System - mirrored from GitHub
![]() 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 |
||
---|---|---|
base | ||
boot | ||
cmake | ||
dll | ||
drivers | ||
hal | ||
include | ||
lib | ||
media | ||
modules | ||
ntoskrnl | ||
subsystems | ||
win32ss | ||
.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 | ||
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.