mirror of
https://github.com/reactos/reactos.git
synced 2025-06-06 09:50:43 +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
|
@ -257,9 +257,9 @@ void SetDIBitsToDeviceFromClipboard(UINT uFormat, PAINTSTRUCT ps, SCROLLSTATE st
|
||||||
*
|
*
|
||||||
* FIXME: investigate!!
|
* FIXME: investigate!!
|
||||||
* ANSWER: this is a Windows bug; part of the answer is there:
|
* ANSWER: this is a Windows bug; part of the answer is there:
|
||||||
* https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/ac7ab3b5-8609-4478-b86a-976dab44c271/bug-clipboard-format-conversions-cfdib-cfdibv5-cfdib
|
* https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/ac7ab3b5-8609-4478-b86a-976dab44c271/bug-clipboard-format-conversions-cfdib-cfdibv5-cfdib (DEAD_LINK)
|
||||||
* May be related:
|
* May be related:
|
||||||
* https://blog.talosintelligence.com/2015/10/dangerous-clipboard.html
|
* https://blog.talosintelligence.com/dangerous-clipboard/
|
||||||
*/
|
*/
|
||||||
#if 0
|
#if 0
|
||||||
if ((lpInfoHeader->biSize == sizeof(BITMAPINFOHEADER)) &&
|
if ((lpInfoHeader->biSize == sizeof(BITMAPINFOHEADER)) &&
|
||||||
|
|
|
@ -487,7 +487,7 @@ Restart:
|
||||||
* See base/applications/cmdutils/clip/clip.c!IsDataUnicode()
|
* See base/applications/cmdutils/clip/clip.c!IsDataUnicode()
|
||||||
* and base/applications/notepad/text.c!ReadText() for more details.
|
* and base/applications/notepad/text.c!ReadText() for more details.
|
||||||
* Also some good code example can be found at:
|
* Also some good code example can be found at:
|
||||||
* https://github.com/AutoIt/text-encoding-detect
|
* https://github.com/AutoItConsulting/text-encoding-detect
|
||||||
*/
|
*/
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,7 +7,7 @@ card-game library.
|
||||||
Freeware
|
Freeware
|
||||||
Copyright J Brown 2001
|
Copyright J Brown 2001
|
||||||
|
|
||||||
Updates at http://www.catch22.net
|
Updates at https://www.catch22.net/
|
||||||
|
|
||||||
******************************************/
|
******************************************/
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ HRESULT GetComCtl32Version(OUT PDWORD pdwMajor, OUT PDWORD pdwMinor, OUT PDWORD
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* See: https://msdn.microsoft.com/en-us/library/windows/desktop/hh298349(v=vs.85).aspx
|
* See: https://learn.microsoft.com/en-us/windows/win32/controls/common-control-versions
|
||||||
* and: http://www.geoffchappell.com/studies/windows/shell/comctl32/history/
|
* and: http://www.geoffchappell.com/studies/windows/shell/comctl32/history/
|
||||||
* for the possible version values to be returned.
|
* for the possible version values to be returned.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -717,7 +717,7 @@ CommonWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
/*
|
/*
|
||||||
* Ehh yes, we have to deal with a "dialog proc", which is quite different from a "window proc":
|
* Ehh yes, we have to deal with a "dialog proc", which is quite different from a "window proc":
|
||||||
*
|
*
|
||||||
* (excerpt from: MSDN library http://msdn.microsoft.com/en-us/library/ms645469(VS.85).aspx)
|
* (excerpt from: MSDN library https://learn.microsoft.com/en-us/windows/win32/api/winuser/nc-winuser-dlgproc)
|
||||||
*
|
*
|
||||||
* Return Value
|
* Return Value
|
||||||
* ============
|
* ============
|
||||||
|
|
|
@ -155,7 +155,7 @@ RunCommand(IN LPCWSTR lpszCommand,
|
||||||
|
|
||||||
|
|
||||||
//////////////////// The following comes from MSDN samples ///////////////////
|
//////////////////// The following comes from MSDN samples ///////////////////
|
||||||
// https://msdn.microsoft.com/en-us/library/windows/desktop/dd162826(v=vs.85).aspx
|
// https://learn.microsoft.com/en-us/windows/win32/gdi/positioning-objects-on-a-multiple-display-setup
|
||||||
//
|
//
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -58,7 +58,7 @@ RunCommand(IN LPCWSTR lpszCommand,
|
||||||
|
|
||||||
|
|
||||||
//////////////////// The following comes from MSDN samples ///////////////////
|
//////////////////// The following comes from MSDN samples ///////////////////
|
||||||
// https://msdn.microsoft.com/en-us/library/windows/desktop/dd162826(v=vs.85).aspx
|
// https://learn.microsoft.com/en-us/windows/win32/gdi/positioning-objects-on-a-multiple-display-setup
|
||||||
//
|
//
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -908,7 +908,7 @@ ApplyParameterStringsToMessage(
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* This code is heavily adapted from the MSDN example:
|
* This code is heavily adapted from the MSDN example:
|
||||||
* https://msdn.microsoft.com/en-us/library/windows/desktop/bb427356.aspx
|
* https://learn.microsoft.com/en-us/windows/win32/eventlog/querying-for-event-source-messages
|
||||||
* with bugs removed.
|
* with bugs removed.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -751,9 +751,9 @@ InitDetailsDlgCtrl(HWND hDlg, PDETAILDATA pData)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Activate automatic URL recognition by the RichEdit control. For more information, see:
|
* Activate automatic URL recognition by the RichEdit control. For more information, see:
|
||||||
* https://blogs.msdn.microsoft.com/murrays/2009/08/31/automatic-richedit-hyperlinks/
|
* https://learn.microsoft.com/en-us/archive/blogs/murrays/automatic-richedit-hyperlinks
|
||||||
* https://blogs.msdn.microsoft.com/murrays/2009/09/24/richedit-friendly-name-hyperlinks/
|
* https://learn.microsoft.com/en-us/archive/blogs/murrays/richedit-friendly-name-hyperlinks
|
||||||
* https://msdn.microsoft.com/en-us/library/windows/desktop/bb787991(v=vs.85).aspx
|
* https://learn.microsoft.com/en-us/windows/win32/controls/em-autourldetect
|
||||||
*/
|
*/
|
||||||
SendDlgItemMessageW(hDlg, IDC_EVENTTEXTEDIT, EM_AUTOURLDETECT, AURL_ENABLEURL /* | AURL_ENABLEEAURLS */, 0);
|
SendDlgItemMessageW(hDlg, IDC_EVENTTEXTEDIT, EM_AUTOURLDETECT, AURL_ENABLEURL /* | AURL_ENABLEEAURLS */, 0);
|
||||||
|
|
||||||
|
|
|
@ -542,7 +542,7 @@ sec_out_mcs_data(STREAM s, uint32 selected_protocol)
|
||||||
out_uint8s(s, 30 - hostlen);
|
out_uint8s(s, 30 - hostlen);
|
||||||
|
|
||||||
/* See
|
/* See
|
||||||
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk40/html/cxtsksupportingremotedesktopprotocol.asp */
|
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk40/html/cxtsksupportingremotedesktopprotocol.asp (DEAD_LINK) */
|
||||||
out_uint32_le(s, g_keyboard_type);
|
out_uint32_le(s, g_keyboard_type);
|
||||||
out_uint32_le(s, g_keyboard_subtype);
|
out_uint32_le(s, g_keyboard_subtype);
|
||||||
out_uint32_le(s, g_keyboard_functionkeys);
|
out_uint32_le(s, g_keyboard_functionkeys);
|
||||||
|
|
|
@ -59,8 +59,8 @@ Support for multiple screen sizes.
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
Since version 2.0, Console Telnet's new home page is
|
Since version 2.0, Console Telnet's new home page is
|
||||||
http://www.musc.edu/~brannanp/telnet/. You can get the latest version from
|
https://web.archive.org/web/20010126035900/http://www.musc.edu/~brannanp/telnet/ . You can get the latest version from
|
||||||
ftp://argeas.cs-net.gr/Telnet-Win32 or from the web page. Telnet is
|
ftp://argeas.cs-net.gr/Telnet-Win32 (DEAD_LINK) or from the web page. Telnet is
|
||||||
available as full project (sources included) or as binaries only. If you
|
available as full project (sources included) or as binaries only. If you
|
||||||
would like to help to the development check the /devel directory on the ftp
|
would like to help to the development check the /devel directory on the ftp
|
||||||
site for a recent alpha version.
|
site for a recent alpha version.
|
||||||
|
@ -72,7 +72,7 @@ Telnet has it's own mailing list for announcements, bug reports, support,
|
||||||
suggestions etc. To subscribe send e-mail to majordomo@argeas.cs-net.gr
|
suggestions etc. To subscribe send e-mail to majordomo@argeas.cs-net.gr
|
||||||
with empty Subject, and the word subscribe in the body. List's address is
|
with empty Subject, and the word subscribe in the body. List's address is
|
||||||
telnet-win32@argeas.cs-net.gr You can find the old archives at
|
telnet-win32@argeas.cs-net.gr You can find the old archives at
|
||||||
http://www.cs-net.gr/lists
|
http://www.cs-net.gr/lists (DEAD_LINK)
|
||||||
|
|
||||||
If you are only interested in announcements, follow the above procedures to
|
If you are only interested in announcements, follow the above procedures to
|
||||||
subscribe to telnet-win32-announce. The development list is
|
subscribe to telnet-win32-announce. The development list is
|
||||||
|
@ -172,7 +172,7 @@ included to the next version.
|
||||||
|
|
||||||
Telnet compiles with a variety of compilers. You will need at least
|
Telnet compiles with a variety of compilers. You will need at least
|
||||||
Borland 4.x or newer compiler, or MSVC 2.0 or newer, or download a version
|
Borland 4.x or newer compiler, or MSVC 2.0 or newer, or download a version
|
||||||
of gcc for Win32 (see http://www.musc.edu/~brannanp/telnet/gccwin32.html).
|
of gcc for Win32 (see https://web.archive.org/web/20010126054500/http://www.musc.edu/~brannanp/telnet/gccwin32.html).
|
||||||
Copy the files from the directories BORLAND or MSVC to the main directory,
|
Copy the files from the directories BORLAND or MSVC to the main directory,
|
||||||
change them to fit to your system, and recompile. The project comes with
|
change them to fit to your system, and recompile. The project comes with
|
||||||
IDE files and makefiles.
|
IDE files and makefiles.
|
||||||
|
|
|
@ -19,4 +19,4 @@ Unfortunately, all the ssh clients I've found don't work this way. You can outp
|
||||||
3) Get Openssh from http://www.openssh.com
|
3) Get Openssh from http://www.openssh.com
|
||||||
4) Modify Openssh so it will compile, and get rid of all the termios stuff
|
4) Modify Openssh so it will compile, and get rid of all the termios stuff
|
||||||
|
|
||||||
Obviously this is a lot of work. If you need a good ssh client, try PuTTY from http://www.chiark.greenend.org.uk/~sgtatham/putty/. It may be possible to integrate PuTTY and Telnet, and that would certainly be easier than the above option. PuTTY is licensed under the MIT license, which seems to be compatible with the GPL. The primary advantage of integrating the two projects is that PuTTY would gain the key mappings that telnet has, and telnet would gain encryption.
|
Obviously this is a lot of work. If you need a good ssh client, try PuTTY from https://www.chiark.greenend.org.uk/~sgtatham/putty/ . It may be possible to integrate PuTTY and Telnet, and that would certainly be easier than the above option. PuTTY is licensed under the MIT license, which seems to be compatible with the GPL. The primary advantage of integrating the two projects is that PuTTY would gain the key mappings that telnet has, and telnet would gain encryption.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "precomp.h"
|
#include "precomp.h"
|
||||||
|
|
||||||
// from the PVAX (http://www.ccas.ru/~posp/popov/spawn.htm)
|
// from the PVAX (https://web.archive.org/web/20030707153537/http://www.ccas.ru/~posp/popov/spawn.htm)
|
||||||
// Create a process with pipes to stdin/out/err
|
// Create a process with pipes to stdin/out/err
|
||||||
BOOL CreateHiddenConsoleProcess(LPCTSTR szChildName, PROCESS_INFORMATION* ppi,
|
BOOL CreateHiddenConsoleProcess(LPCTSTR szChildName, PROCESS_INFORMATION* ppi,
|
||||||
LPHANDLE phInWrite, LPHANDLE phOutRead,
|
LPHANDLE phInWrite, LPHANDLE phOutRead,
|
||||||
|
|
|
@ -118,7 +118,7 @@ typedef struct
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* See also:
|
* See also:
|
||||||
* https://support.microsoft.com/en-us/windows/changing-header-and-footer-commands-in-notepad-c1b0e27b-497d-c478-c4c1-0da491cac148
|
* https://support.microsoft.com/en-us/windows/help-in-notepad-4d68c388-2ff2-0e7f-b706-35fb2ab88a8c
|
||||||
*/
|
*/
|
||||||
static VOID
|
static VOID
|
||||||
DrawHeaderOrFooter(HDC hDC, LPRECT pRect, LPCTSTR pszFormat, INT nPageNo, const SYSTEMTIME *pstNow)
|
DrawHeaderOrFooter(HDC hDC, LPRECT pRect, LPCTSTR pszFormat, INT nPageNo, const SYSTEMTIME *pstNow)
|
||||||
|
|
|
@ -18,7 +18,7 @@ Also, each [Section] is language-independent and individual, you can override th
|
||||||
program or any other field by adding a language-specific [Section.], followed by the language code.
|
program or any other field by adding a language-specific [Section.], followed by the language code.
|
||||||
|
|
||||||
NOTE: You can find a complete listing of LCIDs and language names here, includes neutral codes:
|
NOTE: You can find a complete listing of LCIDs and language names here, includes neutral codes:
|
||||||
<https://msdn.microsoft.com/en-us/library/windows/desktop/dd318693%28v=vs.85%29.aspx>
|
<https://learn.microsoft.com/en-us/windows/win32/intl/language-identifier-constants-and-strings>
|
||||||
|
|
||||||
Now RAPPS also accepts neutral language codes, meaning that you can do things like this:
|
Now RAPPS also accepts neutral language codes, meaning that you can do things like this:
|
||||||
|
|
||||||
|
|
|
@ -158,7 +158,7 @@ CAppDB::EnumInstalledRootKey(UINT Index, REGSAM &RegSam)
|
||||||
{
|
{
|
||||||
// Loop for through all combinations.
|
// Loop for through all combinations.
|
||||||
// Note that HKEY_CURRENT_USER\Software does not have a redirect
|
// Note that HKEY_CURRENT_USER\Software does not have a redirect
|
||||||
// https://docs.microsoft.com/en-us/windows/win32/winprog64/shared-registry-keys#redirected-shared-and-reflected-keys-under-wow64
|
// https://learn.microsoft.com/en-us/windows/win32/winprog64/shared-registry-keys#redirected-shared-and-reflected-keys-under-wow64
|
||||||
if (Index < (IsSystem64Bit() ? 3 : 2))
|
if (Index < (IsSystem64Bit() ? 3 : 2))
|
||||||
return GetRootKeyInfo(Index, RegSam);
|
return GetRootKeyInfo(Index, RegSam);
|
||||||
else
|
else
|
||||||
|
|
|
@ -38,7 +38,7 @@ TASKMANAGER_SETTINGS TaskManagerSettings;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Taken from WinSpy++ 1.7
|
// Taken from WinSpy++ 1.7
|
||||||
// http://www.catch22.net/software/winspy
|
// https://www.catch22.net/projects/winspy/
|
||||||
// Copyright (c) 2002 by J Brown
|
// Copyright (c) 2002 by J Brown
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -233,10 +233,10 @@ void nfs41_client_free(
|
||||||
* http://tools.ietf.org/html/rfc5661#section-2.4
|
* http://tools.ietf.org/html/rfc5661#section-2.4
|
||||||
*
|
*
|
||||||
* MSDN: GetAdaptersAddresses Function
|
* MSDN: GetAdaptersAddresses Function
|
||||||
* http://msdn.microsoft.com/en-us/library/aa365915%28VS.85%29.aspx
|
* https://learn.microsoft.com/en-us/windows/win32/api/iphlpapi/nf-iphlpapi-getadaptersaddresses
|
||||||
*
|
*
|
||||||
* MSDN: Example C Program: Creating an MD5 Hash from File Content
|
* MSDN: Example C Program: Creating an MD5 Hash from File Content
|
||||||
* http://msdn.microsoft.com/en-us/library/aa382380%28VS.85%29.aspx */
|
* https://learn.microsoft.com/en-us/windows/win32/seccrypto/example-c-program--creating-an-md-5-hash-from-file-content */
|
||||||
|
|
||||||
|
|
||||||
/* use an rbtree to sort mac address entries */
|
/* use an rbtree to sort mac address entries */
|
||||||
|
|
|
@ -107,7 +107,7 @@ void nfs_to_network_openinfo(
|
||||||
IN const nfs41_file_info *info,
|
IN const nfs41_file_info *info,
|
||||||
OUT PFILE_NETWORK_OPEN_INFORMATION std_out);
|
OUT PFILE_NETWORK_OPEN_INFORMATION std_out);
|
||||||
|
|
||||||
/* http://msdn.microsoft.com/en-us/library/ms724290%28VS.85%29.aspx:
|
/* https://learn.microsoft.com/en-us/windows/win32/sysinfo/file-times
|
||||||
* A file time is a 64-bit value that represents the number of
|
* A file time is a 64-bit value that represents the number of
|
||||||
* 100-nanosecond intervals that have elapsed since 12:00 A.M.
|
* 100-nanosecond intervals that have elapsed since 12:00 A.M.
|
||||||
* January 1, 1601 Coordinated Universal Time (UTC). */
|
* January 1, 1601 Coordinated Universal Time (UTC). */
|
||||||
|
|
|
@ -61,7 +61,7 @@ LookupDirectoryById(
|
||||||
* but here we try to remove this constraint.
|
* but here we try to remove this constraint.
|
||||||
*
|
*
|
||||||
* TXTSETUP.SIF entries syntax explained at:
|
* TXTSETUP.SIF entries syntax explained at:
|
||||||
* http://www.msfn.org/board/topic/125480-txtsetupsif-syntax/
|
* https://msfn.org/board/topic/125480-txtsetupsif-syntax/
|
||||||
*/
|
*/
|
||||||
static NTSTATUS
|
static NTSTATUS
|
||||||
GetSourceFileAndTargetLocation(
|
GetSourceFileAndTargetLocation(
|
||||||
|
|
|
@ -712,7 +712,7 @@ RegInitializeRegistry(
|
||||||
* Use a dummy root key name:
|
* Use a dummy root key name:
|
||||||
* - On 2k/XP/2k3, this is "$$$PROTO.HIV"
|
* - On 2k/XP/2k3, this is "$$$PROTO.HIV"
|
||||||
* - On Vista+, this is "CMI-CreateHive{guid}"
|
* - On Vista+, this is "CMI-CreateHive{guid}"
|
||||||
* See https://github.com/libyal/winreg-kb/blob/master/documentation/Registry%20files.asciidoc
|
* See https://github.com/libyal/winreg-kb/blob/main/docs/sources/windows-registry/Files.md
|
||||||
* for more information.
|
* for more information.
|
||||||
*/
|
*/
|
||||||
RtlInitUnicodeString(&KeyName, L"\\Registry\\Machine\\SYSTEM\\$$$PROTO.HIV");
|
RtlInitUnicodeString(&KeyName, L"\\Registry\\Machine\\SYSTEM\\$$$PROTO.HIV");
|
||||||
|
|
|
@ -112,11 +112,11 @@ typedef struct _USETUP_DATA
|
||||||
*
|
*
|
||||||
* For more information, see:
|
* For more information, see:
|
||||||
* https://en.wikipedia.org/wiki/System_partition_and_boot_partition
|
* https://en.wikipedia.org/wiki/System_partition_and_boot_partition
|
||||||
* http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/boot-and-system-volumes.html
|
* https://web.archive.org/web/20160604095323/http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/boot-and-system-volumes.html
|
||||||
* http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/arc-boot-process.html
|
* https://web.archive.org/web/20160604095238/http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/arc-boot-process.html
|
||||||
* http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/efi-boot-process.html
|
* https://web.archive.org/web/20160508052211/http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/efi-boot-process.html
|
||||||
* http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/determining-system-volume.html
|
* https://web.archive.org/web/20160604093304/http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/determining-system-volume.html
|
||||||
* http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/determining-boot-volume.html
|
* https://web.archive.org/web/20160604095540/http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/determining-boot-volume.html
|
||||||
*/
|
*/
|
||||||
UNICODE_STRING SystemRootPath;
|
UNICODE_STRING SystemRootPath;
|
||||||
|
|
||||||
|
|
|
@ -8,14 +8,14 @@
|
||||||
* References:
|
* References:
|
||||||
*
|
*
|
||||||
* - ARC Specification v1.2: http://netbsd.org./docs/Hardware/Machines/ARC/riscspec.pdf
|
* - ARC Specification v1.2: http://netbsd.org./docs/Hardware/Machines/ARC/riscspec.pdf
|
||||||
* - "Setup and Startup", MSDN article: https://technet.microsoft.com/en-us/library/cc977184.aspx
|
* - "Setup and Startup", MSDN article: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc977184(v=technet.10)
|
||||||
* - Answer for "How do I determine the ARC path for a particular drive letter in Windows?": https://serverfault.com/a/5929
|
* - Answer for "How do I determine the ARC path for a particular drive letter in Windows?": https://serverfault.com/questions/5910/how-do-i-determine-the-arc-path-for-a-particular-drive-letter-in-windows/5929#5929
|
||||||
* - ARC - LinuxMIPS: https://www.linux-mips.org/wiki/ARC
|
* - ARC - LinuxMIPS: https://web.archive.org/web/20230922043211/https://www.linux-mips.org/wiki/ARC
|
||||||
* - ARCLoad - LinuxMIPS: https://www.linux-mips.org/wiki/ARCLoad
|
* - ARCLoad - LinuxMIPS: https://web.archive.org/web/20221002210224/https://www.linux-mips.org/wiki/ARCLoad
|
||||||
* - Inside Windows 2000 Server: https://books.google.fr/books?id=kYT7gKnwUQ8C&pg=PA71&lpg=PA71&dq=nt+arc+path&source=bl&ots=K8I1F_KQ_u&sig=EJq5t-v2qQk-QB7gNSREFj7pTVo&hl=en&sa=X&redir_esc=y#v=onepage&q=nt%20arc%20path&f=false
|
* - Inside Windows 2000 Server: https://books.google.fr/books?id=kYT7gKnwUQ8C&pg=PA71&lpg=PA71&dq=nt+arc+path&source=bl&ots=K8I1F_KQ_u&sig=EJq5t-v2qQk-QB7gNSREFj7pTVo&hl=en&sa=X&redir_esc=y#v=onepage&q=nt%20arc%20path&f=false
|
||||||
* - Inside Windows Server 2003: https://books.google.fr/books?id=zayrcM9ZYdAC&pg=PA61&lpg=PA61&dq=arc+path+to+nt+path&source=bl&ots=x2JSWfp2MA&sig=g9mufN6TCOrPejDov6Rjp0Jrldo&hl=en&sa=X&redir_esc=y#v=onepage&q=arc%20path%20to%20nt%20path&f=false
|
* - Inside Windows Server 2003: https://books.google.fr/books?id=zayrcM9ZYdAC&pg=PA61&lpg=PA61&dq=arc+path+to+nt+path&source=bl&ots=x2JSWfp2MA&sig=g9mufN6TCOrPejDov6Rjp0Jrldo&hl=en&sa=X&redir_esc=y#v=onepage&q=arc%20path%20to%20nt%20path&f=false
|
||||||
*
|
*
|
||||||
* Stuff to read: http://www.adminxp.com/windows2000/index.php?aid=46 and http://www.trcb.com/Computers-and-Technology/Windows-XP/Windows-XP-ARC-Naming-Conventions-1432.htm
|
* Stuff to read: http://www.adminxp.com/windows2000/index.php?aid=46 and https://web.archive.org/web/20170923151458/http://www.trcb.com/Computers-and-Technology/Windows-XP/Windows-XP-ARC-Naming-Conventions-1432.htm
|
||||||
* concerning which values of disk() or rdisk() are valid when either scsi() or multi() adapters are specified.
|
* concerning which values of disk() or rdisk() are valid when either scsi() or multi() adapters are specified.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,8 @@ typedef enum _BOOT_STORE_TYPE
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Some references about EFI boot entries:
|
* Some references about EFI boot entries:
|
||||||
* https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/overview-of-boot-options-in-efi
|
* https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/overview-of-boot-options-in-efi
|
||||||
* https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/identifying-backup-files-for-existing-boot-entries
|
* https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/identifying-backup-files-for-existing-boot-entries
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* - the kernelDisk.c module of the Visopsys Operating System (see license below),
|
* - the kernelDisk.c module of the Visopsys Operating System (see license below),
|
||||||
* - Paragon Hard-Disk Manager,
|
* - Paragon Hard-Disk Manager,
|
||||||
* - Haiku OS (Copyright 2003-2011, Haiku, Inc., under the terms of the MIT License)
|
* - Haiku OS (Copyright 2003-2011, Haiku, Inc., under the terms of the MIT License)
|
||||||
* https://git.haiku-os.org/haiku/tree/src/add-ons/kernel/partitioning_systems/intel/PartitionMap.cpp#n52
|
* https://git.haiku-os.org/haiku/tree/src/add-ons/kernel/partitioning_systems/intel/PartitionMap.cpp#n52 (DEAD_LINK)
|
||||||
* - and the following websites:
|
* - and the following websites:
|
||||||
* http://www.win.tue.nl/~aeb/partitions/partition_types-1.html
|
* http://www.win.tue.nl/~aeb/partitions/partition_types-1.html
|
||||||
* https://en.wikipedia.org/wiki/Partition_type#List_of_partition_IDs
|
* https://en.wikipedia.org/wiki/Partition_type#List_of_partition_IDs
|
||||||
|
|
|
@ -103,8 +103,8 @@
|
||||||
#include "precomp.h"
|
#include "precomp.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* See https://technet.microsoft.com/en-us/library/cc978715.aspx
|
* See https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc978715(v=technet.10)
|
||||||
* and https://technet.microsoft.com/en-us/library/cc940805.aspx
|
* and https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc940805(v=technet.10)
|
||||||
* to know the differences between those two settings.
|
* to know the differences between those two settings.
|
||||||
* Values 0x00, 0x0D (carriage return) and >= 0x20 (space) disable completion.
|
* Values 0x00, 0x0D (carriage return) and >= 0x20 (space) disable completion.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -72,7 +72,7 @@ CleanupUxTheme(VOID)
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Taken from WinSpy++ 1.7
|
// Taken from WinSpy++ 1.7
|
||||||
// http://www.catch22.net/software/winspy
|
// https://www.catch22.net/projects/winspy/
|
||||||
// Copyright (c) 2002 by J Brown
|
// Copyright (c) 2002 by J Brown
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -135,7 +135,7 @@ typedef struct _GINAINSTANCE
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The picture Microsoft is trying to paint here
|
* The picture Microsoft is trying to paint here
|
||||||
* (http://msdn.microsoft.com/en-us/library/windows/desktop/aa380547%28v=vs.85%29.aspx)
|
* (https://learn.microsoft.com/en-us/windows/win32/secauthn/winlogon-states)
|
||||||
* about the Winlogon states is a little too simple.
|
* about the Winlogon states is a little too simple.
|
||||||
*
|
*
|
||||||
* The real picture should look more like this:
|
* The real picture should look more like this:
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
/* ENUMERATIONS **************************************************************/
|
/* ENUMERATIONS **************************************************************/
|
||||||
|
|
||||||
/* See https://msdn.microsoft.com/en-us/library/windows/desktop/aa964229(v=vs.85).aspx */
|
/* See https://learn.microsoft.com/en-us/previous-versions/windows/desktop/bcd/bcdelementtype */
|
||||||
|
|
||||||
#define BCD_CLASS_LIBRARY 0x01
|
#define BCD_CLASS_LIBRARY 0x01
|
||||||
#define BCD_CLASS_APPLICATION 0x02
|
#define BCD_CLASS_APPLICATION 0x02
|
||||||
|
|
|
@ -274,7 +274,7 @@ DetectPnpBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber)
|
||||||
|
|
||||||
NodeCount &= 0xFF; // needed since some fscked up BIOSes return
|
NodeCount &= 0xFF; // needed since some fscked up BIOSes return
|
||||||
// wrong info (e.g. Mac Virtual PC)
|
// wrong info (e.g. Mac Virtual PC)
|
||||||
// e.g. look: http://my.execpc.com/~geezer/osd/pnp/pnp16.c
|
// e.g. look: https://web.archive.org/web/20080329010332/http://my.execpc.com/~geezer/osd/pnp/pnp16.c
|
||||||
if (x != 0 || NodeSize == 0 || NodeCount == 0)
|
if (x != 0 || NodeSize == 0 || NodeCount == 0)
|
||||||
{
|
{
|
||||||
ERR("PnP-BIOS failed to enumerate device nodes\n");
|
ERR("PnP-BIOS failed to enumerate device nodes\n");
|
||||||
|
@ -706,7 +706,7 @@ PcGetSerialPort(ULONG Index, PULONG Irq)
|
||||||
/*
|
/*
|
||||||
* The BIOS data area 0x400 holds the address of the first valid COM port.
|
* The BIOS data area 0x400 holds the address of the first valid COM port.
|
||||||
* Each COM port address is stored in a 2-byte field.
|
* Each COM port address is stored in a 2-byte field.
|
||||||
* Infos at: http://www.bioscentral.com/misc/bda.htm
|
* Infos at: https://web.archive.org/web/20240119203029/http://www.bioscentral.com/misc/bda.htm
|
||||||
*/
|
*/
|
||||||
BasePtr = (PUSHORT)0x400;
|
BasePtr = (PUSHORT)0x400;
|
||||||
*Irq = PcIrq[Index];
|
*Irq = PcIrq[Index];
|
||||||
|
@ -884,7 +884,7 @@ DetectParallelPorts(PCONFIGURATION_COMPONENT_DATA BusKey)
|
||||||
/*
|
/*
|
||||||
* The BIOS data area 0x408 holds the address of the first valid LPT port.
|
* The BIOS data area 0x408 holds the address of the first valid LPT port.
|
||||||
* Each LPT port address is stored in a 2-byte field.
|
* Each LPT port address is stored in a 2-byte field.
|
||||||
* Infos at: http://www.bioscentral.com/misc/bda.htm
|
* Infos at: https://web.archive.org/web/20240119203029/http://www.bioscentral.com/misc/bda.htm
|
||||||
*/
|
*/
|
||||||
BasePtr = (PUSHORT)0x408;
|
BasePtr = (PUSHORT)0x408;
|
||||||
|
|
||||||
|
|
|
@ -1085,7 +1085,7 @@ DetectPnpBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber)
|
||||||
|
|
||||||
NodeCount &= 0xFF; // needed since some fscked up BIOSes return
|
NodeCount &= 0xFF; // needed since some fscked up BIOSes return
|
||||||
// wrong info (e.g. Mac Virtual PC)
|
// wrong info (e.g. Mac Virtual PC)
|
||||||
// e.g. look: http://my.execpc.com/~geezer/osd/pnp/pnp16.c
|
// e.g. look: https://web.archive.org/web/20080329010332/http://my.execpc.com/~geezer/osd/pnp/pnp16.c
|
||||||
if (x != 0 || NodeSize == 0 || NodeCount == 0)
|
if (x != 0 || NodeSize == 0 || NodeCount == 0)
|
||||||
{
|
{
|
||||||
ERR("PnP-BIOS failed to enumerate device nodes\n");
|
ERR("PnP-BIOS failed to enumerate device nodes\n");
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* (creating a native EFI loader for Windows).
|
* (creating a native EFI loader for Windows).
|
||||||
*
|
*
|
||||||
* This article was very handy during development:
|
* This article was very handy during development:
|
||||||
* http://msdn.microsoft.com/msdnmag/issues/02/03/PE2/
|
* https://web.archive.org/web/20131202091645/http://msdn.microsoft.com/en-us/magazine/cc301808.aspx
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* (creating a native EFI loader for Windows).
|
* (creating a native EFI loader for Windows).
|
||||||
*
|
*
|
||||||
* This article was very handy during development:
|
* This article was very handy during development:
|
||||||
* http://msdn.microsoft.com/msdnmag/issues/02/03/PE2/
|
* https://web.archive.org/web/20131202091645/http://msdn.microsoft.com/en-us/magazine/cc301808.aspx
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
|
@ -311,7 +311,7 @@ BOOL WINAPI SdbGetFileAttributes(LPCWSTR path, PATTRINFO *attr_info_ret, LPDWORD
|
||||||
SdbpSetStringAttr(&attr_info[10], TAG_INTERNAL_NAME, SdbpGetStringAttr(translation, str_InternalName, file_info));
|
SdbpSetStringAttr(&attr_info[10], TAG_INTERNAL_NAME, SdbpGetStringAttr(translation, str_InternalName, file_info));
|
||||||
SdbpSetStringAttr(&attr_info[11], TAG_LEGAL_COPYRIGHT, SdbpGetStringAttr(translation, str_LegalCopyright, file_info));
|
SdbpSetStringAttr(&attr_info[11], TAG_LEGAL_COPYRIGHT, SdbpGetStringAttr(translation, str_LegalCopyright, file_info));
|
||||||
|
|
||||||
/* http://msdn.microsoft.com/en-us/library/windows/desktop/ms680339(v=vs.85).aspx */
|
/* https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-image_optional_header32 */
|
||||||
|
|
||||||
SdbpSetDWORDAttr(&attr_info[17], TAG_PE_CHECKSUM, headers->OptionalHeader.CheckSum);
|
SdbpSetDWORDAttr(&attr_info[17], TAG_PE_CHECKSUM, headers->OptionalHeader.CheckSum);
|
||||||
|
|
||||||
|
|
|
@ -225,7 +225,7 @@ FontSizeList_GetSelectedFontSize(
|
||||||
/*
|
/*
|
||||||
* The user just selected an existing size, read the ComboBox selection.
|
* The user just selected an existing size, read the ComboBox selection.
|
||||||
*
|
*
|
||||||
* See: https://support.microsoft.com/en-us/help/66365/how-to-process-a-cbn-selchange-notification-message
|
* See: https://support.microsoft.com/en-us/help/66365/how-to-process-a-cbn-selchange-notification-message (DEAD_LINK)
|
||||||
* for more details.
|
* for more details.
|
||||||
*/
|
*/
|
||||||
INT Length;
|
INT Length;
|
||||||
|
|
|
@ -140,7 +140,7 @@ LoadCurrentScheme(OUT COLOR_SCHEME *scheme)
|
||||||
#if (WINVER >= 0x0600)
|
#if (WINVER >= 0x0600)
|
||||||
/* Size of NONCLIENTMETRICSA/W depends on current version of the OS.
|
/* Size of NONCLIENTMETRICSA/W depends on current version of the OS.
|
||||||
* see:
|
* see:
|
||||||
* https://msdn.microsoft.com/en-us/library/windows/desktop/ff729175%28v=vs.85%29.aspx
|
* https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-nonclientmetricsa
|
||||||
*/
|
*/
|
||||||
if (GetVersionEx(&osvi))
|
if (GetVersionEx(&osvi))
|
||||||
{
|
{
|
||||||
|
|
|
@ -287,8 +287,7 @@ DirectDrawEnumerateExW(LPDDENUMCALLBACKEXW lpCallback,
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/
|
See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/Display_d/hh/Display_d/d3d_21ac30ea-9803-401e-b541-6b08af79653d.xml.asp (DEAD_LINK)
|
||||||
Display_d/hh/Display_d/d3d_21ac30ea-9803-401e-b541-6b08af79653d.xml.asp
|
|
||||||
|
|
||||||
for more info about this command see msdn documentation
|
for more info about this command see msdn documentation
|
||||||
|
|
||||||
|
|
|
@ -1036,7 +1036,7 @@ static enum content get_content_type(LPCOLESTR name, CLSID *control_id)
|
||||||
* AtlAxCreateControlLicEx [atl100.@]
|
* AtlAxCreateControlLicEx [atl100.@]
|
||||||
*
|
*
|
||||||
* REMARKS
|
* REMARKS
|
||||||
* See http://www.codeproject.com/com/cwebpage.asp for some background
|
* See https://www.codeproject.com/KB/com/cwebpage.aspx for some background
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI AtlAxCreateControlLicEx(LPCOLESTR lpszName, HWND hWnd,
|
HRESULT WINAPI AtlAxCreateControlLicEx(LPCOLESTR lpszName, HWND hWnd,
|
||||||
|
|
|
@ -86,7 +86,7 @@ static BOOL DoesMatch(const CStringW& strTarget, const CStringW& strText)
|
||||||
}
|
}
|
||||||
|
|
||||||
// mouse hook procedure to watch the mouse click
|
// mouse hook procedure to watch the mouse click
|
||||||
// https://docs.microsoft.com/en-us/previous-versions/windows/desktop/legacy/ms644988(v=vs.85)
|
// https://learn.microsoft.com/en-us/previous-versions/windows/desktop/legacy/ms644988(v=vs.85)
|
||||||
static LRESULT CALLBACK MouseProc(INT nCode, WPARAM wParam, LPARAM lParam)
|
static LRESULT CALLBACK MouseProc(INT nCode, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
if (s_hMouseHook == NULL)
|
if (s_hMouseHook == NULL)
|
||||||
|
@ -121,7 +121,7 @@ static LRESULT CALLBACK MouseProc(INT nCode, WPARAM wParam, LPARAM lParam)
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
// sorting algorithm
|
// sorting algorithm
|
||||||
// http://www.ics.kagoshima-u.ac.jp/~fuchida/edu/algorithm/sort-algorithm/
|
// https://web.archive.org/web/20210228194050/http://www.ics.kagoshima-u.ac.jp/~fuchida/edu/algorithm/sort-algorithm/
|
||||||
|
|
||||||
typedef CSimpleArray<CStringW> list_t;
|
typedef CSimpleArray<CStringW> list_t;
|
||||||
|
|
||||||
|
@ -261,7 +261,7 @@ static inline BOOL IsWordBreak(WCHAR ch)
|
||||||
}
|
}
|
||||||
|
|
||||||
// This function is an application-defined callback function.
|
// This function is an application-defined callback function.
|
||||||
// https://docs.microsoft.com/en-us/windows/win32/api/winuser/nc-winuser-editwordbreakprocw
|
// https://learn.microsoft.com/en-us/windows/win32/api/winuser/nc-winuser-editwordbreakprocw
|
||||||
static INT CALLBACK
|
static INT CALLBACK
|
||||||
EditWordBreakProcW(LPWSTR lpch, INT index, INT count, INT code)
|
EditWordBreakProcW(LPWSTR lpch, INT index, INT count, INT code)
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
* NOTES:
|
* NOTES:
|
||||||
* Some helpful resources:
|
* Some helpful resources:
|
||||||
* http://support.microsoft.com/default.aspx?scid=kb;%5BLN%5D;815320
|
* http://support.microsoft.com/default.aspx?scid=kb;%5BLN%5D;815320
|
||||||
* http://www.jsiinc.com/SUBO/tip7400/rh7482.htm
|
* https://web.archive.org/web/20050321020634/http://www.jsifaq.com/SUBO/tip7400/rh7482.htm
|
||||||
* http://www.jsiinc.com/SUBM/tip6400/rh6490.htm
|
* http://www.jsiinc.com/SUBM/tip6400/rh6490.htm
|
||||||
*
|
*
|
||||||
* UPDATE HISTORY:
|
* UPDATE HISTORY:
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
* NOTES: If you implement a function, remove it from this file
|
* NOTES: If you implement a function, remove it from this file
|
||||||
*
|
*
|
||||||
* Some helpful resources:
|
* Some helpful resources:
|
||||||
* http://support.microsoft.com/default.aspx?scid=kb;%5BLN%5D;815320
|
* http://support.microsoft.com/default.aspx?scid=kb;%5BLN%5D;815320 (DEAD_LINK)
|
||||||
* http://www.jsiinc.com/SUBO/tip7400/rh7482.htm
|
* https://web.archive.org/web/20050321020634/http://www.jsifaq.com/SUBO/tip7400/rh7482.htm
|
||||||
* http://www.jsiinc.com/SUBM/tip6400/rh6490.htm
|
* https://web.archive.org/web/20050909185602/http://www.jsifaq.com/SUBM/tip6400/rh6490.htm
|
||||||
*
|
*
|
||||||
* UPDATE HISTORY:
|
* UPDATE HISTORY:
|
||||||
* 04-04-2004 Created
|
* 04-04-2004 Created
|
||||||
|
|
|
@ -554,7 +554,7 @@ GetConsoleDisplayMode(LPDWORD lpModeFlags)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented (Undocumented)
|
* @implemented (Undocumented)
|
||||||
* @note See http://cboard.cprogramming.com/windows-programming/102187-console-font-size.html
|
* @note See https://cboard.cprogramming.com/windows-programming/102187-console-font-size.html
|
||||||
*/
|
*/
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
WINAPI
|
||||||
|
@ -721,7 +721,7 @@ GetCurrentConsoleFont(IN HANDLE hConsoleOutput,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented (Undocumented)
|
* @implemented (Undocumented)
|
||||||
* @note See http://cboard.cprogramming.com/windows-programming/102187-console-font-size.html
|
* @note See https://cboard.cprogramming.com/windows-programming/102187-console-font-size.html
|
||||||
*/
|
*/
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
WINAPI
|
||||||
|
@ -907,7 +907,7 @@ SetConsoleDisplayMode(HANDLE hConsoleOutput,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented (Undocumented)
|
* @implemented (Undocumented)
|
||||||
* @note See http://cboard.cprogramming.com/windows-programming/102187-console-font-size.html
|
* @note See https://cboard.cprogramming.com/windows-programming/102187-console-font-size.html
|
||||||
*/
|
*/
|
||||||
BOOL
|
BOOL
|
||||||
WINAPI
|
WINAPI
|
||||||
|
@ -1032,7 +1032,7 @@ SetConsoleMenuClose(BOOL bEnable)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented (Undocumented)
|
* @implemented (Undocumented)
|
||||||
* @note See http://comments.gmane.org/gmane.comp.lang.harbour.devel/27844
|
* @note See http://comments.gmane.org/gmane.comp.lang.harbour.devel/27844 (DEAD_LINK)
|
||||||
* Usage example: https://github.com/harbour/core/commit/d79a1b7b812cbde6ddf718ebfd6939a24f633e52
|
* Usage example: https://github.com/harbour/core/commit/d79a1b7b812cbde6ddf718ebfd6939a24f633e52
|
||||||
*/
|
*/
|
||||||
BOOL
|
BOOL
|
||||||
|
|
|
@ -489,8 +489,8 @@ UnhandledExceptionFilter(IN PEXCEPTION_POINTERS ExceptionInfo)
|
||||||
//
|
//
|
||||||
// Since Windows XP/2003, we have the ReportFault API available.
|
// Since Windows XP/2003, we have the ReportFault API available.
|
||||||
// See http://www.clausbrod.de/twiki/pub/Blog/DefinePrivatePublic20070616/reportfault.cpp
|
// See http://www.clausbrod.de/twiki/pub/Blog/DefinePrivatePublic20070616/reportfault.cpp
|
||||||
// and https://msdn.microsoft.com/en-us/library/windows/desktop/bb513616(v=vs.85).aspx
|
// and https://learn.microsoft.com/en-us/windows/win32/wer/using-wer
|
||||||
// and the legacy ReportFault API: https://msdn.microsoft.com/en-us/library/windows/desktop/bb513615(v=vs.85).aspx
|
// and the legacy ReportFault API: https://learn.microsoft.com/en-us/windows/win32/api/errorrep/nf-errorrep-reportfault
|
||||||
//
|
//
|
||||||
// NOTE: Starting Vista+, the fault API is constituted of the WerXXX functions.
|
// NOTE: Starting Vista+, the fault API is constituted of the WerXXX functions.
|
||||||
//
|
//
|
||||||
|
@ -541,7 +541,7 @@ UnhandledExceptionFilter(IN PEXCEPTION_POINTERS ExceptionInfo)
|
||||||
* so that we can give it control over the process being debugged,
|
* so that we can give it control over the process being debugged,
|
||||||
* by passing it the exception.
|
* by passing it the exception.
|
||||||
*
|
*
|
||||||
* See https://msdn.microsoft.com/en-us/library/ms809754.aspx
|
* See https://learn.microsoft.com/en-us/previous-versions/ms809754(v=msdn.10)
|
||||||
* and http://www.debuginfo.com/articles/ntsdwatson.html
|
* and http://www.debuginfo.com/articles/ntsdwatson.html
|
||||||
* and https://sourceware.org/ml/gdb-patches/2012-08/msg00893.html
|
* and https://sourceware.org/ml/gdb-patches/2012-08/msg00893.html
|
||||||
* for more details.
|
* for more details.
|
||||||
|
|
|
@ -102,7 +102,7 @@ CopyLoop (
|
||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
/* With sync read, 0 length + status success mean EOF:
|
/* With sync read, 0 length + status success mean EOF:
|
||||||
* https://msdn.microsoft.com/en-us/library/windows/desktop/aa365467(v=vs.85).aspx
|
* https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-readfile
|
||||||
*/
|
*/
|
||||||
if (NT_SUCCESS(errCode) && IoStatusBlock.Information == 0)
|
if (NT_SUCCESS(errCode) && IoStatusBlock.Information == 0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -104,7 +104,7 @@ GetTempFileNameW(IN LPCWSTR lpPathName,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* lpTempFileName must be able to contain: PathName, Prefix (3), number(4), .tmp(4) & \0(1)
|
/* lpTempFileName must be able to contain: PathName, Prefix (3), number(4), .tmp(4) & \0(1)
|
||||||
* See: http://msdn.microsoft.com/en-us/library/aa364991%28v=vs.85%29.aspx
|
* See: https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-gettempfilenamea
|
||||||
*/
|
*/
|
||||||
if (PathNameString.Length > (MAX_PATH - 3 - 4 - 4 - 1) * sizeof(WCHAR))
|
if (PathNameString.Length > (MAX_PATH - 3 - 4 - 4 - 1) * sizeof(WCHAR))
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
//
|
//
|
||||||
// Apart from MSDN, a wonderful source of information about how this works is
|
// Apart from MSDN, a wonderful source of information about how this works is
|
||||||
// available on Raymond's blog, in a 4-parter series starting at:
|
// available on Raymond's blog, in a 4-parter series starting at:
|
||||||
// http://blogs.msdn.com/oldnewthing/archive/2004/11/04/252258.aspx.
|
// https://devblogs.microsoft.com/oldnewthing/20041104-00/?p=37393 .
|
||||||
//
|
//
|
||||||
// Finally, as Raymond points out, be aware that some applications depend on
|
// Finally, as Raymond points out, be aware that some applications depend on
|
||||||
// the way this implementation was done, since global memory handles are a
|
// the way this implementation was done, since global memory handles are a
|
||||||
|
|
|
@ -591,12 +591,12 @@ OpenFileById(IN HANDLE hFile,
|
||||||
Vista+ MUI support functions
|
Vista+ MUI support functions
|
||||||
|
|
||||||
References:
|
References:
|
||||||
Evolution of MUI Support across Windows Versions: http://msdn.microsoft.com/en-US/library/ee264317.aspx
|
Evolution of MUI Support across Windows Versions: https://learn.microsoft.com/en-us/windows/win32/intl/evolution-of-mui-support-across-windows-versions
|
||||||
Comparing Windows XP Professional Multilingual Options: http://technet.microsoft.com/en-us/library/bb457045.aspx
|
Comparing Windows XP Professional Multilingual Options: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb457045(v=technet.10)?redirectedfrom=MSDN
|
||||||
|
|
||||||
More info:
|
More info:
|
||||||
http://msdn.microsoft.com/en-us/goglobal/bb978454.aspx
|
https://web.archive.org/web/20170930153551/http://msdn.microsoft.com/en-us/goglobal/bb978454.aspx
|
||||||
http://msdn.microsoft.com/en-us/library/dd319074.aspx
|
https://learn.microsoft.com/en-us/windows/win32/intl/multilingual-user-interface-functions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
|
@ -105,7 +105,7 @@ BOOL JapaneseEra_IsFirstYearGannen(void)
|
||||||
/*
|
/*
|
||||||
* SEE ALSO:
|
* SEE ALSO:
|
||||||
* https://en.wikipedia.org/wiki/Japanese_era_name
|
* https://en.wikipedia.org/wiki/Japanese_era_name
|
||||||
* https://docs.microsoft.com/en-us/windows/desktop/Intl/era-handling-for-the-japanese-calendar
|
* https://learn.microsoft.com/en-us/windows/win32/intl/era-handling-for-the-japanese-calendar
|
||||||
*/
|
*/
|
||||||
static PCJAPANESE_ERA JapaneseEra_Load(DWORD *pdwCount)
|
static PCJAPANESE_ERA JapaneseEra_Load(DWORD *pdwCount)
|
||||||
{
|
{
|
||||||
|
|
|
@ -839,7 +839,7 @@ DWORD WINAPI RetreiveFileSecurity(LPCWSTR lpFileName,
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* See: https://msdn.microsoft.com/en-us/library/bb432397(v=vs.85).aspx
|
* See: https://learn.microsoft.com/en-us/windows/win32/devnotes/psetupsetglobalflags
|
||||||
* for more information.
|
* for more information.
|
||||||
*/
|
*/
|
||||||
DWORD GlobalSetupFlags = 0;
|
DWORD GlobalSetupFlags = 0;
|
||||||
|
|
|
@ -249,7 +249,7 @@ extern HINSTANCE hInstance;
|
||||||
extern OSVERSIONINFOEXW OsVersionInfo;
|
extern OSVERSIONINFOEXW OsVersionInfo;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* See: https://msdn.microsoft.com/en-us/library/bb432397(v=vs.85).aspx
|
* See: https://learn.microsoft.com/en-us/windows/win32/devnotes/psetupsetglobalflags
|
||||||
* for more information.
|
* for more information.
|
||||||
*/
|
*/
|
||||||
extern DWORD GlobalSetupFlags;
|
extern DWORD GlobalSetupFlags;
|
||||||
|
|
|
@ -40,13 +40,13 @@
|
||||||
* as well as its interface.
|
* as well as its interface.
|
||||||
*
|
*
|
||||||
* General introduction about "Shell Links" (MSDN):
|
* General introduction about "Shell Links" (MSDN):
|
||||||
* https://msdn.microsoft.com/en-us/library/windows/desktop/bb776891(v=vs.85).aspx
|
* https://learn.microsoft.com/en-us/windows/win32/shell/links
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* Details of the file format:
|
* Details of the file format:
|
||||||
*
|
*
|
||||||
* - Official MSDN documentation "[MS-SHLLINK]: Shell Link (.LNK) Binary File Format":
|
* - Official MSDN documentation "[MS-SHLLINK]: Shell Link (.LNK) Binary File Format":
|
||||||
* https://msdn.microsoft.com/en-us/library/dd871305.aspx
|
* https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-shllink/16cb4ca1-9339-4d0c-a68d-bf1d6cc0f943
|
||||||
*
|
*
|
||||||
* - Forensics:
|
* - Forensics:
|
||||||
* http://forensicswiki.org/wiki/LNK
|
* http://forensicswiki.org/wiki/LNK
|
||||||
|
@ -55,8 +55,8 @@
|
||||||
* https://github.com/libyal/liblnk/blob/master/documentation/Windows%20Shortcut%20File%20(LNK)%20format.asciidoc
|
* https://github.com/libyal/liblnk/blob/master/documentation/Windows%20Shortcut%20File%20(LNK)%20format.asciidoc
|
||||||
*
|
*
|
||||||
* - List of possible shell link header flags (SHELL_LINK_DATA_FLAGS enumeration):
|
* - List of possible shell link header flags (SHELL_LINK_DATA_FLAGS enumeration):
|
||||||
* https://msdn.microsoft.com/en-us/library/windows/desktop/bb762540(v=vs.85).aspx
|
* https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/ne-shlobj_core-shell_link_data_flags
|
||||||
* https://msdn.microsoft.com/en-us/library/dd891314.aspx
|
* https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-shllink/ae350202-3ba9-4790-9e9e-98935f4ee5af
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* In addition to storing its target by using a PIDL, a shell link file also
|
* In addition to storing its target by using a PIDL, a shell link file also
|
||||||
|
@ -66,12 +66,12 @@
|
||||||
*
|
*
|
||||||
* - The first and oldest one (from NewShell/WinNT4) is the "LinkInfo" structure,
|
* - The first and oldest one (from NewShell/WinNT4) is the "LinkInfo" structure,
|
||||||
* stored in a serialized manner at the beginning of the shell link file:
|
* stored in a serialized manner at the beginning of the shell link file:
|
||||||
* https://msdn.microsoft.com/en-us/library/dd871404.aspx
|
* https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-shllink/6813269d-0cc8-4be2-933f-e96e8e3412dc
|
||||||
* The official API for manipulating this is located in LINKINFO.DLL .
|
* The official API for manipulating this is located in LINKINFO.DLL .
|
||||||
*
|
*
|
||||||
* - The second, more recent one, is an extra binary block appended to the
|
* - The second, more recent one, is an extra binary block appended to the
|
||||||
* extra-data list of the shell link file: this is the "TrackerDataBlock":
|
* extra-data list of the shell link file: this is the "TrackerDataBlock":
|
||||||
* https://msdn.microsoft.com/en-us/library/dd891376.aspx
|
* https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-shllink/df8e3748-fba5-4524-968a-f72be06d71fc
|
||||||
* Its purpose is for link tracking, and works in coordination with the
|
* Its purpose is for link tracking, and works in coordination with the
|
||||||
* "Distributed Link Tracking" service ('TrkWks' client, 'TrkSvr' server).
|
* "Distributed Link Tracking" service ('TrkWks' client, 'TrkSvr' server).
|
||||||
* See a detailed explanation at:
|
* See a detailed explanation at:
|
||||||
|
@ -84,12 +84,12 @@
|
||||||
* The philosophy of this approach is explained in detail inside the MSDN article
|
* The philosophy of this approach is explained in detail inside the MSDN article
|
||||||
* "Application Resiliency: Unlock the Hidden Features of Windows Installer"
|
* "Application Resiliency: Unlock the Hidden Features of Windows Installer"
|
||||||
* (by Michael Sanford), here:
|
* (by Michael Sanford), here:
|
||||||
* https://msdn.microsoft.com/en-us/library/aa302344.aspx
|
* https://learn.microsoft.com/en-us/previous-versions/dotnet/articles/aa302344(v=msdn.10)
|
||||||
*
|
*
|
||||||
* This functionality is implemented by adding a binary "Darwin" data block
|
* This functionality is implemented by adding a binary "Darwin" data block
|
||||||
* of type "EXP_DARWIN_LINK", signature EXP_DARWIN_ID_SIG == 0xA0000006,
|
* of type "EXP_DARWIN_LINK", signature EXP_DARWIN_ID_SIG == 0xA0000006,
|
||||||
* to the shell link file:
|
* to the shell link file:
|
||||||
* https://msdn.microsoft.com/en-us/library/dd871369.aspx
|
* https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-shllink/48f8a4c4-99fe-4787-a39f-b1367103eba8
|
||||||
* or, this could be done more simply by specifying a special link target path
|
* or, this could be done more simply by specifying a special link target path
|
||||||
* with the IShellLink::SetPath() function. Defining the following GUID:
|
* with the IShellLink::SetPath() function. Defining the following GUID:
|
||||||
* SHELL32_AdvtShortcutComponent = "::{9db1186e-40df-11d1-aa8c-00c04fb67863}:"
|
* SHELL32_AdvtShortcutComponent = "::{9db1186e-40df-11d1-aa8c-00c04fb67863}:"
|
||||||
|
@ -104,12 +104,12 @@
|
||||||
* older technology introduced in Internet Explorer 3 (and now obsolete since
|
* older technology introduced in Internet Explorer 3 (and now obsolete since
|
||||||
* Internet Explorer 7), called "MS Internet Component Download (MSICD)", see
|
* Internet Explorer 7), called "MS Internet Component Download (MSICD)", see
|
||||||
* this MSDN introductory article:
|
* this MSDN introductory article:
|
||||||
* https://msdn.microsoft.com/en-us/library/aa741198(v=vs.85).aspx
|
* https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa741198(v=vs.85)
|
||||||
* and leveraged in Internet Explorer 4 with "Software Update Channels", see:
|
* and leveraged in Internet Explorer 4 with "Software Update Channels", see:
|
||||||
* https://msdn.microsoft.com/en-us/library/aa740931(v=vs.85).aspx
|
* https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa740931(v=vs.85)
|
||||||
* Applications supporting this technology could present shell links having
|
* Applications supporting this technology could present shell links having
|
||||||
* a special target, see subsection "Modifying the Shortcut" in the article:
|
* a special target, see subsection "Modifying the Shortcut" in the article:
|
||||||
* https://msdn.microsoft.com/en-us/library/aa741201(v=vs.85).aspx#pub_shor
|
* https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa741201(v=vs.85)#pub_shor
|
||||||
*
|
*
|
||||||
* Similarly as for the MSI shortcuts, these MSICD shortcuts are created by
|
* Similarly as for the MSI shortcuts, these MSICD shortcuts are created by
|
||||||
* specifying a special link target path with the IShellLink::SetPath() function,
|
* specifying a special link target path with the IShellLink::SetPath() function,
|
||||||
|
@ -129,7 +129,7 @@
|
||||||
* a different signature EXP_LOGO3_ID_SIG == 0xA0000007 . Such shell links are
|
* a different signature EXP_LOGO3_ID_SIG == 0xA0000007 . Such shell links are
|
||||||
* called "Logo3" shortcuts. They were evoked in this user comment in "The Old
|
* called "Logo3" shortcuts. They were evoked in this user comment in "The Old
|
||||||
* New Thing" blog:
|
* New Thing" blog:
|
||||||
* https://blogs.msdn.microsoft.com/oldnewthing/20121210-00/?p=5883#comment-1025083
|
* https://web.archive.org/web/20190110073640/https://blogs.msdn.microsoft.com/oldnewthing/20121210-00/?p=5883#comment-1025083
|
||||||
*
|
*
|
||||||
* The shell exports the API 'SoftwareUpdateMessageBox' (in shdocvw.dll) that
|
* The shell exports the API 'SoftwareUpdateMessageBox' (in shdocvw.dll) that
|
||||||
* displays a message when an update for an application supporting this
|
* displays a message when an update for an application supporting this
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#include "CDirectoryList.h"
|
#include "CDirectoryList.h"
|
||||||
|
|
||||||
// NOTE: Regard to asynchronous procedure call (APC), please see:
|
// NOTE: Regard to asynchronous procedure call (APC), please see:
|
||||||
// https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-sleepex
|
// https://learn.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-sleepex
|
||||||
|
|
||||||
class CDirectoryWatcher
|
class CDirectoryWatcher
|
||||||
{
|
{
|
||||||
|
|
|
@ -52,13 +52,13 @@ class CMergedFolder :
|
||||||
public IPersistFolder2,
|
public IPersistFolder2,
|
||||||
public IItemNameLimits,
|
public IItemNameLimits,
|
||||||
public IAugmentedShellFolder3 // -- undocumented
|
public IAugmentedShellFolder3 // -- undocumented
|
||||||
//public IShellService, // DEPRECATED IE4 interface: https://msdn.microsoft.com/en-us/library/windows/desktop/bb774870%28v=vs.85%29.aspx
|
//public IShellService, // DEPRECATED IE4 interface: https://learn.microsoft.com/en-us/windows/win32/api/shdeprecated/nn-shdeprecated-ishellservice
|
||||||
//public ITranslateShellChangeNotify,// -- undocumented
|
//public ITranslateShellChangeNotify,// -- undocumented
|
||||||
//public IStorage,
|
//public IStorage,
|
||||||
//public IPersistPropertyBag,
|
//public IPersistPropertyBag,
|
||||||
//public IShellIconOverlay, // -- undocumented
|
//public IShellIconOverlay, // -- undocumented
|
||||||
//public ICompositeFolder, // -- undocumented
|
//public ICompositeFolder, // -- undocumented
|
||||||
//public IItemNameLimits, // https://msdn.microsoft.com/en-us/library/windows/desktop/bb761776%28v=vs.85%29.aspx
|
//public IItemNameLimits, // https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/nn-shobjidl_core-iitemnamelimits
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
CComPtr<IShellFolder> m_UserLocal;
|
CComPtr<IShellFolder> m_UserLocal;
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
* NOTE: Up to date as of SHELL32 v6.00 (Win2k3).
|
* NOTE: Up to date as of SHELL32 v6.00 (Win2k3).
|
||||||
* References:
|
* References:
|
||||||
* https://www.geoffchappell.com/studies/windows/shell/shell32/api/util/restrictions.htm
|
* https://www.geoffchappell.com/studies/windows/shell/shell32/api/util/restrictions.htm
|
||||||
* https://docs.microsoft.com/en-us/windows/win32/api/shlobj_core/ne-shlobj_core-restrictions
|
* https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/ne-shlobj_core-restrictions
|
||||||
* https://abi-laboratory.pro/compatibility/Windows_5.0_to_Windows_6.0/x86_64/headers_diff/shell32.dll/diff.html
|
* https://abi-laboratory.pro/compatibility/Windows_5.0_to_Windows_6.0/x86_64/headers_diff/shell32.dll/diff.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1910,7 +1910,7 @@ HRESULT WINAPI SetAppStartingCursor(HWND u, DWORD v)
|
||||||
* The SHLoadOLE was called when OLE32.DLL was being loaded to transfer all the
|
* The SHLoadOLE was called when OLE32.DLL was being loaded to transfer all the
|
||||||
* information from the shell32 "mini-COM" to ole32.dll.
|
* information from the shell32 "mini-COM" to ole32.dll.
|
||||||
*
|
*
|
||||||
* See http://blogs.msdn.com/oldnewthing/archive/2004/07/05/173226.aspx for a
|
* See https://devblogs.microsoft.com/oldnewthing/20040705-00/?p=38573 for a
|
||||||
* detailed description.
|
* detailed description.
|
||||||
*
|
*
|
||||||
* Under wine ole32.dll is always loaded as it is imported by shlwapi.dll which is
|
* Under wine ole32.dll is always loaded as it is imported by shlwapi.dll which is
|
||||||
|
|
|
@ -29,7 +29,7 @@ WINSTAAPI WinStationQueryInformationA(HANDLE hServer,
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
http://msdn2.microsoft.com/En-US/library/aa383827.aspx
|
https://learn.microsoft.com/en-us/previous-versions//aa383827(v=vs.85)
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
WINSTAAPI
|
WINSTAAPI
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
//
|
//
|
||||||
// The character generator is in natural order, top of char is first element.
|
// The character generator is in natural order, top of char is first element.
|
||||||
// The used font is 8x13 from plan 9, copyright Markus Kuhn.
|
// The used font is 8x13 from plan 9, copyright Markus Kuhn.
|
||||||
// Available from http://mirtchovski.com/p9/fonts/
|
// Available from https://web.archive.org/web/20210510052051/http://mirtchovski.com/p9/fonts/
|
||||||
// FontData Array generated by bootvid_font_generator.
|
// FontData Array generated by bootvid_font_generator.
|
||||||
//
|
//
|
||||||
UCHAR VidpFontData[256 * BOOTCHAR_HEIGHT] =
|
UCHAR VidpFontData[256 * BOOTCHAR_HEIGHT] =
|
||||||
|
|
|
@ -22,7 +22,7 @@ ULONG RemotePacketId = INITIAL_PACKET_ID;
|
||||||
* \param Buffer Pointer to the packet data.
|
* \param Buffer Pointer to the packet data.
|
||||||
* \param Length Length of data in bytes.
|
* \param Length Length of data in bytes.
|
||||||
* \return The calculated checksum.
|
* \return The calculated checksum.
|
||||||
* \sa http://www.vista-xp.co.uk/forums/technical-reference-library/2540-basics-debugging.html
|
* \sa http://www.vista-xp.co.uk/forums/technical-reference-library/2540-basics-debugging.html (DEAD_LINK)
|
||||||
*/
|
*/
|
||||||
ULONG
|
ULONG
|
||||||
NTAPI
|
NTAPI
|
||||||
|
|
|
@ -85,7 +85,7 @@ KsecReadMachineSpecificCounters(
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \see http://blogs.msdn.com/b/michael_howard/archive/2005/01/14/353379.aspx
|
* \see http://blogs.msdn.com/b/michael_howard/archive/2005/01/14/353379.aspx (DEAD_LINK)
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
|
|
|
@ -111,7 +111,7 @@
|
||||||
# define PREFETCH_L2(ptr) (void)(ptr) /* disabled */
|
# define PREFETCH_L2(ptr) (void)(ptr) /* disabled */
|
||||||
#else
|
#else
|
||||||
# if defined(_MSC_VER) && (defined(_M_X64) || defined(_M_I86)) /* _mm_prefetch() is not defined outside of x86/x64 */
|
# if defined(_MSC_VER) && (defined(_M_X64) || defined(_M_I86)) /* _mm_prefetch() is not defined outside of x86/x64 */
|
||||||
# include <mmintrin.h> /* https://msdn.microsoft.com/fr-fr/library/84szxsww(v=vs.90).aspx */
|
# include <mmintrin.h> /* https://learn.microsoft.com/fr-fr/previous-versions/visualstudio/visual-studio-2008/84szxsww(v=vs.90) */
|
||||||
# define PREFETCH_L1(ptr) _mm_prefetch((const char*)(ptr), _MM_HINT_T0)
|
# define PREFETCH_L1(ptr) _mm_prefetch((const char*)(ptr), _MM_HINT_T0)
|
||||||
# define PREFETCH_L2(ptr) _mm_prefetch((const char*)(ptr), _MM_HINT_T1)
|
# define PREFETCH_L2(ptr) _mm_prefetch((const char*)(ptr), _MM_HINT_T1)
|
||||||
# elif defined(__aarch64__)
|
# elif defined(__aarch64__)
|
||||||
|
|
|
@ -24,7 +24,7 @@ spinlock_t nls_lock;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sample implementation from Unicode home page.
|
* Sample implementation from Unicode home page.
|
||||||
* http://www.stonehand.com/unicode/standard/fss-utf.html
|
* http://www.stonehand.com/unicode/standard/fss-utf.html (DEAD_LINK)
|
||||||
*/
|
*/
|
||||||
struct utf8_table {
|
struct utf8_table {
|
||||||
int cmask;
|
int cmask;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* Charset cp932 translation tables.
|
* Charset cp932 translation tables.
|
||||||
* This translation table was generated automatically, the
|
* This translation table was generated automatically, the
|
||||||
* original table can be download from the Microsoft website.
|
* original table can be download from the Microsoft website.
|
||||||
* (http://www.microsoft.com/typography/unicode/unicodecp.htm)
|
* (https://learn.microsoft.com/en-us/typography/)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* Charset cp936 translation tables.
|
* Charset cp936 translation tables.
|
||||||
* This translation table was generated automatically, the
|
* This translation table was generated automatically, the
|
||||||
* original table can be download from the Microsoft website.
|
* original table can be download from the Microsoft website.
|
||||||
* (http://www.microsoft.com/typography/unicode/unicodecp.htm)
|
* (https://learn.microsoft.com/en-us/typography/)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* Charset cp949 translation tables.
|
* Charset cp949 translation tables.
|
||||||
* This translation table was generated automatically, the
|
* This translation table was generated automatically, the
|
||||||
* original table can be download from the Microsoft website.
|
* original table can be download from the Microsoft website.
|
||||||
* (http://www.microsoft.com/typography/unicode/unicodecp.htm)
|
* (https://learn.microsoft.com/en-us/typography/)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* Charset cp950 translation tables.
|
* Charset cp950 translation tables.
|
||||||
* This translation table was generated automatically, the
|
* This translation table was generated automatically, the
|
||||||
* original table can be download from the Microsoft website.
|
* original table can be download from the Microsoft website.
|
||||||
* (http://www.microsoft.com/typography/unicode/unicodecp.htm)
|
* (https://learn.microsoft.com/en-us/typography/)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* Added `OSF/JVC Recommended Code Set Conversion Specification
|
* Added `OSF/JVC Recommended Code Set Conversion Specification
|
||||||
* between Japanese EUC and Shift-JIS' support: <hirofumi@mail.parknet.co.jp>
|
* between Japanese EUC and Shift-JIS' support: <hirofumi@mail.parknet.co.jp>
|
||||||
* (http://www.opengroup.or.jp/jvc/cde/sjis-euc-e.html)
|
* (https://web.archive.org/web/20060514215542/http://www.opengroup.or.jp/jvc/cde/sjis-euc-e.html)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
|
|
|
@ -5639,8 +5639,8 @@ NTSTATUS check_nfs41_setattr_args(
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* http://msdn.microsoft.com/en-us/library/ff469355(v=PROT.10).aspx
|
/* https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fsa/3820daf2-e512-4730-8cce-2d0435ae6ad2
|
||||||
* http://msdn.microsoft.com/en-us/library/ff469424(v=PROT.10).aspx
|
* https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fsa/5555bcb6-bc29-4f8a-900c-e469b792faab
|
||||||
* If Open.GrantedAccess does not contain FILE_WRITE_DATA, the operation
|
* If Open.GrantedAccess does not contain FILE_WRITE_DATA, the operation
|
||||||
* MUST be failed with STATUS_ACCESS_DENIED.
|
* MUST be failed with STATUS_ACCESS_DENIED.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -70,7 +70,7 @@ Links:
|
||||||
|
|
||||||
Here's a link describing most of the registry settings:
|
Here's a link describing most of the registry settings:
|
||||||
|
|
||||||
http://www.microsoft.com/resources/documentation/Windows/2000/server/reskit/en-us/Default.asp?url=/resources/documentation/Windows/2000/server/reskit/en-us/regentry/31493.asp
|
http://www.microsoft.com/resources/documentation/Windows/2000/server/reskit/en-us/Default.asp?url=/resources/documentation/Windows/2000/server/reskit/en-us/regentry/31493.asp (DEAD_LINK)
|
||||||
|
|
||||||
PS/2 protocol documentation:
|
PS/2 protocol documentation:
|
||||||
|
|
||||||
|
|
|
@ -202,7 +202,7 @@ i8042PowerWorkItem(
|
||||||
__analysis_assume(Context != NULL);
|
__analysis_assume(Context != NULL);
|
||||||
DeviceExtension = Context;
|
DeviceExtension = Context;
|
||||||
|
|
||||||
/* See http://blogs.msdn.com/doronh/archive/2006/09/08/746961.aspx */
|
/* See https://learn.microsoft.com/en-us/archive/blogs/doronh/how-ps2-and-hid-keyboads-report-power-button-events */
|
||||||
|
|
||||||
/* Register GUID_DEVICE_SYS_BUTTON interface and report capability */
|
/* Register GUID_DEVICE_SYS_BUTTON interface and report capability */
|
||||||
if (DeviceExtension->NewCaps != DeviceExtension->ReportedCaps)
|
if (DeviceExtension->NewCaps != DeviceExtension->ReportedCaps)
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
const GUID IID_IUnknown = {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x46}};
|
const GUID IID_IUnknown = {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x46}};
|
||||||
|
|
||||||
/* http://msdn2.microsoft.com/en-us/library/ms809781.aspx */
|
/* http://msdn2.microsoft.com/en-us/library/ms809781.aspx (DEAD_LINK) */
|
||||||
COMDDKAPI NTSTATUS NTAPI
|
COMDDKAPI NTSTATUS NTAPI
|
||||||
KoCreateInstance(
|
KoCreateInstance(
|
||||||
IN REFCLSID ClassId,
|
IN REFCLSID ClassId,
|
||||||
|
@ -52,7 +52,7 @@ KoCreateInstance(
|
||||||
to the appropriate device.
|
to the appropriate device.
|
||||||
|
|
||||||
Useful references:
|
Useful references:
|
||||||
http://www.freelists.org/archives/wdmaudiodev/01-2003/msg00023.html
|
https://www.freelists.org/post/wdmaudiodev/Need-audio-driver-deivce-interface-registration-help
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
Sound card operations
|
Sound card operations
|
||||||
|
|
||||||
http://www.cae.wisc.edu/~brodskye/sb16doc/sb16doc.html
|
https://web.archive.org/web/20120415213248/http://homepages.cae.wisc.edu/~brodskye/sb16doc/sb16doc.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ntddk.h>
|
#include <ntddk.h>
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
* - Developed on Windows with Visual Studio 2010.
|
* - Developed on Windows with Visual Studio 2010.
|
||||||
* - Can be compiled and used on all platforms with http://www.monodevelop.com/.
|
* - Can be compiled and used on all platforms with http://www.monodevelop.com/.
|
||||||
* - Based on a heavily modified version of of SharpSnmpLib (a4bd05c6afb4)
|
* - Based on a heavily modified version of of SharpSnmpLib (a4bd05c6afb4)
|
||||||
* (https://sharpsnmplib.codeplex.com/SourceControl/network/forks/Nemo157/MIBParserUpdate).
|
* (https://sharpsnmplib.codeplex.com/SourceControl/network/forks/Nemo157/MIBParserUpdate (DEAD_LINK)).
|
||||||
* This has been the last known revision of that code before being converted to
|
* This has been the last known revision of that code before being converted to
|
||||||
* closed source. The new code on github has completely changed, so we can not
|
* closed source. The new code on github has completely changed, so we can not
|
||||||
* just update :-(
|
* just update :-(
|
||||||
|
|
|
@ -967,7 +967,7 @@ snmp_parse_inbound_frame(struct snmp_request *request)
|
||||||
* 1) securityParameters was correctly serialized if we reach here.
|
* 1) securityParameters was correctly serialized if we reach here.
|
||||||
* 2) securityParameters are already cached.
|
* 2) securityParameters are already cached.
|
||||||
* 3) if msgAuthoritativeEngineID is unknown, zero-length or too long:
|
* 3) if msgAuthoritativeEngineID is unknown, zero-length or too long:
|
||||||
b) https://tools.ietf.org/html/rfc3414#section-7
|
b) https://datatracker.ietf.org/doc/html/rfc3414#section-7
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
const char *eid;
|
const char *eid;
|
||||||
|
|
|
@ -119,7 +119,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef TCP_LOCAL_PORT_RANGE_START
|
#ifndef TCP_LOCAL_PORT_RANGE_START
|
||||||
/* From http://www.iana.org/assignments/port-numbers:
|
/* From http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml :
|
||||||
"The Dynamic and/or Private Ports are those from 49152 through 65535" */
|
"The Dynamic and/or Private Ports are those from 49152 through 65535" */
|
||||||
#define TCP_LOCAL_PORT_RANGE_START 0xc000
|
#define TCP_LOCAL_PORT_RANGE_START 0xc000
|
||||||
#define TCP_LOCAL_PORT_RANGE_END 0xffff
|
#define TCP_LOCAL_PORT_RANGE_END 0xffff
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#ifndef UDP_LOCAL_PORT_RANGE_START
|
#ifndef UDP_LOCAL_PORT_RANGE_START
|
||||||
/* From http://www.iana.org/assignments/port-numbers:
|
/* From https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml :
|
||||||
"The Dynamic and/or Private Ports are those from 49152 through 65535" */
|
"The Dynamic and/or Private Ports are those from 49152 through 65535" */
|
||||||
#define UDP_LOCAL_PORT_RANGE_START 0xc000
|
#define UDP_LOCAL_PORT_RANGE_START 0xc000
|
||||||
#define UDP_LOCAL_PORT_RANGE_END 0xffff
|
#define UDP_LOCAL_PORT_RANGE_END 0xffff
|
||||||
|
|
|
@ -181,7 +181,7 @@
|
||||||
#define SNMP_LWIP_ENTERPRISE_OID 26381
|
#define SNMP_LWIP_ENTERPRISE_OID 26381
|
||||||
/**
|
/**
|
||||||
* IANA assigned enterprise ID for lwIP is 26381
|
* IANA assigned enterprise ID for lwIP is 26381
|
||||||
* @see http://www.iana.org/assignments/enterprise-numbers
|
* @see https://www.iana.org/assignments/enterprise-numbers/
|
||||||
*
|
*
|
||||||
* @note this enterprise ID is assigned to the lwIP project,
|
* @note this enterprise ID is assigned to the lwIP project,
|
||||||
* all object identifiers living under this ID are assigned
|
* all object identifiers living under this ID are assigned
|
||||||
|
@ -190,7 +190,7 @@
|
||||||
*
|
*
|
||||||
* If you need to create your own private MIB you'll need
|
* If you need to create your own private MIB you'll need
|
||||||
* to apply for your own enterprise ID with IANA:
|
* to apply for your own enterprise ID with IANA:
|
||||||
* http://www.iana.org/numbers.html
|
* https://www.iana.org/protocols
|
||||||
*/
|
*/
|
||||||
#define SNMP_DEVICE_ENTERPRISE_OID {1, 3, 6, 1, 4, 1, SNMP_LWIP_ENTERPRISE_OID}
|
#define SNMP_DEVICE_ENTERPRISE_OID {1, 3, 6, 1, 4, 1, SNMP_LWIP_ENTERPRISE_OID}
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
/*
|
/*
|
||||||
* The ARCFOUR algorithm was publicly disclosed on 94/09.
|
* The ARCFOUR algorithm was publicly disclosed on 94/09.
|
||||||
*
|
*
|
||||||
* http://groups.google.com/group/sci.crypt/msg/10a300c9d21afca0
|
* https://groups.google.com/g/sci.crypt/c/TPS_Ix7aTJ4/m/oPwa0skAoxAJ?pli=1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "netif/ppp/ppp_opts.h"
|
#include "netif/ppp/ppp_opts.h"
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
* DES, on which TDES is based, was originally designed by Horst Feistel
|
* DES, on which TDES is based, was originally designed by Horst Feistel
|
||||||
* at IBM in 1974, and was adopted as a standard by NIST (formerly NBS).
|
* at IBM in 1974, and was adopted as a standard by NIST (formerly NBS).
|
||||||
*
|
*
|
||||||
* http://csrc.nist.gov/publications/fips/fips46-3/fips46-3.pdf
|
* https://csrc.nist.gov/files/pubs/fips/46-3/final/docs/fips46-3.pdf
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "netif/ppp/ppp_opts.h"
|
#include "netif/ppp/ppp_opts.h"
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
/*
|
/*
|
||||||
* The SHA-1 standard was published by NIST in 1993.
|
* The SHA-1 standard was published by NIST in 1993.
|
||||||
*
|
*
|
||||||
* http://www.itl.nist.gov/fipspubs/fip180-1.htm
|
* http://www.itl.nist.gov/fipspubs/fip180-1.htm (DEAD_LINK)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "netif/ppp/ppp_opts.h"
|
#include "netif/ppp/ppp_opts.h"
|
||||||
|
|
|
@ -1479,7 +1479,7 @@ typedef enum _VT_ANSI_ATTRIBUTES
|
||||||
|
|
||||||
//
|
//
|
||||||
// The following site is a good reference on VT100/ANSI escape codes
|
// The following site is a good reference on VT100/ANSI escape codes
|
||||||
// http://www.termsys.demon.co.uk/vtansi.htm
|
// https://web.archive.org/web/20190503084310/http://www.termsys.demon.co.uk/vtansi.htm
|
||||||
//
|
//
|
||||||
#define VT_ANSI_ESCAPE L'\x1B'
|
#define VT_ANSI_ESCAPE L'\x1B'
|
||||||
#define VT_ANSI_COMMAND L'['
|
#define VT_ANSI_COMMAND L'['
|
||||||
|
|
|
@ -302,7 +302,7 @@ SerialDeviceControl(
|
||||||
SerialGetUserBuffers(Irp, IoControlCode, &BufferIn, &BufferOut);
|
SerialGetUserBuffers(Irp, IoControlCode, &BufferIn, &BufferOut);
|
||||||
|
|
||||||
/* FIXME: need to probe buffers */
|
/* FIXME: need to probe buffers */
|
||||||
/* FIXME: see http://www.osronline.com/ddkx/serial/serref_61bm.htm */
|
/* FIXME: see https://web.archive.org/web/20101020230420/http://www.osronline.com/ddkx/serial/serref_61bm.htm */
|
||||||
switch (IoControlCode)
|
switch (IoControlCode)
|
||||||
{
|
{
|
||||||
case IOCTL_SERIAL_CLEAR_STATS:
|
case IOCTL_SERIAL_CLEAR_STATS:
|
||||||
|
|
|
@ -107,7 +107,7 @@ StopMotor(PCONTROLLER_INFO ControllerInfo);
|
||||||
/*
|
/*
|
||||||
* MEDIA TYPES
|
* MEDIA TYPES
|
||||||
*
|
*
|
||||||
* This table was found at http://www.nondot.org/sabre/os/files/Disk/FloppyMediaIDs.txt.
|
* This table was found at https://web.archive.org/web/20021207232702/http://www.nondot.org/sabre/os/files/Disk/FloppyMediaIDs.txt .
|
||||||
* Thanks to raster@indirect.com for this information.
|
* Thanks to raster@indirect.com for this information.
|
||||||
*
|
*
|
||||||
* Format Size Cyls Heads Sec/Trk FATs Sec/FAT Sec/Root Media
|
* Format Size Cyls Heads Sec/Trk FATs Sec/FAT Sec/Root Media
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
* 15-Feb-2004 vizzini - Created
|
* 15-Feb-2004 vizzini - Created
|
||||||
*
|
*
|
||||||
* NOTES:
|
* NOTES:
|
||||||
* - Baesd on http://www.nondot.org/sabre/os/files/Disk/FLOPPY.TXT
|
* - Baesd on https://web.archive.org/web/20120130065947/http://www.nondot.org/sabre/os/files/Disk/FLOPPY.TXT
|
||||||
* - Some information taken from Intel 82077AA data sheet (order #290166-007)
|
* - Some information taken from Intel 82077AA data sheet (order #290166-007)
|
||||||
* - Some definitions are PS/2-Specific; others include the original NEC PD765
|
* - Some definitions are PS/2-Specific; others include the original NEC PD765
|
||||||
* - Other information gathered from the comments in the NT 3.5 floppy driver
|
* - Other information gathered from the comments in the NT 3.5 floppy driver
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
// see https://docs.microsoft.com/en-us/windows-hardware/drivers/install/identifiers-for-scsi-devices
|
// see https://learn.microsoft.com/en-us/windows-hardware/drivers/install/identifiers-for-scsi-devices
|
||||||
// and https://docs.microsoft.com/en-us/windows-hardware/drivers/install/identifiers-for-ide-devices
|
// and https://learn.microsoft.com/en-us/windows-hardware/drivers/install/identifiers-for-ide-devices
|
||||||
|
|
||||||
FORCEINLINE
|
FORCEINLINE
|
||||||
PCSTR
|
PCSTR
|
||||||
|
|
|
@ -806,7 +806,7 @@ AhciHwStartIo (
|
||||||
{
|
{
|
||||||
case SRB_FUNCTION_PNP:
|
case SRB_FUNCTION_PNP:
|
||||||
{
|
{
|
||||||
// https://msdn.microsoft.com/windows/hardware/drivers/storage/handling-srb-function-pnp
|
// https://learn.microsoft.com/en-us/previous-versions/windows/drivers/storage/handling-srb-function-pnp
|
||||||
// If the function member of an SRB is set to SRB_FUNCTION_PNP,
|
// If the function member of an SRB is set to SRB_FUNCTION_PNP,
|
||||||
// the SRB is a structure of type SCSI_PNP_REQUEST_BLOCK.
|
// the SRB is a structure of type SCSI_PNP_REQUEST_BLOCK.
|
||||||
|
|
||||||
|
@ -843,7 +843,7 @@ AhciHwStartIo (
|
||||||
break;
|
break;
|
||||||
case SRB_FUNCTION_EXECUTE_SCSI:
|
case SRB_FUNCTION_EXECUTE_SCSI:
|
||||||
{
|
{
|
||||||
// https://msdn.microsoft.com/en-us/windows/hardware/drivers/storage/handling-srb-function-execute-scsi
|
// https://learn.microsoft.com/en-us/previous-versions/windows/drivers/storage/handling-srb-function-execute-scsi
|
||||||
// On receipt of an SRB_FUNCTION_EXECUTE_SCSI request, a miniport driver's HwScsiStartIo
|
// On receipt of an SRB_FUNCTION_EXECUTE_SCSI request, a miniport driver's HwScsiStartIo
|
||||||
// routine does the following:
|
// routine does the following:
|
||||||
//
|
//
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
// section 3.1.2
|
// section 3.1.2
|
||||||
#define AHCI_Global_HBA_CAP_S64A (1 << 31)
|
#define AHCI_Global_HBA_CAP_S64A (1 << 31)
|
||||||
|
|
||||||
// FIS Types : http://wiki.osdev.org/AHCI
|
// FIS Types : https://wiki.osdev.org/AHCI
|
||||||
#define FIS_TYPE_REG_H2D 0x27 // Register FIS - host to device
|
#define FIS_TYPE_REG_H2D 0x27 // Register FIS - host to device
|
||||||
#define FIS_TYPE_REG_D2H 0x34 // Register FIS - device to host
|
#define FIS_TYPE_REG_D2H 0x34 // Register FIS - device to host
|
||||||
#define FIS_TYPE_DMA_ACT 0x39 // DMA activate FIS - device to host
|
#define FIS_TYPE_DMA_ACT 0x39 // DMA activate FIS - device to host
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
* PURPOSE: HAL APIC Management and Control Code
|
* PURPOSE: HAL APIC Management and Control Code
|
||||||
* PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org)
|
* PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||||
* REFERENCES: https://web.archive.org/web/20190407074221/http://www.joseflores.com/docs/ExploringIrql.html
|
* REFERENCES: https://web.archive.org/web/20190407074221/http://www.joseflores.com/docs/ExploringIrql.html
|
||||||
* http://www.codeproject.com/KB/system/soviet_kernel_hack.aspx
|
* https://www.codeproject.com/KB/system/soviet_kernel_hack.aspx
|
||||||
* http://bbs.unixmap.net/thread-2022-1-1.html
|
* http://bbs.unixmap.net/thread-2022-1-1.html (DEAD_LINK)
|
||||||
* https://www.codemachine.com/article_interruptdispatching.html
|
* https://codemachine.com/articles/interrupt_dispatching.html
|
||||||
* https://www.osronline.com/article.cfm%5Earticle=211.htm
|
* https://www.osronline.com/article.cfm%5Earticle=211.htm
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org)
|
* PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||||
* REFERENCES: https://wiki.osdev.org/RTC
|
* REFERENCES: https://wiki.osdev.org/RTC
|
||||||
* https://forum.osdev.org/viewtopic.php?f=13&t=20825&start=0
|
* https://forum.osdev.org/viewtopic.php?f=13&t=20825&start=0
|
||||||
* http://www.bioscentral.com/misc/cmosmap.htm
|
* https://web.archive.org/web/20240119203005/http://www.bioscentral.com/misc/cmosmap.htm
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* INCLUDES *******************************************************************/
|
/* INCLUDES *******************************************************************/
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
- Info:
|
- Info:
|
||||||
- http://stackoverflow.com/questions/32251638/dbghelp-get-full-symbol-signature-function-name-parameters-types
|
- http://stackoverflow.com/questions/32251638/dbghelp-get-full-symbol-signature-function-name-parameters-types
|
||||||
- http://www.debuginfo.com/articles/dbghelptypeinfo.html
|
- https://www.debuginfo.com/articles/dbghelptypeinfo.html
|
||||||
- TODO:
|
- TODO:
|
||||||
- Dump usage
|
- Dump usage
|
||||||
- Test for dbghelp + symsrv and warn if not working
|
- Test for dbghelp + symsrv and warn if not working
|
||||||
|
|
|
@ -456,7 +456,7 @@ BOOL Entry::launch_entry(HWND hwnd, UINT nCmdShow)
|
||||||
|
|
||||||
|
|
||||||
// local replacement implementation for SHBindToParent()
|
// local replacement implementation for SHBindToParent()
|
||||||
// (derived from http://www.geocities.com/SiliconValley/2060/articles/shell-helpers.html)
|
// (derived from https://web.archive.org/web/20021105062620/http://www.geocities.com/SiliconValley/2060/articles/shell-helpers.html)
|
||||||
static HRESULT my_SHBindToParent(LPCITEMIDLIST pidl, REFIID riid, VOID** ppv, LPCITEMIDLIST* ppidlLast)
|
static HRESULT my_SHBindToParent(LPCITEMIDLIST pidl, REFIID riid, VOID** ppv, LPCITEMIDLIST* ppidlLast)
|
||||||
{
|
{
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
For this program and for win32 ethernet, the winpcap library is required.
|
For this program and for win32 ethernet, the winpcap library is required.
|
||||||
Download it from http://netgroup-serv.polito.it/winpcap.
|
Download it from https://web.archive.org/web/20040404215544/http://winpcap.polito.it/ .
|
||||||
*/
|
*/
|
||||||
#ifdef MSC_VER
|
#ifdef MSC_VER
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
@ -55,7 +55,7 @@ int main(int argc, char **argv)
|
||||||
PacketGetVersion = (PCHAR (*)(VOID))GetProcAddress(hPacket, "PacketGetVersion");
|
PacketGetVersion = (PCHAR (*)(VOID))GetProcAddress(hPacket, "PacketGetVersion");
|
||||||
} else {
|
} else {
|
||||||
printf("Could not load WinPCap driver! for more information goto:\n");
|
printf("Could not load WinPCap driver! for more information goto:\n");
|
||||||
printf ("http://netgroup-serv.polito.it/winpcap\n");
|
printf ("https://web.archive.org/web/20040404215544/http://winpcap.polito.it/\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if (!(PacketLibraryVersion = PacketGetVersion())) {
|
if (!(PacketLibraryVersion = PacketGetVersion())) {
|
||||||
|
|
|
@ -820,7 +820,7 @@ disk_set_information(RDPCLIENT * This, NTHANDLE handle, uint32 info_class, STREA
|
||||||
FileDispositionInformation requests with
|
FileDispositionInformation requests with
|
||||||
DeleteFile set to FALSE should unschedule
|
DeleteFile set to FALSE should unschedule
|
||||||
the delete. See
|
the delete. See
|
||||||
http://www.osronline.com/article.cfm?article=245. */
|
https://www.osronline.com/article.cfm%5earticle=245.htm . */
|
||||||
|
|
||||||
in_uint32_le(in, delete_on_close);
|
in_uint32_le(in, delete_on_close);
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,6 @@ To enable to lspci virtual channel, run rdesktop with "-r lspci".
|
||||||
References
|
References
|
||||||
==========
|
==========
|
||||||
|
|
||||||
http://www.microsoft.com/msj/1099/terminal/terminal.aspx
|
https://web.archive.org/web/20170905024329/http://www.microsoft.com/msj/1099/terminal/terminal.aspx
|
||||||
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/termserv/termserv/terminal_services_virtual_channels.asp
|
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/termserv/termserv/terminal_services_virtual_channels.asp (DEAD_LINK)
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
rdesktop: A Remote Desktop Protocol client.
|
rdesktop: A Remote Desktop Protocol client.
|
||||||
|
|
||||||
Support functions for Extended Window Manager Hints,
|
Support functions for Extended Window Manager Hints,
|
||||||
http://www.freedesktop.org/wiki/Standards_2fwm_2dspec
|
https://web.archive.org/web/20060831082811/http://www.freedesktop.org/wiki/Standards_2fwm_2dspec
|
||||||
|
|
||||||
Copyright (C) Peter Astrand <astrand@cendio.se> 2005
|
Copyright (C) Peter Astrand <astrand@cendio.se> 2005
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
/* patented for another couple of years. */
|
/* patented for another couple of years. */
|
||||||
|
|
||||||
/* more information is available in */
|
/* more information is available in */
|
||||||
/* http://www.ietf.org/ietf/IPR/hifn-ipr-draft-friend-tls-lzs-compression.txt */
|
/* https://web.archive.org/web/20231203135154/https://www.ietf.org/ietf-ftp/ietf/IPR/hifn-ipr-draft-friend-tls-lzs-compression.txt */
|
||||||
|
|
||||||
int
|
int
|
||||||
mppc_expand(RDPCLIENT * This, uint8 * data, uint32 clen, uint8 ctype, uint32 * roff, uint32 * rlen)
|
mppc_expand(RDPCLIENT * This, uint8 * data, uint32 clen, uint8 ctype, uint32 * roff, uint32 * rlen)
|
||||||
|
|
|
@ -20,13 +20,13 @@
|
||||||
/*
|
/*
|
||||||
Here are some resources, for your IRP hacking pleasure:
|
Here are some resources, for your IRP hacking pleasure:
|
||||||
|
|
||||||
http://cvs.sourceforge.net/viewcvs.py/mingw/w32api/include/ddk/winddk.h?view=markup
|
http://cvs.sourceforge.net/viewcvs.py/mingw/w32api/include/ddk/winddk.h?view=markup (DEAD_LINK)
|
||||||
|
|
||||||
http://win32.mvps.org/ntfs/streams.cpp
|
https://web.archive.org/web/20150616195443/http://win32.mvps.org/ntfs/streams.cpp
|
||||||
|
|
||||||
http://www.acc.umu.se/~bosse/ntifs.h
|
http://www.acc.umu.se/~bosse/ntifs.h
|
||||||
|
|
||||||
http://undocumented.ntinternals.net/UserMode/Undocumented%20Functions/NT%20Objects/File/
|
https://web.archive.org/web/20060430092752/http://undocumented.ntinternals.net/UserMode/Undocumented%20Functions/NT%20Objects/File/
|
||||||
|
|
||||||
http://us1.samba.org/samba/ftp/specs/smb-nt01.txt
|
http://us1.samba.org/samba/ftp/specs/smb-nt01.txt
|
||||||
|
|
||||||
|
|
|
@ -425,7 +425,7 @@ sec_out_mcs_data(RDPCLIENT * This, STREAM s, wchar_t * hostname)
|
||||||
out_uint8s(s, 30 - hostlen);
|
out_uint8s(s, 30 - hostlen);
|
||||||
|
|
||||||
/* See
|
/* See
|
||||||
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk40/html/cxtsksupportingremotedesktopprotocol.asp */
|
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk40/html/cxtsksupportingremotedesktopprotocol.asp (DEAD_LINK) */
|
||||||
out_uint32_le(s, This->keyboard_type);
|
out_uint32_le(s, This->keyboard_type);
|
||||||
out_uint32_le(s, This->keyboard_subtype);
|
out_uint32_le(s, This->keyboard_subtype);
|
||||||
out_uint32_le(s, This->keyboard_functionkeys);
|
out_uint32_le(s, This->keyboard_functionkeys);
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
HTML: http://tronche.com/gui/x/icccm/
|
HTML: http://tronche.com/gui/x/icccm/
|
||||||
PDF: http://ftp.xfree86.org/pub/XFree86/4.5.0/doc/PDF/icccm.pdf
|
PDF: http://ftp.xfree86.org/pub/XFree86/4.5.0/doc/PDF/icccm.pdf
|
||||||
- MSDN: Clipboard Formats
|
- MSDN: Clipboard Formats
|
||||||
http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/dataexchange/clipboard/clipboardformats.asp
|
https://web.archive.org/web/20080103082730/http://msdn2.microsoft.com/en-us/library/ms649013.aspx
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_ICONV
|
#ifdef HAVE_ICONV
|
||||||
|
|
|
@ -5,7 +5,7 @@ Matrrix2 screensaver for ReactOS
|
||||||
Freeware
|
Freeware
|
||||||
Copyright J Brown 2003
|
Copyright J Brown 2003
|
||||||
|
|
||||||
Updates at http://www.catch22.net
|
Updates at https://www.catch22.net/
|
||||||
|
|
||||||
******************************************/
|
******************************************/
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ START_TEST(eventlog)
|
||||||
/*
|
/*
|
||||||
* Tests for the different RPC boundaries on Windows.
|
* Tests for the different RPC boundaries on Windows.
|
||||||
* See also the "ReportEvent" API on MSDN, section "Return value", at:
|
* See also the "ReportEvent" API on MSDN, section "Return value", at:
|
||||||
* https://msdn.microsoft.com/en-us/library/windows/desktop/aa363679(v=vs.85).aspx
|
* https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-reporteventa
|
||||||
* for more details.
|
* for more details.
|
||||||
*/
|
*/
|
||||||
{ 0xF000, { {TRUE, ERROR_SUCCESS}, {TRUE , ERROR_SUCCESS} } },
|
{ 0xF000, { {TRUE, ERROR_SUCCESS}, {TRUE , ERROR_SUCCESS} } },
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue