mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 02:32:57 +00:00
[REACTOS] Refresh old URLs (#7632)
URLs are getting old. We have to update URLs for documentation purpose. JIRA issue: CORE-19963 - Refresh old URLs. - Add " (DEAD_LINK)" labels to dead links. - Use MS Learn links rather than MSDN ones. - Some dead links revived by Web Archive. - Don't change Wine Tests and Wine Sync. - Don't change 3rd party libraries. - Don't append "redirected" labels.
This commit is contained in:
parent
9a9aa6fdb9
commit
fe11f7a2e5
187 changed files with 303 additions and 305 deletions
|
@ -85,7 +85,7 @@ typedef struct
|
|||
#define DFF_256COLOR 0x0040
|
||||
#define DFF_RGBCOLOR 0x0080
|
||||
|
||||
// see http://msdn.microsoft.com/en-us/library/ms648014(VS.85).aspx
|
||||
// see https://learn.microsoft.com/en-us/windows/win32/menurc/fontdirentry
|
||||
typedef struct _FONTDIRENTRY
|
||||
{
|
||||
WORD dfVersion;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/*
|
||||
* @implemented
|
||||
* http://msdn.microsoft.com/en-us/library/ff564940%28VS.85%29.aspx
|
||||
* https://learn.microsoft.com/en-us/windows/win32/api/winddi/nf-winddi-enggetlasterror
|
||||
*/
|
||||
ULONG
|
||||
APIENTRY
|
||||
|
@ -14,7 +14,7 @@ EngGetLastError(VOID)
|
|||
|
||||
/*
|
||||
* @implemented
|
||||
* http://msdn.microsoft.com/en-us/library/ff565015%28VS.85%29.aspx
|
||||
* https://learn.microsoft.com/en-us/windows/win32/api/winddi/nf-winddi-engsetlasterror
|
||||
* Win: UserSetLastError
|
||||
*/
|
||||
VOID
|
||||
|
|
|
@ -96,8 +96,8 @@ WINAPI
|
|||
DdFlip(LPDDHAL_FLIPDATA Flip)
|
||||
{
|
||||
/* Note :
|
||||
* See http://msdn2.microsoft.com/en-us/library/ms794213.aspx and
|
||||
* http://msdn2.microsoft.com/en-us/library/ms792675.aspx
|
||||
* See http://msdn2.microsoft.com/en-us/library/ms794213.aspx (DEAD_LINK) and
|
||||
* http://msdn2.microsoft.com/en-us/library/ms792675.aspx (DEAD_LINK)
|
||||
*/
|
||||
|
||||
HANDLE hSurfaceCurrentLeft = NULL;
|
||||
|
|
|
@ -169,7 +169,7 @@ Escape(
|
|||
di.fwType = 0;
|
||||
di.lpszDocName = lpvInData;
|
||||
|
||||
/* NOTE : doc for StartDocA/W at msdn http://msdn2.microsoft.com/en-us/library/ms535793(VS.85).aspx */
|
||||
/* NOTE : doc for StartDocA/W at msdn https://learn.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-startdoca */
|
||||
retValue = StartDocA(hdc, &di);
|
||||
|
||||
/* Check if StartDocA failed */
|
||||
|
@ -179,7 +179,7 @@ Escape(
|
|||
retValue = GetLastError();
|
||||
|
||||
/* Translate StartDocA error code to STARTDOC error code
|
||||
* see msdn http://msdn2.microsoft.com/en-us/library/ms535472.aspx
|
||||
* see msdn https://learn.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-escape
|
||||
*/
|
||||
switch(retValue)
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* PURPOSE: BRUSH class implementation
|
||||
* PROGRAMER: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||
*
|
||||
* REFERENCES: http://support.microsoft.com/kb/kbview/108497
|
||||
* REFERENCES: https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/108497
|
||||
*/
|
||||
|
||||
#include "brush.hpp"
|
||||
|
|
|
@ -3233,7 +3233,7 @@ skip_os2:
|
|||
return Cache->OutlineRequiredSize;
|
||||
}
|
||||
|
||||
/* See https://msdn.microsoft.com/en-us/library/bb165625(v=vs.90).aspx */
|
||||
/* See https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2008/bb165625(v=vs.90) */
|
||||
static BYTE
|
||||
CharSetFromLangID(LANGID LangID)
|
||||
{
|
||||
|
@ -4147,12 +4147,12 @@ IntRequestFontSize(PDC dc, PFONTGDI FontGDI, LONG lfWidth, LONG lfHeight)
|
|||
|
||||
/*
|
||||
* NOTE: We cast TT_OS2.usWinAscent and TT_OS2.usWinDescent to signed FT_Short.
|
||||
* Why? See: https://docs.microsoft.com/en-us/typography/opentype/spec/os2#uswindescent
|
||||
* Why? See: https://learn.microsoft.com/en-us/typography/opentype/spec/os2#uswindescent
|
||||
*
|
||||
* > usWinDescent is "usually" a positive value ...
|
||||
*
|
||||
* We can read it as "not always". See CORE-14994.
|
||||
* See also: https://docs.microsoft.com/en-us/typography/opentype/spec/os2#fsselection
|
||||
* See also: https://learn.microsoft.com/en-us/typography/opentype/spec/os2#fsselection
|
||||
*/
|
||||
#define FM_SEL_USE_TYPO_METRICS 0x80
|
||||
if (lfHeight > 0)
|
||||
|
@ -5411,7 +5411,7 @@ ftGdiGetFontData(
|
|||
|
||||
#define GOT_PENALTY(name, value) Penalty += (value)
|
||||
|
||||
// NOTE: See Table 1. of https://msdn.microsoft.com/en-us/library/ms969909.aspx
|
||||
// NOTE: See Table 1. of https://learn.microsoft.com/en-us/previous-versions/ms969909(v=msdn.10)
|
||||
static UINT
|
||||
GetFontPenalty(const LOGFONTW * LogFont,
|
||||
const OUTLINETEXTMETRICW * Otm,
|
||||
|
|
|
@ -234,10 +234,10 @@ typedef DWORD LFTYPE;
|
|||
#define METARGN 2 // GetMetaRgn
|
||||
#define APIRGN 3
|
||||
|
||||
/* New flag for fdwInit in CreateDIBitmap. See support.microsoft.com/kb/kbview/108497*/
|
||||
/* New flag for fdwInit in CreateDIBitmap. See https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/108497 */
|
||||
#define CBM_CREATDIB 2
|
||||
|
||||
/* New color use parameter. See support.microsoft.com/kb/kbview/108497 */
|
||||
/* New color use parameter. See https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/108497 */
|
||||
#define DIB_PAL_INDICES 2
|
||||
|
||||
/* Get/SetBounds/Rect support. */
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
/* TYPES *********************************************************************/
|
||||
|
||||
/* Bitfields for UserpreferencesMask SPI_ values (with defaults) */
|
||||
/* See also http://technet.microsoft.com/nl-nl/library/cc957204(en-us).aspx */
|
||||
/* See also https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc957204(v=technet.10) */
|
||||
typedef struct {
|
||||
DWORD bActiveWindowTracking:1; //0 SPI_GETACTIVEWINDOWTRACKING
|
||||
DWORD bMenuAnimation:1; //1 SPI_GETMENUANIMATION
|
||||
|
|
|
@ -138,7 +138,7 @@ _InitializeLocalSpooler(void)
|
|||
// On startup, always create a volatile symbolic link in the registry if it doesn't exist yet.
|
||||
// "SYSTEM\CurrentControlSet\Control\Print\Printers" -> "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers"
|
||||
//
|
||||
// According to https://social.technet.microsoft.com/Forums/windowsserver/en-US/a683ab54-c43c-4ebe-af8f-1f7a65af2a51
|
||||
// According to https://learn.microsoft.com/en-us/archive/msdn-technet-forums/a683ab54-c43c-4ebe-af8f-1f7a65af2a51
|
||||
// this is needed when having >900 printers to work around a size limit of the SYSTEM registry hive.
|
||||
dwErrorCode = (DWORD)RegCreateKeyExW(HKEY_LOCAL_MACHINE, L"SYSTEM\\CurrentControlSet\\Control\\Print\\Printers", 0, NULL, REG_OPTION_VOLATILE | REG_OPTION_CREATE_LINK, KEY_CREATE_LINK | KEY_SET_VALUE, NULL, &hKey, NULL);
|
||||
if (dwErrorCode == ERROR_SUCCESS)
|
||||
|
|
|
@ -2532,7 +2532,7 @@ IntCreateDesktop(
|
|||
Tooltip dwExStyle: WS_EX_TOOLWINDOW|WS_EX_TOPMOST
|
||||
hWndParent are spwndMessage. Use hModuleWin for server side winproc!
|
||||
The rest is same as message window.
|
||||
http://msdn.microsoft.com/en-us/library/bb760250(VS.85).aspx
|
||||
https://learn.microsoft.com/en-us/windows/win32/controls/tooltip-controls
|
||||
*/
|
||||
Status = STATUS_SUCCESS;
|
||||
|
||||
|
|
|
@ -19,14 +19,14 @@ DBG_DEFAULT_CHANNEL(UserHotkey);
|
|||
/* GLOBALS *******************************************************************/
|
||||
|
||||
/*
|
||||
* Hardcoded hotkeys. See http://ivanlef0u.fr/repo/windoz/VI20051005.html
|
||||
* or http://repo.meh.or.id/Windows/VI20051005.html .
|
||||
* Hardcoded hotkeys. See http://ivanlef0u.fr/repo/windoz/VI20051005.html (DEAD_LINK)
|
||||
* or https://web.archive.org/web/20170826161432/http://repo.meh.or.id/Windows/VI20051005.html .
|
||||
*
|
||||
* NOTE: The (Shift-)F12 keys are used only for the "UserDebuggerHotKey" setting
|
||||
* which enables setting a key shortcut which, when pressed, establishes a
|
||||
* breakpoint in the code being debugged:
|
||||
* see http://technet.microsoft.com/en-us/library/cc786263(v=ws.10).aspx
|
||||
* and http://flylib.com/books/en/4.441.1.33/1/ for more details.
|
||||
* see https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc786263(v=ws.10)
|
||||
* and https://flylib.com/books/en/4.441.1.33/1/ for more details.
|
||||
* By default the key is VK-F12 on a 101-key keyboard, and is VK_SUBTRACT
|
||||
* (hyphen / substract sign) on a 82-key keyboard.
|
||||
*/
|
||||
|
|
|
@ -1154,7 +1154,7 @@ cleanup:
|
|||
*
|
||||
* NOTE: We adopt a different design from Microsoft's one due to security reason.
|
||||
* We don't use the 3rd parameter of NtUserLoadKeyboardLayoutEx.
|
||||
* See https://bugtraq.securityfocus.com/detail/50056B96.6040306
|
||||
* See https://seclists.org/fulldisclosure/2012/Jul/137
|
||||
*/
|
||||
HKL
|
||||
NTAPI
|
||||
|
|
|
@ -106,7 +106,7 @@ UserGetLanguageID(VOID)
|
|||
{
|
||||
HANDLE KeyHandle;
|
||||
OBJECT_ATTRIBUTES ObAttr;
|
||||
// http://support.microsoft.com/kb/324097
|
||||
// https://learn.microsoft.com/en-us/troubleshoot/windows-server/setup-upgrade-and-drivers/use-language-id-identify-language-pack
|
||||
ULONG Ret = MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT);
|
||||
PKEY_VALUE_PARTIAL_INFORMATION pKeyInfo;
|
||||
ULONG Size = sizeof(KEY_VALUE_PARTIAL_INFORMATION) + MAX_PATH*sizeof(WCHAR);
|
||||
|
|
|
@ -579,7 +579,7 @@ NtUserGetMouseMovePointsEx(
|
|||
|
||||
UserEnterShared();
|
||||
|
||||
// http://msdn.microsoft.com/en-us/library/ms646259(v=vs.85).aspx
|
||||
// https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getmousemovepointsex
|
||||
// This explains the math issues in transforming points.
|
||||
iRet = gcMouseHistoryOfMoves; // FIFO is forward so retrieve backward.
|
||||
//Hit = FALSE;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
DBG_DEFAULT_CHANNEL(UserMisc);
|
||||
|
||||
//
|
||||
// Works like BitBlt, http://msdn.microsoft.com/en-us/library/ms532278(VS.85).aspx
|
||||
// Works like BitBlt, https://learn.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-bitblt
|
||||
//
|
||||
BOOL
|
||||
APIENTRY
|
||||
|
|
|
@ -2603,7 +2603,7 @@ Exit:
|
|||
}
|
||||
|
||||
/* ValidateRect gets redirected to NtUserValidateRect:
|
||||
http://blog.csdn.net/ntdll/archive/2005/10/19/509299.aspx */
|
||||
https://blog.csdn.net/ntdll/article/details/509299 */
|
||||
BOOL
|
||||
APIENTRY
|
||||
NtUserValidateRect(
|
||||
|
|
|
@ -1507,7 +1507,7 @@ SpiGetSet(UINT uiAction, UINT uiParam, PVOID pvParam, FLONG fl)
|
|||
return SpiGetInt(pvParam, &gspv.iMouseHoverTime, fl);
|
||||
|
||||
case SPI_SETMOUSEHOVERTIME:
|
||||
/* See http://msdn2.microsoft.com/en-us/library/ms724947.aspx
|
||||
/* See https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-systemparametersinfoa
|
||||
* copy text from it, if some agument why xp and 2003 behovir diffent
|
||||
* only if they do not have SP install
|
||||
* " Windows Server 2003 and Windows XP: The operating system does not
|
||||
|
|
|
@ -1831,7 +1831,7 @@ PWND FASTCALL IntCreateWindow(CREATESTRUCTW* Cs,
|
|||
}
|
||||
else
|
||||
{ /*
|
||||
* Note from MSDN <http://msdn.microsoft.com/en-us/library/aa913269.aspx>:
|
||||
* Note from MSDN <https://learn.microsoft.com/en-us/previous-versions/aa913269(v=msdn.10)>:
|
||||
*
|
||||
* Dialog boxes and message boxes do not inherit layout, so you must
|
||||
* set the layout explicitly.
|
||||
|
|
|
@ -213,7 +213,7 @@ static HWND GetNiceRootOwner(HWND hwnd)
|
|||
return hwnd;
|
||||
}
|
||||
|
||||
// c.f. http://blogs.msdn.com/b/oldnewthing/archive/2007/10/08/5351207.aspx
|
||||
// c.f. https://devblogs.microsoft.com/oldnewthing/20071008-00/?p=24863
|
||||
BOOL IsAltTabWindow(HWND hwnd)
|
||||
{
|
||||
DWORD ExStyle;
|
||||
|
|
|
@ -190,7 +190,7 @@ ExitWindowsEx(UINT uFlags,
|
|||
* FIXME:
|
||||
* 1- Calling the Exit worker must be done under certain conditions.
|
||||
* We may also need to warn the user if there are other people logged
|
||||
* on this computer (see http://pve.proxmox.com/wiki/Windows_2003_guest_best_practices )
|
||||
* on this computer (see https://pve.proxmox.com/wiki/Windows_2003_guest_best_practices )
|
||||
* 2- Call SrvRecordShutdownReason.
|
||||
*/
|
||||
|
||||
|
|
|
@ -2827,7 +2827,7 @@ TranslateMessage(CONST MSG *lpMsg)
|
|||
{
|
||||
BOOL ret;
|
||||
|
||||
// http://msdn.microsoft.com/en-us/library/aa912145.aspx
|
||||
// https://learn.microsoft.com/en-us/previous-versions/aa912145(v=msdn.10)
|
||||
if (LOWORD(lpMsg->wParam) == VK_PROCESSKEY)
|
||||
{
|
||||
ret = IMM_FN(ImmTranslateMessage)(lpMsg->hwnd,
|
||||
|
|
|
@ -1336,7 +1336,7 @@ MessageBeep(
|
|||
/*
|
||||
* @implemented
|
||||
*
|
||||
* See: https://msdn.microsoft.com/en-us/library/windows/desktop/dn910915(v=vs.85).aspx
|
||||
* See: https://learn.microsoft.com/en-us/windows/win32/dlgbox/mb-getstring
|
||||
* and: http://undoc.airesoft.co.uk/user32.dll/MB_GetString.php
|
||||
* for more information.
|
||||
*/
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
/*
|
||||
* Undocumented message and structure used by Windows' console.dll
|
||||
* for setting console info.
|
||||
* See http://www.catch22.net/sites/default/source/files/setconsoleinfo.c
|
||||
* and http://www.scn.rain.com/~neighorn/PDF/MSBugPaper.pdf
|
||||
* See https://web.archive.org/web/20160307053337/https://www.catch22.net/sites/default/source/files/setconsoleinfo.c
|
||||
* and https://dl.packetstormsecurity.net/papers/win/MSBugPaper.pdf
|
||||
* for more information.
|
||||
*/
|
||||
#define WM_SETCONSOLEINFO (WM_USER + 201)
|
||||
|
|
|
@ -2019,7 +2019,7 @@ CON_API(SrvGetConsoleLangId,
|
|||
{
|
||||
/*
|
||||
* Quoting MS Terminal, see function GetConsoleLangId() at
|
||||
* https://github.com/microsoft/terminal/blob/main/src/host/srvinit.cpp#L655
|
||||
* https://github.com/microsoft/terminal/blob/1e00843598d980c5009d17ff943cb78b78d4af9e/src/host/srvinit.cpp#L694
|
||||
* "Only attempt to return the Lang ID if the Windows ACP on console
|
||||
* launch was an East Asian Code Page."
|
||||
*
|
||||
|
|
|
@ -2638,8 +2638,8 @@ ConWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
|
||||
/*
|
||||
* Undocumented message sent by Windows' console.dll for applying console info.
|
||||
* See http://www.catch22.net/sites/default/source/files/setconsoleinfo.c
|
||||
* and http://www.scn.rain.com/~neighorn/PDF/MSBugPaper.pdf
|
||||
* See https://web.archive.org/web/20160307053337/https://www.catch22.net/sites/default/source/files/setconsoleinfo.c
|
||||
* and https://dl.packetstormsecurity.net/papers/win/MSBugPaper.pdf
|
||||
* for more information.
|
||||
*/
|
||||
case WM_SETCONSOLEINFO:
|
||||
|
|
|
@ -54,11 +54,11 @@ SwitchFullScreen(PGUI_CONSOLE_DATA GuiData, BOOL FullScreen)
|
|||
* See:
|
||||
* http://stackoverflow.com/questions/2382464/win32-full-screen-and-hiding-taskbar
|
||||
* http://stackoverflow.com/questions/3549148/fullscreen-management-with-winapi
|
||||
* http://blogs.msdn.com/b/oldnewthing/archive/2010/04/12/9994016.aspx
|
||||
* http://blogs.msdn.com/b/oldnewthing/archive/2005/05/05/414910.aspx
|
||||
* https://devblogs.microsoft.com/oldnewthing/20100412-00/?p=14353
|
||||
* https://devblogs.microsoft.com/oldnewthing/20050505-04/?p=35703
|
||||
* http://stackoverflow.com/questions/1400654/how-do-i-put-my-opengl-app-into-fullscreen-mode
|
||||
* http://nehe.gamedev.net/tutorial/creating_an_opengl_window_win32/13001/
|
||||
* http://www.reocities.com/pcgpe/dibs.html
|
||||
* https://web.archive.org/web/20180210071518/http://nehe.gamedev.net/tutorial/creating_an_opengl_window_win32/13001/
|
||||
* https://web.archive.org/web/20121001015230/http://www.reocities.com/pcgpe/dibs.html
|
||||
*/
|
||||
|
||||
/* If we are already in the given state, just bail out */
|
||||
|
|
|
@ -250,8 +250,8 @@ Quit:
|
|||
/*
|
||||
* Function for dealing with the undocumented message and structure used by
|
||||
* Windows' console.dll for setting console info.
|
||||
* See http://www.catch22.net/sites/default/source/files/setconsoleinfo.c
|
||||
* and http://www.scn.rain.com/~neighorn/PDF/MSBugPaper.pdf
|
||||
* See https://web.archive.org/web/20220808235525/https://www.catch22.net/assets/files/source/files/setconsoleinfo.c
|
||||
* and https://dl.packetstormsecurity.net/papers/win/MSBugPaper.pdf
|
||||
* for more information.
|
||||
*/
|
||||
VOID
|
||||
|
|
|
@ -1160,7 +1160,7 @@ GuiSetMenuClose(IN OUT PFRONTEND This,
|
|||
{
|
||||
/*
|
||||
* NOTE: See http://www.mail-archive.com/harbour@harbour-project.org/msg27509.html
|
||||
* or http://harbour-devel.1590103.n2.nabble.com/Question-about-hb-gt-win-CtrlHandler-usage-td4670862i20.html
|
||||
* or http://harbour-devel.1590103.n2.nabble.com/Question-about-hb-gt-win-CtrlHandler-usage-td4670862i20.html (DEAD_LINK)
|
||||
* for more information.
|
||||
*/
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ NonConsoleProcessShutdown(IN PCSR_PROCESS Process,
|
|||
return CsrShutdownCsrProcess;
|
||||
}
|
||||
|
||||
// NOTE: See http://blogs.msdn.com/b/ntdebugging/archive/2007/06/09/how-windows-shuts-down.aspx
|
||||
// NOTE: See https://web.archive.org/web/20150629001832/http://blogs.msdn.com/b/ntdebugging/archive/2007/06/09/how-windows-shuts-down.aspx
|
||||
ULONG
|
||||
NTAPI
|
||||
ConsoleClientShutdown(IN PCSR_PROCESS CsrProcess,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue