ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
September 2024
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
23 participants
118 discussions
Start a n
N
ew thread
[reactos] 07/10: [KERNEL32_APITEST] Fix GetDriveType test on x64 testbot
by Timo Kreuzer
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7b44ae4384082a755db18…
commit 7b44ae4384082a755db1823dbcec20fb1f61d2d2 Author: Timo Kreuzer <timo.kreuzer(a)reactos.org> AuthorDate: Thu Sep 12 12:47:16 2024 +0300 Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org> CommitDate: Sun Sep 15 19:28:07 2024 +0300 [KERNEL32_APITEST] Fix GetDriveType test on x64 testbot Apparently Z: is a remote drive, so use Q: instead. --- modules/rostests/apitests/kernel32/GetDriveType.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rostests/apitests/kernel32/GetDriveType.c b/modules/rostests/apitests/kernel32/GetDriveType.c index 784cd755e16..34ab2d496a8 100644 --- a/modules/rostests/apitests/kernel32/GetDriveType.c +++ b/modules/rostests/apitests/kernel32/GetDriveType.c @@ -16,7 +16,7 @@ START_TEST(GetDriveType) Type = GetDriveTypeW(L"\nC:\\"); ok(Type == DRIVE_NO_ROOT_DIR, "Expected DRIVE_NO_ROOT_DIR, got %u\n", Type); - Type = GetDriveTypeW(L"Z:\\"); + Type = GetDriveTypeW(L"Q:\\"); ok(Type == DRIVE_NO_ROOT_DIR, "Expected DRIVE_NO_ROOT_DIR, got %u\n", Type); ok(GetLastError() == 0xdeadbeaf, "Expected no errors, got %lu\n", GetLastError());
3 months, 1 week
1
0
0
0
[reactos] 06/10: [UUID] Add missing IID_INetConnectionCommonUi2
by Timo Kreuzer
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4d10ead793139372dc2de…
commit 4d10ead793139372dc2dec5b825f33ed7772562c Author: Timo Kreuzer <timo.kreuzer(a)reactos.org> AuthorDate: Thu Sep 12 12:33:50 2024 +0300 Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org> CommitDate: Sun Sep 15 19:28:07 2024 +0300 [UUID] Add missing IID_INetConnectionCommonUi2 This is identical to IID_INetLanConnectionUiInfo --- sdk/lib/uuid/otherguids.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/lib/uuid/otherguids.c b/sdk/lib/uuid/otherguids.c index 14db6bf0264..09b9f1e1ecd 100644 --- a/sdk/lib/uuid/otherguids.c +++ b/sdk/lib/uuid/otherguids.c @@ -10,7 +10,8 @@ DEFINE_GUID(IID_IEnumNetConnection, 0xC08956A0,0x1CD3,0x11D1,0xB1,0xC5, DEFINE_GUID(IID_INetConnectionManager, 0xC08956A2,0x1CD3,0x11D1,0xB1,0xC5,0x00,0x80,0x5F,0xC1,0x27,0x0E); DEFINE_GUID(IID_INetConnectionConnectUi, 0xC08956A3,0x1CD3,0x11D1,0xB1,0xC5,0x00,0x80,0x5F,0xC1,0x27,0x0E); DEFINE_GUID(IID_INetConnectionPropertyUi, 0xC08956A4,0x1CD3,0x11D1,0xB1,0xC5,0x00,0x80,0x5F,0xC1,0x27,0x0E); -DEFINE_GUID(IID_INetLanConnectionUiInfo, 0xC08956A6,0x1CD3,0x11D1,0xB1,0xC5,0x00,0x80,0x5F,0xC1,0x27,0x0E); +DEFINE_GUID(IID_INetConnectionCommonUi2, 0xC08956A6,0x1CD3,0x11D1,0xB1,0xC5,0x00,0x80,0x5F,0xC1,0x27,0x0E); // Same as IID_INetLanConnectionUiInfo +DEFINE_GUID(IID_INetLanConnectionUiInfo, 0xC08956A6,0x1CD3,0x11D1,0xB1,0xC5,0x00,0x80,0x5F,0xC1,0x27,0x0E); // Same as IID_INetConnectionCommonUi2 DEFINE_GUID(IID_IEnumNetCfgBindingInterface, 0xC0E8AE90,0x306E,0x11D1,0xAA,0xCF,0x00,0x80,0x5F,0xC1,0x27,0x0E); DEFINE_GUID(IID_IEnumNetCfgBindingPath, 0xC0E8AE91,0x306E,0x11D1,0xAA,0xCF,0x00,0x80,0x5F,0xC1,0x27,0x0E); DEFINE_GUID(IID_IEnumNetCfgComponent, 0xC0E8AE92,0x306E,0x11D1,0xAA,0xCF,0x00,0x80,0x5F,0xC1,0x27,0x0E);
3 months, 1 week
1
0
0
0
[reactos] 05/10: [ATL_APITEST] Fix CSimpleArray test
by Timo Kreuzer
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d5b3bb4f4a2bbe17f28dd…
commit d5b3bb4f4a2bbe17f28dd200f6fc7f4c69e76cc8 Author: Timo Kreuzer <timo.kreuzer(a)reactos.org> AuthorDate: Thu Sep 12 11:21:36 2024 +0300 Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org> CommitDate: Sun Sep 15 19:28:07 2024 +0300 [ATL_APITEST] Fix CSimpleArray test The test violated the one definition rule and was using the constructor from a different implementation of CCreature. --- modules/rostests/apitests/atl/CSimpleArray.cpp | 86 +++++++++++++------------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/modules/rostests/apitests/atl/CSimpleArray.cpp b/modules/rostests/apitests/atl/CSimpleArray.cpp index 9176feb14ff..6a3315055a5 100644 --- a/modules/rostests/apitests/atl/CSimpleArray.cpp +++ b/modules/rostests/apitests/atl/CSimpleArray.cpp @@ -14,31 +14,31 @@ #include <atlbase.h> #include <atlsimpcoll.h> -struct CCreature +struct CSimpleCreature { static int s_nCount; static int s_nCopyCount; - CCreature() + CSimpleCreature() { - CCreature::s_nCount++; + CSimpleCreature::s_nCount++; } - CCreature(const CCreature& c) + CSimpleCreature(const CSimpleCreature& c) { - CCreature::s_nCount++; + CSimpleCreature::s_nCount++; } - ~CCreature() + ~CSimpleCreature() { - CCreature::s_nCount--; + CSimpleCreature::s_nCount--; } - CCreature& operator=(const CCreature& other) + CSimpleCreature& operator=(const CSimpleCreature& other) { - CCreature::s_nCopyCount++; + CSimpleCreature::s_nCopyCount++; return *this; } }; -int CCreature::s_nCount = 0; -int CCreature::s_nCopyCount = 0; +int CSimpleCreature::s_nCount = 0; +int CSimpleCreature::s_nCopyCount = 0; START_TEST(CSimpleArray) @@ -83,60 +83,60 @@ START_TEST(CSimpleArray) ok_int(array1[2], 2); ok_int(array1[3], 3); - ok_int(CCreature::s_nCount, 0); - ok_int(CCreature::s_nCopyCount, 0); + ok_int(CSimpleCreature::s_nCount, 0); + ok_int(CSimpleCreature::s_nCopyCount, 0); - CSimpleArray<CCreature> array2; + CSimpleArray<CSimpleCreature> array2; { - CCreature creature1, creature2; + CSimpleCreature creature1, creature2; - ok_int(CCreature::s_nCount, 2); - ok_int(CCreature::s_nCopyCount, 0); + ok_int(CSimpleCreature::s_nCount, 2); + ok_int(CSimpleCreature::s_nCopyCount, 0); array2.Add(creature1); - ok_int(CCreature::s_nCount, 3); - ok_int(CCreature::s_nCopyCount, 0); + ok_int(CSimpleCreature::s_nCount, 3); + ok_int(CSimpleCreature::s_nCopyCount, 0); array2.Add(creature2); - ok_int(CCreature::s_nCount, 4); - ok_int(CCreature::s_nCopyCount, 0); + ok_int(CSimpleCreature::s_nCount, 4); + ok_int(CSimpleCreature::s_nCopyCount, 0); } - ok_int(CCreature::s_nCount, 2); - ok_int(CCreature::s_nCopyCount, 0); + ok_int(CSimpleCreature::s_nCount, 2); + ok_int(CSimpleCreature::s_nCopyCount, 0); { - CSimpleArray<CCreature> array3(array2), array4, array5; - ok_int(CCreature::s_nCount, 4); - ok_int(CCreature::s_nCopyCount, 0); + CSimpleArray<CSimpleCreature> array3(array2), array4, array5; + ok_int(CSimpleCreature::s_nCount, 4); + ok_int(CSimpleCreature::s_nCopyCount, 0); array4 = array2; - ok_int(CCreature::s_nCount, 6); - ok_int(CCreature::s_nCopyCount, 0); + ok_int(CSimpleCreature::s_nCount, 6); + ok_int(CSimpleCreature::s_nCopyCount, 0); - CCreature creature1; - ok_int(CCreature::s_nCount, 7); - ok_int(CCreature::s_nCopyCount, 0); + CSimpleCreature creature1; + ok_int(CSimpleCreature::s_nCount, 7); + ok_int(CSimpleCreature::s_nCopyCount, 0); array4.Add(creature1); - ok_int(CCreature::s_nCount, 8); - ok_int(CCreature::s_nCopyCount, 0); + ok_int(CSimpleCreature::s_nCount, 8); + ok_int(CSimpleCreature::s_nCopyCount, 0); array3 = array4; - ok_int(CCreature::s_nCount, 9); - ok_int(CCreature::s_nCopyCount, 0); + ok_int(CSimpleCreature::s_nCount, 9); + ok_int(CSimpleCreature::s_nCopyCount, 0); array5 = array2; - ok_int(CCreature::s_nCount, 11); - ok_int(CCreature::s_nCopyCount, 0); + ok_int(CSimpleCreature::s_nCount, 11); + ok_int(CSimpleCreature::s_nCopyCount, 0); array5 = array2; - ok_int(CCreature::s_nCount, 11); - ok_int(CCreature::s_nCopyCount, 0); + ok_int(CSimpleCreature::s_nCount, 11); + ok_int(CSimpleCreature::s_nCopyCount, 0); } - ok_int(CCreature::s_nCount, 2); - ok_int(CCreature::s_nCopyCount, 0); + ok_int(CSimpleCreature::s_nCount, 2); + ok_int(CSimpleCreature::s_nCopyCount, 0); array2.RemoveAll(); - ok_int(CCreature::s_nCount, 0); - ok_int(CCreature::s_nCopyCount, 0); + ok_int(CSimpleCreature::s_nCount, 0); + ok_int(CSimpleCreature::s_nCopyCount, 0); array1.RemoveAll(); ok_int(array1.GetSize(), 0);
3 months, 1 week
1
0
0
0
[reactos] 04/10: [ATL_APITEST] Fix a test that fails on Win 2003 x64
by Timo Kreuzer
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=be56475ccf47c5b320eed…
commit be56475ccf47c5b320eed115644ea415b0b200c8 Author: Timo Kreuzer <timo.kreuzer(a)reactos.org> AuthorDate: Thu Sep 12 10:59:41 2024 +0300 Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org> CommitDate: Sun Sep 15 19:28:07 2024 +0300 [ATL_APITEST] Fix a test that fails on Win 2003 x64 --- modules/rostests/apitests/atl/CRegKey.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rostests/apitests/atl/CRegKey.cpp b/modules/rostests/apitests/atl/CRegKey.cpp index c89fdcf243a..4d6d687abc2 100644 --- a/modules/rostests/apitests/atl/CRegKey.cpp +++ b/modules/rostests/apitests/atl/CRegKey.cpp @@ -86,7 +86,7 @@ START_TEST(CRegKey) memset(buffer, 0, sizeof(buffer)); lret = key3.QueryValue(_T("APITEST_VALUE_NAME"), &type, buffer, &buffer_size); ok(lret == ERROR_ACCESS_DENIED, "Expected lret to be ERROR_ACCESS_DENIED, was: %lu\n", lret); - ok(type == 0 || broken(type > 200), "Expected type to be 0, was: %lu\n", type); + ok(type == 0 || ((sizeof(void*) == 8) && broken(type == 1)) || broken(type > 200), "Expected type to be 0, was: %lu\n", type); ok(buffer_size == sizeof(buffer), "Expected buffer_size to be %u, was: %lu\n", sizeof(buffer), buffer_size);
3 months, 1 week
1
0
0
0
[reactos] 03/10: [ATL_APITEST] Add missing vcproj for CRegKey
by Timo Kreuzer
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=edf02414b980b09d3e333…
commit edf02414b980b09d3e3334b40584fda679d4e56e Author: Timo Kreuzer <timo.kreuzer(a)reactos.org> AuthorDate: Thu Sep 12 10:33:44 2024 +0300 Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org> CommitDate: Sun Sep 15 19:28:07 2024 +0300 [ATL_APITEST] Add missing vcproj for CRegKey --- modules/rostests/apitests/atl/CRegKey.cpp | 7 +- modules/rostests/apitests/atl/atltest.h | 2 + modules/rostests/apitests/atl/devenv/ATLTest.sln | 10 ++ .../rostests/apitests/atl/devenv/CRegKey.vcxproj | 189 +++++++++++++++++++++ 4 files changed, 207 insertions(+), 1 deletion(-) diff --git a/modules/rostests/apitests/atl/CRegKey.cpp b/modules/rostests/apitests/atl/CRegKey.cpp index 334cb3d73a3..c89fdcf243a 100644 --- a/modules/rostests/apitests/atl/CRegKey.cpp +++ b/modules/rostests/apitests/atl/CRegKey.cpp @@ -6,9 +6,14 @@ * Katayama Hirofumi MZ (katayama.hirofumi.mz(a)gmail.com) */ -#include <apitest.h> #include <atlbase.h> +#ifdef HAVE_APITEST + #include <apitest.h> +#else + #include "atltest.h" +#endif + START_TEST(CRegKey) { CRegKey key; diff --git a/modules/rostests/apitests/atl/atltest.h b/modules/rostests/apitests/atl/atltest.h index 74a30054f1f..a9faaefc9d0 100644 --- a/modules/rostests/apitests/atl/atltest.h +++ b/modules/rostests/apitests/atl/atltest.h @@ -175,4 +175,6 @@ static inline const char *wine_dbgstr_rect(const RECT *prc) return buf; } +#define broken(x) x + #endif /* ndef ATLTEST_H_ */ diff --git a/modules/rostests/apitests/atl/devenv/ATLTest.sln b/modules/rostests/apitests/atl/devenv/ATLTest.sln index 68f30447443..a3cc3814681 100644 --- a/modules/rostests/apitests/atl/devenv/ATLTest.sln +++ b/modules/rostests/apitests/atl/devenv/ATLTest.sln @@ -35,6 +35,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "atlconv", "atlconv.vcxproj" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "atltypes", "atltypes.vcxproj", "{6F9D87BA-0FBD-4A0D-9B11-6363D12ADD1D}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CRegKey", "CRegKey.vcxproj", "{6C2258AA-6740-4957-BEB0-250582D1F817}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x64 = Debug|x64 @@ -171,6 +173,14 @@ Global {6F9D87BA-0FBD-4A0D-9B11-6363D12ADD1D}.Release|x64.Build.0 = Release|x64 {6F9D87BA-0FBD-4A0D-9B11-6363D12ADD1D}.Release|x86.ActiveCfg = Release|Win32 {6F9D87BA-0FBD-4A0D-9B11-6363D12ADD1D}.Release|x86.Build.0 = Release|Win32 + {6C2258AA-6740-4957-BEB0-250582D1F817}.Debug|x64.ActiveCfg = Debug|x64 + {6C2258AA-6740-4957-BEB0-250582D1F817}.Debug|x64.Build.0 = Debug|x64 + {6C2258AA-6740-4957-BEB0-250582D1F817}.Debug|x86.ActiveCfg = Debug|Win32 + {6C2258AA-6740-4957-BEB0-250582D1F817}.Debug|x86.Build.0 = Debug|Win32 + {6C2258AA-6740-4957-BEB0-250582D1F817}.Release|x64.ActiveCfg = Release|x64 + {6C2258AA-6740-4957-BEB0-250582D1F817}.Release|x64.Build.0 = Release|x64 + {6C2258AA-6740-4957-BEB0-250582D1F817}.Release|x86.ActiveCfg = Release|Win32 + {6C2258AA-6740-4957-BEB0-250582D1F817}.Release|x86.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/modules/rostests/apitests/atl/devenv/CRegKey.vcxproj b/modules/rostests/apitests/atl/devenv/CRegKey.vcxproj new file mode 100644 index 00000000000..477a9db1c09 --- /dev/null +++ b/modules/rostests/apitests/atl/devenv/CRegKey.vcxproj @@ -0,0 +1,189 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="
http://schemas.microsoft.com/developer/msbuild/2003
"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{6C2258AA-6740-4957-BEB0-250582D1F817}</ProjectGuid> + <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion> + <Keyword>AtlProj</Keyword> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v140_xp</PlatformToolset> + <CharacterSet>Unicode</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <PlatformToolset>v140_xp</PlatformToolset> + <CharacterSet>Unicode</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v140_xp</PlatformToolset> + <CharacterSet>Unicode</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <PlatformToolset>v140_xp</PlatformToolset> + <CharacterSet>Unicode</CharacterSet> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Label="Shared"> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <IgnoreImportLibrary>true</IgnoreImportLibrary> + <LinkIncremental>true</LinkIncremental> + <IntDir>$(ProjectName)\$(Configuration)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <IgnoreImportLibrary>true</IgnoreImportLibrary> + <LinkIncremental>true</LinkIncremental> + <IntDir>$(ProjectName)\$(Platform)\$(Configuration)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <IgnoreImportLibrary>true</IgnoreImportLibrary> + <LinkIncremental>false</LinkIncremental> + <IntDir>$(ProjectName)\$(Configuration)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <IgnoreImportLibrary>true</IgnoreImportLibrary> + <LinkIncremental>false</LinkIncremental> + <IntDir>$(ProjectName)\$(Platform)\$(Configuration)\</IntDir> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <PrecompiledHeader>NotUsing</PrecompiledHeader> + <WarningLevel>Level3</WarningLevel> + <Optimization>Disabled</Optimization> + <PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <SDLCheck>true</SDLCheck> + </ClCompile> + <ResourceCompile> + <Culture>0x0409</Culture> + <AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ResourceCompile> + <Link> + <SubSystem>Console</SubSystem> + <GenerateDebugInformation>true</GenerateDebugInformation> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <ClCompile> + <PrecompiledHeader>NotUsing</PrecompiledHeader> + <WarningLevel>Level3</WarningLevel> + <Optimization>Disabled</Optimization> + <PreprocessorDefinitions>_WINDOWS;_AMD64_;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <SDLCheck>true</SDLCheck> + </ClCompile> + <ResourceCompile> + <Culture>0x0409</Culture> + <AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ResourceCompile> + <Link> + <SubSystem>Console</SubSystem> + <GenerateDebugInformation>true</GenerateDebugInformation> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <PrecompiledHeader>NotUsing</PrecompiledHeader> + <WarningLevel>Level3</WarningLevel> + <Optimization>MaxSpeed</Optimization> + <PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <SDLCheck>true</SDLCheck> + </ClCompile> + <ResourceCompile> + <Culture>0x0409</Culture> + <AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ResourceCompile> + <Link> + <SubSystem>Console</SubSystem> + <GenerateDebugInformation>true</GenerateDebugInformation> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <OptimizeReferences>true</OptimizeReferences> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <ClCompile> + <PrecompiledHeader>NotUsing</PrecompiledHeader> + <WarningLevel>Level3</WarningLevel> + <Optimization>MaxSpeed</Optimization> + <PreprocessorDefinitions>_WINDOWS;_AMD64_;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <SDLCheck>true</SDLCheck> + </ClCompile> + <ResourceCompile> + <Culture>0x0409</Culture> + <AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ResourceCompile> + <Link> + <SubSystem>Console</SubSystem> + <GenerateDebugInformation>true</GenerateDebugInformation> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <OptimizeReferences>true</OptimizeReferences> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="../CRegKey.cpp"> + <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MultiThreaded</RuntimeLibrary> + <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MultiThreaded</RuntimeLibrary> + <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">MultiThreadedDebug</RuntimeLibrary> + <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">MultiThreadedDebug</RuntimeLibrary> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">NotUsing</PrecompiledHeader> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader> + </ClCompile> + </ItemGroup> + <ItemGroup> + <ClInclude Include="..\resource.h" /> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="..\atl_apitest.rc" /> + </ItemGroup> + <ItemGroup> + <None Include="..\cpath.inl" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
3 months, 1 week
1
0
0
0
[reactos] 02/10: [IPHLPAPI_APITEST] Fix a test for x64
by Timo Kreuzer
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a8cda82924e4428b4d503…
commit a8cda82924e4428b4d503f7eec4ed19e168725de Author: Timo Kreuzer <timo.kreuzer(a)reactos.org> AuthorDate: Thu Sep 12 10:04:13 2024 +0300 Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org> CommitDate: Sun Sep 15 19:28:07 2024 +0300 [IPHLPAPI_APITEST] Fix a test for x64 --- modules/rostests/apitests/iphlpapi/GetInterfaceName.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/rostests/apitests/iphlpapi/GetInterfaceName.c b/modules/rostests/apitests/iphlpapi/GetInterfaceName.c index 2228ba943e0..988c54572e0 100644 --- a/modules/rostests/apitests/iphlpapi/GetInterfaceName.c +++ b/modules/rostests/apitests/iphlpapi/GetInterfaceName.c @@ -112,7 +112,11 @@ test_NhGetInterfaceNameFromGuid(GUID AdapterGUID, DWORD par1, DWORD par2) Error = GetLastError(); ok_long(ApiReturn, ((GetVersion() & 0xFF) >= 6) ? ERROR_INVALID_PARAMETER : ERROR_NOT_FOUND); +#ifdef _M_AMD64 + ok_long(Error, ERROR_FILE_NOT_FOUND); +#else ok_long(Error, 0); +#endif ok(ulOutBufLen == sizeof(Name), "ulOutBufLen is %ld, expected = sizeof(Name)\n", ulOutBufLen);
3 months, 1 week
1
0
0
0
[reactos] 01/10: [ADVAPI32_APITEST] #if out 2 tests for x64 that fail on Windows 2003 x64
by Timo Kreuzer
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a71d80239dbf29e578995…
commit a71d80239dbf29e578995c04415486cece2ac99b Author: Timo Kreuzer <timo.kreuzer(a)reactos.org> AuthorDate: Thu Sep 12 10:03:41 2024 +0300 Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org> CommitDate: Sun Sep 15 19:28:07 2024 +0300 [ADVAPI32_APITEST] #if out 2 tests for x64 that fail on Windows 2003 x64 --- modules/rostests/apitests/advapi32/QueryServiceConfig2.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/rostests/apitests/advapi32/QueryServiceConfig2.c b/modules/rostests/apitests/advapi32/QueryServiceConfig2.c index a9bc478efc8..a8260366fca 100644 --- a/modules/rostests/apitests/advapi32/QueryServiceConfig2.c +++ b/modules/rostests/apitests/advapi32/QueryServiceConfig2.c @@ -225,8 +225,9 @@ static int QueryConfig2W(SC_HANDLE hService, LPCWSTR serviceName, DWORD dwInfoLe /* Check the values */ ok(lpFailureActions1->dwResetPeriod == lpFailureActions2->dwResetPeriod, "lpFailureActions1->dwResetPeriod != lpFailureActions2->dwResetPeriod\n"); +#ifndef _M_AMD64 // Fails on Win 2003 x64 ok(lpFailureActions1->cActions == lpFailureActions2->cActions, "lpFailureActions1->cActions != lpFailureActions2->cActions\n"); - +#endif /* Compare the actions */ if (lpFailureActions1->cActions == lpFailureActions2->cActions) { @@ -417,7 +418,9 @@ static int QueryConfig2A(SC_HANDLE hService, LPCSTR serviceName, DWORD dwInfoLev /* Check the values */ ok(lpFailureActions1->dwResetPeriod == lpFailureActions2->dwResetPeriod, "lpFailureActions1->dwResetPeriod != lpFailureActions2->dwResetPeriod\n"); +#ifndef _M_AMD64 // Fails on Win 2003 x64 ok(lpFailureActions1->cActions == lpFailureActions2->cActions, "lpFailureActions1->cActions != lpFailureActions2->cActions\n"); +#endif /* Compare the actions */ if (lpFailureActions1->cActions == lpFailureActions2->cActions)
3 months, 1 week
1
0
0
0
[reactos] 04/04: [NTUSER] Fix unaligned access in co_IntSetWindowLongPtr
by Timo Kreuzer
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=dbb72f492373533c1f943…
commit dbb72f492373533c1f943542de5f55029e9e3f09 Author: Timo Kreuzer <timo.kreuzer(a)reactos.org> AuthorDate: Wed Sep 11 15:59:28 2024 +0300 Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org> CommitDate: Sun Sep 15 12:09:09 2024 +0300 [NTUSER] Fix unaligned access in co_IntSetWindowLongPtr --- win32ss/user/ntuser/window.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/win32ss/user/ntuser/window.c b/win32ss/user/ntuser/window.c index 2d25e99cf67..a21c559d9ff 100644 --- a/win32ss/user/ntuser/window.c +++ b/win32ss/user/ntuser/window.c @@ -9,6 +9,8 @@ #include <win32k.h> #include <immdev.h> +#include <unaligned.h> + DBG_DEFAULT_CHANNEL(UserWnd); INT gNestedWindowLimit = 50; @@ -3842,16 +3844,18 @@ co_IntSetWindowLongPtr(HWND hWnd, DWORD Index, LONG_PTR NewValue, BOOL Ansi, ULO return 0; } + PVOID Address = (PUCHAR)(&Window[1]) + Index; + #ifdef _WIN64 if (Size == sizeof(LONG)) { - OldValue = *((LONG *)((PCHAR)(Window + 1) + Index)); - *((LONG*)((PCHAR)(Window + 1) + Index)) = (LONG)NewValue; + OldValue = ReadUnalignedU32(Address); + WriteUnalignedU32(Address, NewValue); } else #endif { - OldValue = *((LONG_PTR *)((PCHAR)(Window + 1) + Index)); + OldValue = ReadUnalignedUlongPtr(Address); /* if ( Index == DWLP_DLGPROC && Wnd->state & WNDS_DIALOGWINDOW) { @@ -3859,7 +3863,7 @@ co_IntSetWindowLongPtr(HWND hWnd, DWORD Index, LONG_PTR NewValue, BOOL Ansi, ULO if (!OldValue) return 0; } */ - *((LONG_PTR*)((PCHAR)(Window + 1) + Index)) = NewValue; + WriteUnalignedUlongPtr(Address, NewValue); } }
3 months, 1 week
1
0
0
0
[reactos] 03/04: [USER32][NTUSER] Implement (NtUser)SetClassLongPtr(A/W)
by Timo Kreuzer
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=201f00ab6f847b525c518…
commit 201f00ab6f847b525c51858c6bb977c4aee1cc9a Author: Timo Kreuzer <timo.kreuzer(a)reactos.org> AuthorDate: Mon Sep 9 18:30:15 2024 +0300 Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org> CommitDate: Sun Sep 15 12:09:09 2024 +0300 [USER32][NTUSER] Implement (NtUser)SetClassLongPtr(A/W) --- win32ss/include/ntuser.h | 24 +- win32ss/user/ntuser/class.c | 80 +- win32ss/user/ntuser/ntstubs.c | 9 - win32ss/user/user32/windows/class.c | 12 +- win32ss/w32ksvc64.h | 1370 +++++++++++++++++------------------ 5 files changed, 772 insertions(+), 723 deletions(-) diff --git a/win32ss/include/ntuser.h b/win32ss/include/ntuser.h index 9803eb1bce3..7e09af4896f 100644 --- a/win32ss/include/ntuser.h +++ b/win32ss/include/ntuser.h @@ -3015,11 +3015,22 @@ NtUserSetCapture( ULONG_PTR NTAPI NtUserSetClassLong( - HWND hWnd, - INT Offset, - ULONG_PTR dwNewLong, - BOOL Ansi); + _In_ HWND hWnd, + _In_ INT Offset, + _In_ ULONG dwNewLong, + _In_ BOOL Ansi); + +#ifdef _WIN64 +ULONG_PTR +APIENTRY +NtUserSetClassLongPtr( + _In_ HWND hWnd, + _In_ INT Offset, + _In_ ULONG_PTR dwNewLong, + _In_ BOOL Ansi); + +#endif // _WIN64 WORD NTAPI NtUserSetClassWord( @@ -3085,11 +3096,6 @@ NtUserFindExistingCursorIcon( _In_ PUNICODE_STRING pustrRsrc, _In_ FINDEXISTINGCURICONPARAM *param); -LONG_PTR -APIENTRY -NtUserSetClassLongPtr( - VOID); - DWORD NTAPI NtUserSetDbgTag( diff --git a/win32ss/user/ntuser/class.c b/win32ss/user/ntuser/class.c index 1ad90351265..018d8e16ea9 100644 --- a/win32ss/user/ntuser/class.c +++ b/win32ss/user/ntuser/class.c @@ -7,6 +7,8 @@ */ #include <win32k.h> +#include <unaligned.h> + DBG_DEFAULT_CHANNEL(UserClass); static PWSTR ControlsList[] = @@ -1865,11 +1867,37 @@ IntSetClassMenuName(IN PCLS Class, return Ret; } +static inline +ULONG_PTR +IntGetSetClassLongPtr(PCLS Class, ULONG Index, ULONG_PTR NewValue, ULONG Size) +{ + PVOID Address = (PUCHAR)(&Class[1]) + Index; + ULONG_PTR OldValue; + +#ifdef _WIN64 + if (Size == sizeof(LONG)) + { + /* Values might be unaligned */ + OldValue = ReadUnalignedU32(Address); + WriteUnalignedU32(Address, NewValue); + } + else +#endif + { + /* Values might be unaligned */ + OldValue = ReadUnalignedUlongPtr(Address); + WriteUnalignedUlongPtr(Address, NewValue); + } + + return OldValue; +} + ULONG_PTR UserSetClassLongPtr(IN PCLS Class, IN INT Index, IN ULONG_PTR NewLong, - IN BOOL Ansi) + IN BOOL Ansi, + IN ULONG Size) { ULONG_PTR Ret = 0; @@ -1880,30 +1908,22 @@ UserSetClassLongPtr(IN PCLS Class, if (Index >= 0) { - PULONG_PTR Data; - TRACE("SetClassLong(%d, %x)\n", Index, NewLong); - if (((ULONG)Index + sizeof(ULONG_PTR)) < (ULONG)Index || - ((ULONG)Index + sizeof(ULONG_PTR)) > (ULONG)Class->cbclsExtra) + if (((ULONG)Index + Size) < (ULONG)Index || + ((ULONG)Index + Size) > (ULONG)Class->cbclsExtra) { EngSetLastError(ERROR_INVALID_PARAMETER); return 0; } - Data = (PULONG_PTR)((ULONG_PTR)(Class + 1) + Index); - - /* FIXME: Data might be a unaligned pointer! Might be a problem on - certain architectures, maybe using RtlCopyMemory is a - better choice for those architectures! */ - Ret = *Data; - *Data = NewLong; + Ret = IntGetSetClassLongPtr(Class, Index, NewLong, Size); /* Update the clones */ Class = Class->pclsClone; while (Class != NULL) { - *(PULONG_PTR)((ULONG_PTR)(Class + 1) + Index) = NewLong; + IntGetSetClassLongPtr(Class, Index, NewLong, Size); Class = Class->pclsNext; } @@ -2583,10 +2603,11 @@ InvalidParameter: } ULONG_PTR APIENTRY -NtUserSetClassLong(HWND hWnd, +IntNtUserSetClassLongPtr(HWND hWnd, INT Offset, ULONG_PTR dwNewLong, - BOOL Ansi) + BOOL Ansi, + ULONG Size) { PPROCESSINFO pi; PWND Window; @@ -2655,7 +2676,8 @@ InvalidParameter: Ret = UserSetClassLongPtr(Window->pcls, Offset, dwNewLong, - Ansi); + Ansi, + Size); switch(Offset) { case GCLP_HICONSM: @@ -2679,6 +2701,32 @@ Cleanup: return Ret; } +ULONG_PTR +APIENTRY +NtUserSetClassLong( + _In_ HWND hWnd, + _In_ INT Offset, + _In_ ULONG dwNewLong, + _In_ BOOL Ansi) +{ + return IntNtUserSetClassLongPtr(hWnd, Offset, dwNewLong, Ansi, sizeof(LONG)); +} + +#ifdef _WIN64 + +ULONG_PTR +APIENTRY +NtUserSetClassLongPtr( + _In_ HWND hWnd, + _In_ INT Offset, + _In_ ULONG_PTR dwNewLong, + _In_ BOOL Ansi) +{ + return IntNtUserSetClassLongPtr(hWnd, Offset, dwNewLong, Ansi, sizeof(LONG_PTR)); +} + +#endif // _WIN64 + WORD APIENTRY NtUserSetClassWord( diff --git a/win32ss/user/ntuser/ntstubs.c b/win32ss/user/ntuser/ntstubs.c index 99e34dc5008..02ad7a4c057 100644 --- a/win32ss/user/ntuser/ntstubs.c +++ b/win32ss/user/ntuser/ntstubs.c @@ -949,15 +949,6 @@ BOOL APIENTRY NtUserGetUpdatedClipboardFormats( return FALSE; } -LONG_PTR -APIENTRY -NtUserSetClassLongPtr( - VOID) -{ - STUB; - return 0; -} - // Yes, I know, these do not belong here, just tell me where to put them BOOL APIENTRY diff --git a/win32ss/user/user32/windows/class.c b/win32ss/user/user32/windows/class.c index 63c84a46e60..4092936d731 100644 --- a/win32ss/user/user32/windows/class.c +++ b/win32ss/user/user32/windows/class.c @@ -1607,8 +1607,10 @@ SetClassLongPtrA(HWND hWnd, INT nIndex, LONG_PTR dwNewLong) { - UNIMPLEMENTED; - return 0; + return NtUserSetClassLongPtr(hWnd, + nIndex, + dwNewLong, + TRUE); } /* @@ -1620,8 +1622,10 @@ SetClassLongPtrW(HWND hWnd, INT nIndex, LONG_PTR dwNewLong) { - UNIMPLEMENTED; - return 0; + return NtUserSetClassLongPtr(hWnd, + nIndex, + dwNewLong, + FALSE); } #endif // _WIN64 diff --git a/win32ss/w32ksvc64.h b/win32ss/w32ksvc64.h index 702594b0262..e50c0f00cb1 100644 --- a/win32ss/w32ksvc64.h +++ b/win32ss/w32ksvc64.h @@ -3,688 +3,688 @@ // Funcs order should match Windows 2003 Service Pack 2 x64 Free // Note: these MUST be indented for the ARM assembler! // - SVC_(UserGetThreadState, 1) // �0x1000� - SVC_(UserPeekMessage, 5) // �0x1001� - SVC_(UserCallOneParam, 2) // �0x1002� - SVC_(UserGetKeyState, 1) // �0x1003� - SVC_(UserInvalidateRect, 3) // �0x1004� - SVC_(UserCallNoParam, 1) // �0x1005� - SVC_(UserGetMessage, 4) // �0x1006� - SVC_(UserMessageCall, 7) // �0x1007� - SVC_(GdiBitBlt, 11) // �0x1008� - SVC_(GdiGetCharSet, 1) // �0x1009� - SVC_(UserGetDC, 1) // �0x100a� - SVC_(GdiSelectBitmap, 2) // �0x100b� - SVC_(UserWaitMessage, 0) // �0x100c� - SVC_(UserTranslateMessage, 2) // �0x100d� - SVC_(UserPostMessage, 4) // �0x100e� - SVC_(UserQueryWindow, 2) // �0x100f� - SVC_(UserTranslateAccelerator, 3) // �0x1010� - SVC_(GdiFlush, 0) // �0x1011� - SVC_(UserRedrawWindow, 4) // �0x1012� - SVC_(UserWindowFromPoint, 2) // �0x1013� - SVC_(UserCallMsgFilter, 2) // �0x1014� - SVC_(UserValidateTimerCallback, 1) // �0x1015� - SVC_(UserBeginPaint, 2) // �0x1016� - SVC_(UserSetTimer, 4) // �0x1017� - SVC_(UserEndPaint, 2) // �0x1018� - SVC_(UserSetCursor, 1) // �0x1019� - SVC_(UserKillTimer, 2) // �0x101a� - SVC_(UserBuildHwndList, 7) // �0x101b� - SVC_(UserSelectPalette, 3) // �0x101c� - SVC_(UserCallNextHookEx, 4) // �0x101d� - SVC_(UserHideCaret, 1) // �0x101e� - SVC_(GdiIntersectClipRect, 5) // �0x101f� - SVC_(UserCallHwndLock, 2) // �0x1020� - SVC_(UserGetProcessWindowStation, 0) // �0x1021� - SVC_(GdiDeleteObjectApp, 1) // �0x1022� - SVC_(UserSetWindowPos, 7) // �0x1023� - SVC_(UserShowCaret, 1) // �0x1024� - SVC_(UserEndDeferWindowPosEx, 2) // �0x1025� - SVC_(UserCallHwndParamLock, 3) // �0x1026� - SVC_(UserVkKeyScanEx, 3) // �0x1027� - SVC_(GdiSetDIBitsToDeviceInternal, 16) // �0x1028� - SVC_(UserCallTwoParam, 3) // �0x1029� - SVC_(GdiGetRandomRgn, 3) // �0x102a� - SVC_(UserCopyAcceleratorTable, 3) // �0x102b� - SVC_(UserNotifyWinEvent, 4) // �0x102c� - SVC_(GdiExtSelectClipRgn, 3) // �0x102d� - SVC_(UserIsClipboardFormatAvailable, 1) // �0x102e� - SVC_(UserSetScrollInfo, 4) // �0x102f� - SVC_(GdiStretchBlt, 12) // �0x1030� - SVC_(UserCreateCaret, 4) // �0x1031� - SVC_(GdiRectVisible, 2) // �0x1032� - SVC_(GdiCombineRgn, 4) // �0x1033� - SVC_(GdiGetDCObject, 2) // �0x1034� - SVC_(UserDispatchMessage, 1) // �0x1035� - SVC_(UserRegisterWindowMessage, 1) // �0x1036� - SVC_(GdiExtTextOutW, 9) // �0x1037� - SVC_(GdiSelectFont, 2) // �0x1038� - SVC_(GdiRestoreDC, 2) // �0x1039� - SVC_(GdiSaveDC, 1) // �0x103a� - SVC_(UserGetForegroundWindow, 0) // �0x103b� - SVC_(UserShowScrollBar, 3) // �0x103c� - SVC_(UserFindExistingCursorIcon, 3) // �0x103d� - SVC_(GdiGetDCDword, 3) // �0x103e� - SVC_(GdiGetRegionData, 3) // �0x103f� - SVC_(GdiLineTo, 3) // �0x1040� - SVC_(UserSystemParametersInfo, 4) // �0x1041� - SVC_(GdiGetAppClipBox, 2) // �0x1042� - SVC_(UserGetAsyncKeyState, 1) // �0x1043� - SVC_(UserGetCPD, 3) // �0x1044� - SVC_(UserRemoveProp, 2) // �0x1045� - SVC_(GdiDoPalette, 6) // �0x1046� - SVC_(GdiPolyPolyDraw, 5) // �0x1047� - SVC_(UserSetCapture, 1) // �0x1048� - SVC_(UserEnumDisplayMonitors, 5) /* FIXME: 4 on XP/2k3 */ // �0x1049� - SVC_(GdiCreateCompatibleBitmap, 3) // �0x104a� - SVC_(UserSetProp, 3) // �0x104b� - SVC_(GdiGetTextCharsetInfo, 3) // �0x104c� - SVC_(UserSBGetParms, 4) // �0x104d� - SVC_(UserGetIconInfo, 6) // �0x104e� - SVC_(UserExcludeUpdateRgn, 2) // �0x104f� - SVC_(UserSetFocus, 1) // �0x1050� - SVC_(GdiExtGetObjectW, 3) // �0x1051� - SVC_(UserDeferWindowPos, 8) // �0x1052� - SVC_(UserGetUpdateRect, 3) // �0x1053� - SVC_(GdiCreateCompatibleDC, 1) // �0x1054� - SVC_(UserGetClipboardSequenceNumber, 0) // �0x1055� - SVC_(GdiCreatePen, 4) // �0x1056� - SVC_(UserShowWindow, 2) // �0x1057� - SVC_(UserGetKeyboardLayoutList, 2) // �0x1058� - SVC_(GdiPatBlt, 6) // �0x1059� - SVC_(UserMapVirtualKeyEx, 4) // �0x105a� - SVC_(UserSetWindowLong, 4) // �0x105b� - SVC_(GdiHfontCreate, 5) // �0x105c� - SVC_(UserMoveWindow, 6) // �0x105d� - SVC_(UserPostThreadMessage, 4) // �0x105e� - SVC_(UserDrawIconEx, 11) // �0x105f� - SVC_(UserGetSystemMenu, 2) // �0x1060� - SVC_(GdiDrawStream, 3) // �0x1061� - SVC_(UserInternalGetWindowText, 3) // �0x1062� - SVC_(UserGetWindowDC, 1) // �0x1063� - SVC_(GdiD3dDrawPrimitives2, 7) // �0x1064� - SVC_(GdiInvertRgn, 2) // �0x1065� - SVC_(GdiGetRgnBox, 2) // �0x1066� - SVC_(GdiGetAndSetDCDword, 4) // �0x1067� - SVC_(GdiMaskBlt, 13) // �0x1068� - SVC_(GdiGetWidthTable, 7) // �0x1069� - SVC_(UserScrollDC, 7) // �0x106a� - SVC_(UserGetObjectInformation, 5) // �0x106b� - SVC_(GdiCreateBitmap, 5) // �0x106c� - SVC_(GdiConsoleTextOut, 4) // �0x106d� - SVC_(UserFindWindowEx, 5) // �0x106e� - SVC_(GdiPolyPatBlt, 5) // �0x106f� - SVC_(UserUnhookWindowsHookEx, 1) // �0x1070� - SVC_(GdiGetNearestColor, 2) // �0x1071� - SVC_(GdiTransformPoints, 5) // �0x1072� - SVC_(GdiGetDCPoint, 3) // �0x1073� - SVC_(UserCheckImeHotKey, 2) // �0x1074� - SVC_(GdiCreateDIBBrush, 6) // �0x1075� - SVC_(GdiGetTextMetricsW, 3) // �0x1076� - SVC_(UserCreateWindowEx, 15) // �0x1077� - SVC_(UserSetParent, 2) // �0x1078� - SVC_(UserGetKeyboardState, 1) // �0x1079� - SVC_(UserToUnicodeEx, 7) // �0x107a� - SVC_(UserGetControlBrush, 3) // �0x107b� - SVC_(UserGetClassName, 3) // �0x107c� - SVC_(GdiAlphaBlend, 12) // �0x107d� - SVC_(GdiDdBlt, 3) // �0x107e� - SVC_(GdiOffsetRgn, 3) // �0x107f� - SVC_(UserDefSetText, 2) // �0x1080� - SVC_(GdiGetTextFaceW, 4) // �0x1081� - SVC_(GdiStretchDIBitsInternal, 16) // �0x1082� - SVC_(UserSendInput, 3) // �0x1083� - SVC_(UserGetThreadDesktop, 2) // �0x1084� - SVC_(GdiCreateRectRgn, 4) // �0x1085� - SVC_(GdiGetDIBitsInternal, 9) // �0x1086� - SVC_(UserGetUpdateRgn, 3) // �0x1087� - SVC_(GdiDeleteClientObj, 1) // �0x1088� - SVC_(UserGetIconSize, 4) // �0x1089� - SVC_(UserFillWindow, 4) // �0x108a� - SVC_(GdiExtCreateRegion, 3) // �0x108b� - SVC_(GdiComputeXformCoefficients, 1) // �0x108c� - SVC_(UserSetWindowsHookEx, 6) // �0x108d� - SVC_(UserNotifyProcessCreate, 4) // �0x108e� - SVC_(GdiUnrealizeObject, 1) // �0x108f� - SVC_(UserGetTitleBarInfo, 2) // �0x1090� - SVC_(GdiRectangle, 5) // �0x1091� - SVC_(UserSetThreadDesktop, 1) // �0x1092� - SVC_(UserGetDCEx, 3) // �0x1093� - SVC_(UserGetScrollBarInfo, 3) // �0x1094� - SVC_(GdiGetTextExtent, 5) // �0x1095� - SVC_(UserSetWindowFNID, 2) // �0x1096� - SVC_(GdiSetLayout, 3) // �0x1097� - SVC_(UserCalcMenuBar, 5) // �0x1098� - SVC_(UserThunkedMenuItemInfo, 6) // �0x1099� - SVC_(GdiExcludeClipRect, 5) // �0x109a� - SVC_(GdiCreateDIBSection, 9) // �0x109b� - SVC_(GdiGetDCforBitmap, 1) // �0x109c� - SVC_(UserDestroyCursor, 2) // �0x109d� - SVC_(UserDestroyWindow, 1) // �0x109e� - SVC_(UserCallHwndParam, 3) // �0x109f� - SVC_(GdiCreateDIBitmapInternal, 11) // �0x10a0� - SVC_(UserOpenWindowStation, 2) // �0x10a1� - SVC_(GdiDdDeleteSurfaceObject, 1) // �0x10a2� - SVC_(GdiEnumFontClose, 1) // �0x10a3� - SVC_(GdiEnumFontOpen, 7) // �0x10a4� - SVC_(GdiEnumFontChunk, 5) // �0x10a5� - SVC_(GdiDdCanCreateSurface, 2) // �0x10a6� - SVC_(GdiDdCreateSurface, 8) // �0x10a7� - SVC_(UserSetCursorIconData, 4) // �0x10a8� - SVC_(GdiDdDestroySurface, 2) // �0x10a9� - SVC_(UserCloseDesktop, 1) // �0x10aa� - SVC_(UserOpenDesktop, 3) // �0x10ab� - SVC_(UserSetProcessWindowStation, 1) // �0x10ac� - SVC_(UserGetAtomName, 2) // �0x10ad� - SVC_(GdiDdResetVisrgn, 2) // �0x10ae� - SVC_(GdiExtCreatePen, 11) // �0x10af� - SVC_(GdiCreatePaletteInternal, 2) // �0x10b0� - SVC_(GdiSetBrushOrg, 4) // �0x10b1� - SVC_(UserBuildNameList, 4) // �0x10b2� - SVC_(GdiSetPixel, 4) // �0x10b3� - SVC_(UserRegisterClassExWOW, 7) // �0x10b4� - SVC_(GdiCreatePatternBrushInternal, 3) // �0x10b5� - SVC_(UserGetAncestor, 2) // �0x10b6� - SVC_(GdiGetOutlineTextMetricsInternalW, 4) // �0x10b7� - SVC_(GdiSetBitmapBits, 3) // �0x10b8� - SVC_(UserCloseWindowStation, 1) // �0x10b9� - SVC_(UserGetDoubleClickTime, 0) // �0x10ba� - SVC_(UserEnableScrollBar, 3) // �0x10bb� - SVC_(GdiCreateSolidBrush, 2) // �0x10bc� - SVC_(UserGetClassInfo, 5) // �0x10bd�aka UserGetClassInfoEx - SVC_(GdiCreateClientObj, 1) // �0x10be� - SVC_(UserUnregisterClass, 3) // �0x10bf� - SVC_(UserDeleteMenu, 3) // �0x10c0� - SVC_(GdiRectInRegion, 2) // �0x10c1� - SVC_(UserScrollWindowEx, 8) // �0x10c2� - SVC_(GdiGetPixel, 3) // �0x10c3� - SVC_(UserSetClassLong, 4) // �0x10c4� - SVC_(UserGetMenuBarInfo, 4) // �0x10c5� - SVC_(GdiDdCreateSurfaceEx, 3) // �0x10c6� - SVC_(GdiDdCreateSurfaceObject, 6) // �0x10c7� - SVC_(GdiGetNearestPaletteIndex, 2) // �0x10c8� - SVC_(GdiDdLockD3D, 2) // �0x10c9� - SVC_(GdiDdUnlockD3D, 2) // �0x10ca� - SVC_(GdiGetCharWidthW, 6) // �0x10cb� - SVC_(UserInvalidateRgn, 3) // �0x10cc� - SVC_(UserGetClipboardOwner, 0) // �0x10cd� - SVC_(UserSetWindowRgn, 3) // �0x10ce� - SVC_(UserBitBltSysBmp, 8) // �0x10cf� - SVC_(GdiGetCharWidthInfo, 2) // �0x10d0� - SVC_(UserValidateRect, 2) // �0x10d1� - SVC_(UserCloseClipboard, 0) // �0x10d2� - SVC_(UserOpenClipboard, 2) // �0x10d3� - SVC_(GdiGetStockObject, 1) // �0x10d4� - SVC_(UserSetClipboardData, 3) // �0x10d5� - SVC_(UserEnableMenuItem, 3) // �0x10d6� - SVC_(UserAlterWindowStyle, 3) // �0x10d7� - SVC_(GdiFillRgn, 3) // �0x10d8� - SVC_(UserGetWindowPlacement, 2) // �0x10d9� - SVC_(GdiModifyWorldTransform, 3) // �0x10da� - SVC_(GdiGetFontData, 5) // �0x10db� - SVC_(UserGetOpenClipboardWindow, 0) // �0x10dc� - SVC_(UserSetThreadState, 2) // �0x10dd� - SVC_(GdiOpenDCW, 7) // �0x10de� - SVC_(UserTrackMouseEvent, 1) // �0x10df� - SVC_(GdiGetTransform, 3) // �0x10e0� - SVC_(UserDestroyMenu, 1) // �0x10e1� - SVC_(GdiGetBitmapBits, 3) // �0x10e2� - SVC_(UserConsoleControl, 3) // �0x10e3� - SVC_(UserSetActiveWindow, 1) // �0x10e4� - SVC_(UserSetInformationThread, 4) // �0x10e5� - SVC_(UserSetWindowPlacement, 2) // �0x10e6� - SVC_(UserGetControlColor, 4) // �0x10e7� - SVC_(GdiSetMetaRgn, 1) // �0x10e8� - SVC_(GdiSetMiterLimit, 3) // �0x10e9� - SVC_(GdiSetVirtualResolution, 5) // �0x10ea� - SVC_(GdiGetRasterizerCaps, 2) // �0x10eb� - SVC_(UserSetWindowWord, 3) // �0x10ec� - SVC_(UserGetClipboardFormatName, 3) // �0x10ed� - SVC_(UserRealInternalGetMessage, 6) // �0x10ee� - SVC_(UserCreateLocalMemHandle, 4) // �0x10ef� - SVC_(UserAttachThreadInput, 3) // �0x10f0� - SVC_(GdiCreateHalftonePalette, 1) // �0x10f1� - SVC_(UserPaintMenuBar, 6) // �0x10f2� - SVC_(UserSetKeyboardState, 1) // �0x10f3� - SVC_(GdiCombineTransform, 3) // �0x10f4� - SVC_(UserCreateAcceleratorTable, 2) // �0x10f5� - SVC_(UserGetCursorFrameInfo, 4) // �0x10f6� - SVC_(UserGetAltTabInfo, 6) // �0x10f7� - SVC_(UserGetCaretBlinkTime, 0) // �0x10f8� - SVC_(GdiQueryFontAssocInfo, 1) // �0x10f9� - SVC_(UserProcessConnect, 3) // �0x10fa� - SVC_(UserEnumDisplayDevices, 4) // �0x10fb� - SVC_(UserEmptyClipboard, 0) // �0x10fc� - SVC_(UserGetClipboardData, 2) // �0x10fd� - SVC_(UserRemoveMenu, 3) // �0x10fe� - SVC_(GdiSetBoundsRect, 3) // �0x10ff� - SVC_(UserSetInformationProcess, 4) // �0x1100� - SVC_(GdiGetBitmapDimension, 2) // �0x1101� - SVC_(UserConvertMemHandle, 2) // �0x1102� - SVC_(UserDestroyAcceleratorTable, 1) // �0x1103� - SVC_(UserGetGUIThreadInfo, 2) // �0x1104� - SVC_(GdiCloseFigure, 1) // �0x1105� - SVC_(UserSetWindowsHookAW, 3) // �0x1106� - SVC_(UserSetMenuDefaultItem, 3) // �0x1107� - SVC_(UserCheckMenuItem, 3) // �0x1108� - SVC_(UserSetWinEventHook, 8) // �0x1109� - SVC_(UserUnhookWinEvent, 1) // �0x110a� - SVC_(GdiSetupPublicCFONT, 3) // �0x110b� - SVC_(UserLockWindowUpdate, 1) // �0x110c� - SVC_(UserSetSystemMenu, 2) // �0x110d� - SVC_(UserThunkedMenuInfo, 2) // �0x110e� - SVC_(GdiBeginPath, 1) // �0x110f� - SVC_(GdiEndPath, 1) // �0x1110� - SVC_(GdiFillPath, 1) // �0x1111� - SVC_(UserCallHwnd, 2) // �0x1112� - SVC_(UserDdeInitialize, 5) // �0x1113� - SVC_(UserModifyUserStartupInfoFlags, 2) // �0x1114� - SVC_(UserCountClipboardFormats, 0) // �0x1115� - SVC_(GdiAddFontMemResourceEx, 5) // �0x1116� - SVC_(GdiEqualRgn, 2) // �0x1117� - SVC_(GdiGetSystemPaletteUse, 1) // �0x1118� - SVC_(GdiRemoveFontMemResourceEx, 1) // �0x1119� - SVC_(UserEnumDisplaySettings, 4) // �0x111a� - SVC_(UserPaintDesktop, 1) // �0x111b� - SVC_(GdiExtEscape, 8) // �0x111c� - SVC_(GdiSetBitmapDimension, 4) // �0x111d� - SVC_(GdiSetFontEnumeration, 1) // �0x111e� - SVC_(UserChangeClipboardChain, 2) // �0x111f� - SVC_(UserResolveDesktop, 4) // �0x1120� - SVC_(UserSetClipboardViewer, 1) // �0x1121� - SVC_(UserShowWindowAsync, 2) // �0x1122� - SVC_(UserSetConsoleReserveKeys, 2) // �0x1123� - SVC_(GdiCreateColorSpace, 1) // �0x1124� - SVC_(GdiDeleteColorSpace, 1) // �0x1125� - SVC_(UserActivateKeyboardLayout, 2) // �0x1126� - SVC_(GdiAbortDoc, 1) // �0x1127� - SVC_(GdiAbortPath, 1) // �0x1128� - SVC_(GdiAddEmbFontToDC, 2) // �0x1129� - SVC_(GdiAddFontResourceW, 6) // �0x112a� - SVC_(GdiAddRemoteFontToDC, 4) // �0x112b� - SVC_(GdiAddRemoteMMInstanceToDC, 3) // �0x112c� - SVC_(GdiAngleArc, 6) // �0x112d� - SVC_(GdiAnyLinkedFonts, 0) // �0x112e� - SVC_(GdiArcInternal, 10) // �0x112f� - SVC_(GdiBRUSHOBJ_DeleteRbrush, 2) // �0x1130� - SVC_(GdiBRUSHOBJ_hGetColorTransform, 1) // �0x1131� - SVC_(GdiBRUSHOBJ_pvAllocRbrush, 2) // �0x1132� - SVC_(GdiBRUSHOBJ_pvGetRbrush, 1) // �0x1133� - SVC_(GdiBRUSHOBJ_ulGetBrushColor, 1) // �0x1134� - SVC_(GdiCLIPOBJ_bEnum, 3) // �0x1135� - SVC_(GdiCLIPOBJ_cEnumStart, 5) // �0x1136� - SVC_(GdiCLIPOBJ_ppoGetPath, 1) // �0x1137� - SVC_(GdiCancelDC, 1) // �0x1138� - SVC_(GdiChangeGhostFont, 2) // �0x1139� - SVC_(GdiCheckBitmapBits, 8) // �0x113a� - SVC_(GdiClearBitmapAttributes, 2) // �0x113b� - SVC_(GdiClearBrushAttributes, 2) // �0x113c� - SVC_(GdiColorCorrectPalette, 6) // �0x113d� - SVC_(GdiConvertMetafileRect, 2) // �0x113e� - SVC_(GdiCreateColorTransform, 8) // �0x113f� - SVC_(GdiCreateEllipticRgn, 4) // �0x1140� - SVC_(GdiCreateHatchBrushInternal, 3) // �0x1141� - SVC_(GdiCreateMetafileDC, 1) // �0x1142� - SVC_(GdiCreateRoundRectRgn, 6) // �0x1143� - SVC_(GdiCreateServerMetaFile, 6) // �0x1144� - SVC_(GdiD3dContextCreate, 4) // �0x1145� - SVC_(GdiD3dContextDestroy, 1) // �0x1146� - SVC_(GdiD3dContextDestroyAll, 1) // �0x1147� - SVC_(GdiD3dValidateTextureStageState, 1) // �0x1148� - SVC_(GdiDdAddAttachedSurface, 3) // �0x1149� - SVC_(GdiDdAlphaBlt, 3) // �0x114a� - SVC_(GdiDdAttachSurface, 2) // �0x114b� - SVC_(GdiDdBeginMoCompFrame, 2) // �0x114c� - SVC_(GdiDdCanCreateD3DBuffer, 2) // �0x114d� - SVC_(GdiDdColorControl, 2) // �0x114e� - SVC_(GdiDdCreateD3DBuffer, 8) // �0x114f� - SVC_(GdiDdCreateDirectDrawObject, 1) // �0x1150� - SVC_(GdiDdCreateMoComp, 2) // �0x1151� - SVC_(GdiDdDeleteDirectDrawObject, 1) // �0x1152� - SVC_(GdiDdDestroyD3DBuffer, 1) // �0x1153� - SVC_(GdiDdDestroyMoComp, 2) // �0x1154� - SVC_(GdiDdEndMoCompFrame, 2) // �0x1155� - SVC_(GdiDdFlip, 5) // �0x1156� - SVC_(GdiDdFlipToGDISurface, 2) // �0x1157� - SVC_(GdiDdGetAvailDriverMemory, 2) // �0x1158� - SVC_(GdiDdGetBltStatus, 2) // �0x1159� - SVC_(GdiDdGetDC, 2) // �0x115a� - SVC_(GdiDdGetDriverInfo, 2) // �0x115b� - SVC_(GdiDdGetDriverState, 1) // �0x115c� - SVC_(GdiDdGetDxHandle, 3) // �0x115d� - SVC_(GdiDdGetFlipStatus, 2) // �0x115e� - SVC_(GdiDdGetInternalMoCompInfo, 2) // �0x115f� - SVC_(GdiDdGetMoCompBuffInfo, 2) // �0x1160� - SVC_(GdiDdGetMoCompFormats, 2) // �0x1161� - SVC_(GdiDdGetMoCompGuids, 2) // �0x1162� - SVC_(GdiDdGetScanLine, 2) // �0x1163� - SVC_(GdiDdLock, 3) // �0x1164� - SVC_(GdiDdQueryDirectDrawObject, 11) // �0x1165� - SVC_(GdiDdQueryMoCompStatus, 2) // �0x1166� - SVC_(GdiDdReenableDirectDrawObject, 2) // �0x1167� - SVC_(GdiDdReleaseDC, 1) // �0x1168� - SVC_(GdiDdRenderMoComp, 2) // �0x1169� - SVC_(GdiDdSetColorKey, 2) // �0x116a� - SVC_(GdiDdSetExclusiveMode, 2) // �0x116b� - SVC_(GdiDdSetGammaRamp, 3) // �0x116c� - SVC_(GdiDdSetOverlayPosition, 3) // �0x116d� - SVC_(GdiDdUnattachSurface, 2) // �0x116e� - SVC_(GdiDdUnlock, 2) // �0x116f� - SVC_(GdiDdUpdateOverlay, 3) // �0x1170� - SVC_(GdiDdWaitForVerticalBlank, 2) // �0x1171� - SVC_(GdiDeleteColorTransform, 2) // �0x1172� - SVC_(GdiDescribePixelFormat, 4) // �0x1173� - SVC_(GdiDoBanding, 4) // �0x1174� - SVC_(GdiDrawEscape, 4) // �0x1175� - SVC_(GdiDvpAcquireNotification, 3) // �0x1176� - SVC_(GdiDvpCanCreateVideoPort, 2) // �0x1177� - SVC_(GdiDvpColorControl, 2) // �0x1178� - SVC_(GdiDvpCreateVideoPort, 2) // �0x1179� - SVC_(GdiDvpDestroyVideoPort, 2) // �0x117a� - SVC_(GdiDvpFlipVideoPort, 4) // �0x117b� - SVC_(GdiDvpGetVideoPortBandwidth, 2) // �0x117c� - SVC_(GdiDvpGetVideoPortConnectInfo, 2) // �0x117d� - SVC_(GdiDvpGetVideoPortField, 2) // �0x117e� - SVC_(GdiDvpGetVideoPortFlipStatus, 2) // �0x117f� - SVC_(GdiDvpGetVideoPortInputFormats, 2) // �0x1180� - SVC_(GdiDvpGetVideoPortLine, 2) // �0x1181� - SVC_(GdiDvpGetVideoPortOutputFormats, 2) // �0x1182� - SVC_(GdiDvpGetVideoSignalStatus, 2) // �0x1183� - SVC_(GdiDvpReleaseNotification, 2) // �0x1184� - SVC_(GdiDvpUpdateVideoPort, 4) // �0x1185� - SVC_(GdiDvpWaitForVideoPortSync, 2) // �0x1186� - SVC_(GdiDxgGenericThunk, 6) // �0x1187� - SVC_(GdiEllipse, 5) // �0x1188� - SVC_(GdiEnableEudc, 1) // �0x1189� - SVC_(GdiEndDoc, 1) // �0x118a� - SVC_(GdiEndPage, 1) // �0x118b� - SVC_(GdiEngAlphaBlend, 7) // �0x118c� - SVC_(GdiEngAssociateSurface, 3) // �0x118d� - SVC_(GdiEngBitBlt, 11) // �0x118e� - SVC_(GdiEngCheckAbort, 1) // �0x118f� - SVC_(GdiEngComputeGlyphSet, 3) // �0x1190� - SVC_(GdiEngCopyBits, 6) // �0x1191� - SVC_(GdiEngCreateBitmap, 6) // �0x1192� - SVC_(GdiEngCreateClip, 0) // �0x1193� - SVC_(GdiEngCreateDeviceBitmap, 4) // �0x1194� - SVC_(GdiEngCreateDeviceSurface, 4) // �0x1195� - SVC_(GdiEngCreatePalette, 6) // �0x1196� - SVC_(GdiEngDeleteClip, 1) // �0x1197� - SVC_(GdiEngDeletePalette, 1) // �0x1198� - SVC_(GdiEngDeletePath, 1) // �0x1199� - SVC_(GdiEngDeleteSurface, 1) // �0x119a� - SVC_(GdiEngEraseSurface, 3) // �0x119b� - SVC_(GdiEngFillPath, 7) // �0x119c� - SVC_(GdiEngGradientFill, 10) // �0x119d� - SVC_(GdiEngLineTo, 9) // �0x119e� - SVC_(GdiEngLockSurface, 1) // �0x119f� - SVC_(GdiEngMarkBandingSurface, 1) // �0x11a0� - SVC_(GdiEngPaint, 5) // �0x11a1� - SVC_(GdiEngPlgBlt, 11) // �0x11a2� - SVC_(GdiEngStretchBlt, 11) // �0x11a3� - SVC_(GdiEngStretchBltROP, 13) // �0x11a4� - SVC_(GdiEngStrokeAndFillPath, 10) // �0x11a5� - SVC_(GdiEngStrokePath, 8) // �0x11a6� - SVC_(GdiEngTextOut, 10) // �0x11a7� - SVC_(GdiEngTransparentBlt, 8) // �0x11a8� - SVC_(GdiEngUnlockSurface, 1) // �0x11a9� - SVC_(GdiEnumObjects, 4) // �0x11aa� - SVC_(GdiEudcLoadUnloadLink, 7) // �0x11ab� - SVC_(GdiExtFloodFill, 5) // �0x11ac� - SVC_(GdiFONTOBJ_cGetAllGlyphHandles, 2) // �0x11ad� - SVC_(GdiFONTOBJ_cGetGlyphs, 5) // �0x11ae� - SVC_(GdiFONTOBJ_pQueryGlyphAttrs, 2) // �0x11af� - SVC_(GdiFONTOBJ_pfdg, 1) // �0x11b0� - SVC_(GdiFONTOBJ_pifi, 1) // �0x11b1� - SVC_(GdiFONTOBJ_pvTrueTypeFontFile, 2) // �0x11b2� - SVC_(GdiFONTOBJ_pxoGetXform, 1) // �0x11b3� - SVC_(GdiFONTOBJ_vGetInfo, 3) // �0x11b4� - SVC_(GdiFlattenPath, 1) // �0x11b5� - SVC_(GdiFontIsLinked, 1) // �0x11b6� - SVC_(GdiForceUFIMapping, 2) // �0x11b7� - SVC_(GdiFrameRgn, 5) // �0x11b8� - SVC_(GdiFullscreenControl, 5) // �0x11b9� - SVC_(GdiGetBoundsRect, 3) // �0x11ba� - SVC_(GdiGetCharABCWidthsW, 6) // �0x11bb� - SVC_(GdiGetCharacterPlacementW, 6) // �0x11bc� - SVC_(GdiGetColorAdjustment, 2) // �0x11bd� - SVC_(GdiGetColorSpaceforBitmap, 1) // �0x11be� - SVC_(GdiGetDeviceCaps, 2) // �0x11bf� - SVC_(GdiGetDeviceCapsAll, 2) // �0x11c0� - SVC_(GdiGetDeviceGammaRamp, 2) // �0x11c1� - SVC_(GdiGetDeviceWidth, 1) // �0x11c2� - SVC_(GdiGetDhpdev, 1) // �0x11c3� - SVC_(GdiGetETM, 2) // �0x11c4� - SVC_(GdiGetEmbUFI, 7) // �0x11c5� - SVC_(GdiGetEmbedFonts, 0) // �0x11c6� - SVC_(GdiGetEudcTimeStampEx, 3) // �0x11c7� - SVC_(GdiGetFontResourceInfoInternalW, 7) // �0x11c8� - SVC_(GdiGetFontUnicodeRanges, 2) // �0x11c9� - SVC_(GdiGetGlyphIndicesW, 5) // �0x11ca� - SVC_(GdiGetGlyphIndicesWInternal, 6) // �0x11cb� - SVC_(GdiGetGlyphOutline, 8) // �0x11cc� - SVC_(GdiGetKerningPairs, 3) // �0x11cd� - SVC_(GdiGetLinkedUFIs, 3) // �0x11ce� - SVC_(GdiGetMiterLimit, 2) // �0x11cf� - SVC_(GdiGetMonitorID, 3) // �0x11d0� - SVC_(GdiGetObjectBitmapHandle, 2) // �0x11d1� - SVC_(GdiGetPath, 4) // �0x11d2� - SVC_(GdiGetPerBandInfo, 2) // �0x11d3� - SVC_(GdiGetRealizationInfo, 3) // �0x11d4� - SVC_(GdiGetServerMetaFileBits, 7) // �0x11d5� - SVC_(GdiGetSpoolMessage, 4) // �0x11d6� - SVC_(GdiGetStats, 5) // �0x11d7� - SVC_(GdiGetStringBitmapW, 5) // �0x11d8� - SVC_(GdiGetTextExtentExW, 8) // �0x11d9� - SVC_(GdiGetUFI, 6) // �0x11da� - SVC_(GdiGetUFIPathname, 10) // �0x11db� - SVC_(GdiGradientFill, 6) // �0x11dc� - SVC_(GdiHT_Get8BPPFormatPalette, 4) // �0x11dd� - SVC_(GdiHT_Get8BPPMaskPalette, 6) // �0x11de� - SVC_(GdiIcmBrushInfo, 8) // �0x11df� - SVC_(GdiInit, 0) // �0x11e0� - SVC_(GdiInitSpool, 0) // �0x11e1� - SVC_(GdiMakeFontDir, 5) // �0x11e2� - SVC_(GdiMakeInfoDC, 2) // �0x11e3� - SVC_(GdiMakeObjectUnXferable, 0) // �0x11e4� - SVC_(GdiMakeObjectXferable, 2) // �0x11e5� - SVC_(GdiMirrorWindowOrg, 1) // �0x11e6� - SVC_(GdiMonoBitmap, 1) // �0x11e7� - SVC_(GdiMoveTo, 4) // �0x11e8� - SVC_(GdiOffsetClipRgn, 3) // �0x11e9� - SVC_(GdiPATHOBJ_bEnum, 2) // �0x11ea� - SVC_(GdiPATHOBJ_bEnumClipLines, 3) // �0x11eb� - SVC_(GdiPATHOBJ_vEnumStart, 1) // �0x11ec� - SVC_(GdiPATHOBJ_vEnumStartClipLines, 4) // �0x11ed� - SVC_(GdiPATHOBJ_vGetBounds, 2) // �0x11ee� - SVC_(GdiPathToRegion, 1) // �0x11ef� - SVC_(GdiPlgBlt, 11) // �0x11f0� - SVC_(GdiPolyDraw, 4) // �0x11f1� - SVC_(GdiPolyTextOutW, 4) // �0x11f2� - SVC_(GdiPtInRegion, 3) // �0x11f3� - SVC_(GdiPtVisible, 3) // �0x11f4� - SVC_(GdiQueryFonts, 3) // �0x11f5� - SVC_(GdiRemoveFontResourceW, 6) // �0x11f6� - SVC_(GdiRemoveMergeFont, 2) // �0x11f7� - SVC_(GdiResetDC, 5) // �0x11f8� - SVC_(GdiResizePalette, 2) // �0x11f9� - SVC_(GdiRoundRect, 7) // �0x11fa� - SVC_(GdiSTROBJ_bEnum, 3) // �0x11fb� - SVC_(GdiSTROBJ_bEnumPositionsOnly, 3) // �0x11fc� - SVC_(GdiSTROBJ_bGetAdvanceWidths, 4) // �0x11fd� - SVC_(GdiSTROBJ_dwGetCodePage, 1) // �0x11fe� - SVC_(GdiSTROBJ_vEnumStart, 1) // �0x11ff� - SVC_(GdiScaleViewportExtEx, 6) // �0x1200� - SVC_(GdiScaleWindowExtEx, 6) // �0x1201� - SVC_(GdiSelectBrush, 2) // �0x1202� - SVC_(GdiSelectClipPath, 2) // �0x1203� - SVC_(GdiSelectPen, 2) // �0x1204� - SVC_(GdiSetBitmapAttributes, 2) // �0x1205� - SVC_(GdiSetBrushAttributes, 2) // �0x1206� - SVC_(GdiSetColorAdjustment, 2) // �0x1207� - SVC_(GdiSetColorSpace, 2) // �0x1208� - SVC_(GdiSetDeviceGammaRamp, 2) // �0x1209� - SVC_(GdiSetFontXform, 3) // �0x120a� - SVC_(GdiSetIcmMode, 3) // �0x120b� - SVC_(GdiSetLinkedUFIs, 3) // �0x120c� - SVC_(GdiSetMagicColors, 3) // �0x120d� - SVC_(GdiSetPUMPDOBJ, 4) // �0x120e� - SVC_(GdiSetPixelFormat, 2) // �0x120f� - SVC_(GdiSetRectRgn, 5) // �0x1210� - SVC_(GdiSetSizeDevice, 3) // �0x1211� - SVC_(GdiSetSystemPaletteUse, 2) // �0x1212� - SVC_(GdiSetTextJustification, 3) // �0x1213� - SVC_(GdiStartDoc, 4) // �0x1214� - SVC_(GdiStartPage, 1) // �0x1215� - SVC_(GdiStrokeAndFillPath, 1) // �0x1216� - SVC_(GdiStrokePath, 1) // �0x1217� - SVC_(GdiSwapBuffers, 1) // �0x1218� - SVC_(GdiTransparentBlt, 11) // �0x1219� - SVC_(GdiUMPDEngFreeUserMem, 1) // �0x121a� - SVC_(GdiUnloadPrinterDriver, 2) // �0x121b� - SVC_(GdiUnmapMemFont, 1) // �0x121c� - SVC_(GdiUpdateColors, 1) // �0x121d� - SVC_(GdiUpdateTransform, 1) // �0x121e� - SVC_(GdiWidenPath, 1) // �0x121f� - SVC_(GdiXFORMOBJ_bApplyXform, 5) // �0x1220� - SVC_(GdiXFORMOBJ_iGetXform, 2) // �0x1221� - SVC_(GdiXLATEOBJ_cGetPalette, 4) // �0x1222� - SVC_(GdiXLATEOBJ_hGetColorTransform, 1) // �0x1223� - SVC_(GdiXLATEOBJ_iXlate, 2) // �0x1224� - SVC_(UserAssociateInputContext, 3) // �0x1225� - SVC_(UserBlockInput, 1) // �0x1226� - SVC_(UserBuildHimcList, 4) // �0x1227� - SVC_(UserBuildPropList, 4) // �0x1228� - SVC_(UserCallHwndOpt, 2) // �0x1229� - SVC_(UserChangeDisplaySettings, 4) // �0x122a� - SVC_(UserChildWindowFromPointEx, 4) // �0x122b� - SVC_(UserClipCursor, 1) // �0x122c� - SVC_(UserCreateDesktop, 5) // �0x122d� - SVC_(UserCreateInputContext, 1) // �0x122e� - SVC_(UserCreateWindowStation, 7) // �0x122f� - SVC_(UserCtxDisplayIOCtl, 3) // �0x1230� - SVC_(UserDdeGetQualityOfService, 3) // �0x1231� - SVC_(UserDdeSetQualityOfService, 3) // �0x1232� - SVC_(UserDestroyInputContext, 1) // �0x1233� - SVC_(UserDisableThreadIme, 1) // �0x1234� - SVC_(UserDragDetect, 3) // �0x1235� - SVC_(UserDragObject, 5) // �0x1236� - SVC_(UserDrawAnimatedRects, 4) // �0x1237� - SVC_(UserDrawCaption, 4) // �0x1238� - SVC_(UserDrawCaptionTemp, 7) // �0x1239� - SVC_(UserDrawMenuBarTemp, 5) // �0x123a� - SVC_(UserEndMenu, 0) // �0x123b� - SVC_(UserEvent, 1) // �0x123c� - SVC_(UserFlashWindowEx, 1) // �0x123d� - SVC_(UserGetAppImeLevel, 1) // �0x123e� - SVC_(UserGetCaretPos, 1) // �0x123f� - SVC_(UserGetClipCursor, 1) // �0x1240� - SVC_(UserGetClipboardViewer, 0) // �0x1241� - SVC_(UserGetComboBoxInfo, 2) // �0x1242� - SVC_(UserGetCursorInfo, 1) // �0x1243� - SVC_(UserGetGuiResources, 2) // �0x1244� - SVC_(UserGetImeHotKey, 4) // �0x1245� - SVC_(UserGetImeInfoEx, 2) // �0x1246� - SVC_(UserGetInternalWindowPos, 3) // �0x1247� - SVC_(UserGetKeyNameText, 3) // �0x1248� - SVC_(UserGetKeyboardLayoutName, 1) // �0x1249� - SVC_(UserGetLayeredWindowAttributes, 4) // �0x124a� - SVC_(UserGetListBoxInfo, 1) // �0x124b� - SVC_(UserGetMenuIndex, 2) // �0x124c� - SVC_(UserGetMenuItemRect, 4) // �0x124d� - SVC_(UserGetMouseMovePointsEx, 5) // �0x124e� - SVC_(UserGetPriorityClipboardFormat, 2) // �0x124f� - SVC_(UserGetRawInputBuffer, 3) // �0x1250� - SVC_(UserGetRawInputData, 5) // �0x1251� - SVC_(UserGetRawInputDeviceInfo, 4) // �0x1252� - SVC_(UserGetRawInputDeviceList, 3) // �0x1253� - SVC_(UserGetRegisteredRawInputDevices, 3) // �0x1254� - SVC_(UserGetWOWClass, 2) // �0x1255� - SVC_(UserHardErrorControl, 3) // �0x1256� - SVC_(UserHiliteMenuItem, 4) // �0x1257� - SVC_(UserImpersonateDdeClientWindow, 2) // �0x1258� - SVC_(UserInitTask, 12) // �0x1259� - SVC_(UserInitialize, 3) // �0x125a� - SVC_(UserInitializeClientPfnArrays, 4) // �0x125b� - SVC_(UserLoadKeyboardLayoutEx, 7) // �0x125c� - SVC_(UserLockWindowStation, 1) // �0x125d� - SVC_(UserLockWorkStation, 0) // �0x125e� - SVC_(UserMNDragLeave, 0) // �0x125f� - SVC_(UserMNDragOver, 2) // �0x1260� - SVC_(UserMenuItemFromPoint, 4) // �0x1261� - SVC_(UserMinMaximize, 3) // �0x1262� - SVC_(UserNotifyIMEStatus, 3) // �0x1263� - SVC_(UserOpenInputDesktop, 3) // �0x1264� - SVC_(UserPrintWindow, 3) // �0x1265� - SVC_(UserQueryInformationThread, 4) // �0x1266� - SVC_(UserQueryInputContext, 2) // �0x1267� - SVC_(UserQuerySendMessage, 1) // �0x1268� - SVC_(UserRealChildWindowFromPoint, 3) // �0x1269� - SVC_(UserRealWaitMessageEx, 2) // �0x126a� - SVC_(UserRegisterHotKey, 4) // �0x126b� - SVC_(UserRegisterRawInputDevices, 3) // �0x126c� - SVC_(UserRegisterTasklist, 1) // �0x126d� - SVC_(UserRegisterUserApiHook, 4) // �0x126e� - SVC_(UserRemoteConnect, 3) // �0x126f� - SVC_(UserRemoteRedrawRectangle, 4) // �0x1270� - SVC_(UserRemoteRedrawScreen, 0) // �0x1271� - SVC_(UserRemoteStopScreenUpdates, 0) // �0x1272� - SVC_(UserResolveDesktopForWOW, 1) // �0x1273� - SVC_(UserSetAppImeLevel, 2) // �0x1274� - SVC_(UserSetClassWord, 3) // �0x1275� - SVC_(UserSetCursorContents, 2) // �0x1276� - SVC_(UserSetImeHotKey, 5) // �0x1277� - SVC_(UserSetImeInfoEx, 1) // �0x1278� - SVC_(UserSetImeOwnerWindow, 2) // �0x1279� - SVC_(UserSetInternalWindowPos, 4) // �0x127a� - SVC_(UserSetLayeredWindowAttributes, 4) // �0x127b� - SVC_(UserSetLogonNotifyWindow, 1) // �0x127c� - SVC_(UserSetMenu, 3) // �0x127d� - SVC_(UserSetMenuContextHelpId, 2) // �0x127e� - SVC_(UserSetMenuFlagRtoL, 1) // �0x127f� - SVC_(UserSetObjectInformation, 4) // �0x1280� - SVC_(UserSetShellWindowEx, 2) // �0x1281� - SVC_(UserSetSysColors, 4) // �0x1282� - SVC_(UserSetSystemCursor, 2) // �0x1283� - SVC_(UserSetSystemTimer, 4) // �0x1284� - SVC_(UserSetThreadLayoutHandles, 2) // �0x1285� - SVC_(UserSetWindowStationUser, 4) // �0x1286� - SVC_(UserSoundSentry, 0) // �0x1287� - SVC_(UserSwitchDesktop, 1) // �0x1288� - SVC_(UserTestForInteractiveUser, 1) // �0x1289� - SVC_(UserTrackPopupMenuEx, 6) // �0x128a� - SVC_(UserUnloadKeyboardLayout, 1) // �0x128b� - SVC_(UserUnlockWindowStation, 1) // �0x128c� - SVC_(UserUnregisterHotKey, 2) // �0x128d� - SVC_(UserUnregisterUserApiHook, 0) // �0x128e� - SVC_(UserUpdateInputContext, 3) // �0x128f� - SVC_(UserUpdateInstance, 3) // �0x1290� - SVC_(UserUpdateLayeredWindow, 10) // �0x1291� - SVC_(UserUpdatePerUserSystemParameters, 2) // �0x1292� - SVC_(UserUserHandleGrantAccess, 3) // �0x1293� - SVC_(UserValidateHandleSecure, 1) // �0x1294� - SVC_(UserWaitForInputIdle, 3) // �0x1295� - SVC_(UserWaitForMsgAndEvent, 1) // �0x1296� - SVC_(UserSetClassLongPtr, 0) // �0x1297� - SVC_(UserSetWindowLongPtr, 4) // �0x1298� - SVC_(UserWin32PoolAllocationStats, 6) // �0x1299� - SVC_(UserYieldTask, 0) // �0x129a� - SVC_(DxEngGetRedirectionBitmap, 1) // - SVC_(GdiDdDDICreateDCFromMemory, 1) // - SVC_(GdiDdDDIDestroyDCFromMemory, 1) // - SVC_(GdiGetFontFamilyInfo, 4) // - SVC_(GdiOffsetViewportOrgEx, 4) // - SVC_(GdiOffsetWindowOrgEx, 4) // - SVC_(GdiSetViewportOrgEx, 4) // - SVC_(GdiSetWindowOrgEx, 4) // - SVC_(UserDbgWin32HeapFail, 2) // - SVC_(UserDbgWin32HeapStat, 2) // - SVC_(UserGetMonitorInfo, 2) // - SVC_(UserMonitorFromPoint, 3) // - SVC_(UserMonitorFromRect, 2) // - SVC_(UserMonitorFromWindow, 2) // - SVC_(UserSetDbgTag, 2) // - SVC_(UserSetDbgTagCount, 1) // - SVC_(UserSetRipFlags, 1) // - SVC_(UserSetScrollBarInfo, 3) // + SVC_(UserGetThreadState, 1) // 0x1000 + SVC_(UserPeekMessage, 5) // 0x1001 + SVC_(UserCallOneParam, 2) // 0x1002 + SVC_(UserGetKeyState, 1) // 0x1003 + SVC_(UserInvalidateRect, 3) // 0x1004 + SVC_(UserCallNoParam, 1) // 0x1005 + SVC_(UserGetMessage, 4) // 0x1006 + SVC_(UserMessageCall, 7) // 0x1007 + SVC_(GdiBitBlt, 11) // 0x1008 + SVC_(GdiGetCharSet, 1) // 0x1009 + SVC_(UserGetDC, 1) // 0x100a + SVC_(GdiSelectBitmap, 2) // 0x100b + SVC_(UserWaitMessage, 0) // 0x100c + SVC_(UserTranslateMessage, 2) // 0x100d + SVC_(UserPostMessage, 4) // 0x100e + SVC_(UserQueryWindow, 2) // 0x100f + SVC_(UserTranslateAccelerator, 3) // 0x1010 + SVC_(GdiFlush, 0) // 0x1011 + SVC_(UserRedrawWindow, 4) // 0x1012 + SVC_(UserWindowFromPoint, 2) // 0x1013 + SVC_(UserCallMsgFilter, 2) // 0x1014 + SVC_(UserValidateTimerCallback, 1) // 0x1015 + SVC_(UserBeginPaint, 2) // 0x1016 + SVC_(UserSetTimer, 4) // 0x1017 + SVC_(UserEndPaint, 2) // 0x1018 + SVC_(UserSetCursor, 1) // 0x1019 + SVC_(UserKillTimer, 2) // 0x101a + SVC_(UserBuildHwndList, 7) // 0x101b + SVC_(UserSelectPalette, 3) // 0x101c + SVC_(UserCallNextHookEx, 4) // 0x101d + SVC_(UserHideCaret, 1) // 0x101e + SVC_(GdiIntersectClipRect, 5) // 0x101f + SVC_(UserCallHwndLock, 2) // 0x1020 + SVC_(UserGetProcessWindowStation, 0) // 0x1021 + SVC_(GdiDeleteObjectApp, 1) // 0x1022 + SVC_(UserSetWindowPos, 7) // 0x1023 + SVC_(UserShowCaret, 1) // 0x1024 + SVC_(UserEndDeferWindowPosEx, 2) // 0x1025 + SVC_(UserCallHwndParamLock, 3) // 0x1026 + SVC_(UserVkKeyScanEx, 3) // 0x1027 + SVC_(GdiSetDIBitsToDeviceInternal, 16) // 0x1028 + SVC_(UserCallTwoParam, 3) // 0x1029 + SVC_(GdiGetRandomRgn, 3) // 0x102a + SVC_(UserCopyAcceleratorTable, 3) // 0x102b + SVC_(UserNotifyWinEvent, 4) // 0x102c + SVC_(GdiExtSelectClipRgn, 3) // 0x102d + SVC_(UserIsClipboardFormatAvailable, 1) // 0x102e + SVC_(UserSetScrollInfo, 4) // 0x102f + SVC_(GdiStretchBlt, 12) // 0x1030 + SVC_(UserCreateCaret, 4) // 0x1031 + SVC_(GdiRectVisible, 2) // 0x1032 + SVC_(GdiCombineRgn, 4) // 0x1033 + SVC_(GdiGetDCObject, 2) // 0x1034 + SVC_(UserDispatchMessage, 1) // 0x1035 + SVC_(UserRegisterWindowMessage, 1) // 0x1036 + SVC_(GdiExtTextOutW, 9) // 0x1037 + SVC_(GdiSelectFont, 2) // 0x1038 + SVC_(GdiRestoreDC, 2) // 0x1039 + SVC_(GdiSaveDC, 1) // 0x103a + SVC_(UserGetForegroundWindow, 0) // 0x103b + SVC_(UserShowScrollBar, 3) // 0x103c + SVC_(UserFindExistingCursorIcon, 3) // 0x103d + SVC_(GdiGetDCDword, 3) // 0x103e + SVC_(GdiGetRegionData, 3) // 0x103f + SVC_(GdiLineTo, 3) // 0x1040 + SVC_(UserSystemParametersInfo, 4) // 0x1041 + SVC_(GdiGetAppClipBox, 2) // 0x1042 + SVC_(UserGetAsyncKeyState, 1) // 0x1043 + SVC_(UserGetCPD, 3) // 0x1044 + SVC_(UserRemoveProp, 2) // 0x1045 + SVC_(GdiDoPalette, 6) // 0x1046 + SVC_(GdiPolyPolyDraw, 5) // 0x1047 + SVC_(UserSetCapture, 1) // 0x1048 + SVC_(UserEnumDisplayMonitors, 5) /* FIXME: 4 on XP/2k3 */ // 0x1049 + SVC_(GdiCreateCompatibleBitmap, 3) // 0x104a + SVC_(UserSetProp, 3) // 0x104b + SVC_(GdiGetTextCharsetInfo, 3) // 0x104c + SVC_(UserSBGetParms, 4) // 0x104d + SVC_(UserGetIconInfo, 6) // 0x104e + SVC_(UserExcludeUpdateRgn, 2) // 0x104f + SVC_(UserSetFocus, 1) // 0x1050 + SVC_(GdiExtGetObjectW, 3) // 0x1051 + SVC_(UserDeferWindowPos, 8) // 0x1052 + SVC_(UserGetUpdateRect, 3) // 0x1053 + SVC_(GdiCreateCompatibleDC, 1) // 0x1054 + SVC_(UserGetClipboardSequenceNumber, 0) // 0x1055 + SVC_(GdiCreatePen, 4) // 0x1056 + SVC_(UserShowWindow, 2) // 0x1057 + SVC_(UserGetKeyboardLayoutList, 2) // 0x1058 + SVC_(GdiPatBlt, 6) // 0x1059 + SVC_(UserMapVirtualKeyEx, 4) // 0x105a + SVC_(UserSetWindowLong, 4) // 0x105b + SVC_(GdiHfontCreate, 5) // 0x105c + SVC_(UserMoveWindow, 6) // 0x105d + SVC_(UserPostThreadMessage, 4) // 0x105e + SVC_(UserDrawIconEx, 11) // 0x105f + SVC_(UserGetSystemMenu, 2) // 0x1060 + SVC_(GdiDrawStream, 3) // 0x1061 + SVC_(UserInternalGetWindowText, 3) // 0x1062 + SVC_(UserGetWindowDC, 1) // 0x1063 + SVC_(GdiD3dDrawPrimitives2, 7) // 0x1064 + SVC_(GdiInvertRgn, 2) // 0x1065 + SVC_(GdiGetRgnBox, 2) // 0x1066 + SVC_(GdiGetAndSetDCDword, 4) // 0x1067 + SVC_(GdiMaskBlt, 13) // 0x1068 + SVC_(GdiGetWidthTable, 7) // 0x1069 + SVC_(UserScrollDC, 7) // 0x106a + SVC_(UserGetObjectInformation, 5) // 0x106b + SVC_(GdiCreateBitmap, 5) // 0x106c + SVC_(GdiConsoleTextOut, 4) // 0x106d + SVC_(UserFindWindowEx, 5) // 0x106e + SVC_(GdiPolyPatBlt, 5) // 0x106f + SVC_(UserUnhookWindowsHookEx, 1) // 0x1070 + SVC_(GdiGetNearestColor, 2) // 0x1071 + SVC_(GdiTransformPoints, 5) // 0x1072 + SVC_(GdiGetDCPoint, 3) // 0x1073 + SVC_(UserCheckImeHotKey, 2) // 0x1074 + SVC_(GdiCreateDIBBrush, 6) // 0x1075 + SVC_(GdiGetTextMetricsW, 3) // 0x1076 + SVC_(UserCreateWindowEx, 15) // 0x1077 + SVC_(UserSetParent, 2) // 0x1078 + SVC_(UserGetKeyboardState, 1) // 0x1079 + SVC_(UserToUnicodeEx, 7) // 0x107a + SVC_(UserGetControlBrush, 3) // 0x107b + SVC_(UserGetClassName, 3) // 0x107c + SVC_(GdiAlphaBlend, 12) // 0x107d + SVC_(GdiDdBlt, 3) // 0x107e + SVC_(GdiOffsetRgn, 3) // 0x107f + SVC_(UserDefSetText, 2) // 0x1080 + SVC_(GdiGetTextFaceW, 4) // 0x1081 + SVC_(GdiStretchDIBitsInternal, 16) // 0x1082 + SVC_(UserSendInput, 3) // 0x1083 + SVC_(UserGetThreadDesktop, 2) // 0x1084 + SVC_(GdiCreateRectRgn, 4) // 0x1085 + SVC_(GdiGetDIBitsInternal, 9) // 0x1086 + SVC_(UserGetUpdateRgn, 3) // 0x1087 + SVC_(GdiDeleteClientObj, 1) // 0x1088 + SVC_(UserGetIconSize, 4) // 0x1089 + SVC_(UserFillWindow, 4) // 0x108a + SVC_(GdiExtCreateRegion, 3) // 0x108b + SVC_(GdiComputeXformCoefficients, 1) // 0x108c + SVC_(UserSetWindowsHookEx, 6) // 0x108d + SVC_(UserNotifyProcessCreate, 4) // 0x108e + SVC_(GdiUnrealizeObject, 1) // 0x108f + SVC_(UserGetTitleBarInfo, 2) // 0x1090 + SVC_(GdiRectangle, 5) // 0x1091 + SVC_(UserSetThreadDesktop, 1) // 0x1092 + SVC_(UserGetDCEx, 3) // 0x1093 + SVC_(UserGetScrollBarInfo, 3) // 0x1094 + SVC_(GdiGetTextExtent, 5) // 0x1095 + SVC_(UserSetWindowFNID, 2) // 0x1096 + SVC_(GdiSetLayout, 3) // 0x1097 + SVC_(UserCalcMenuBar, 5) // 0x1098 + SVC_(UserThunkedMenuItemInfo, 6) // 0x1099 + SVC_(GdiExcludeClipRect, 5) // 0x109a + SVC_(GdiCreateDIBSection, 9) // 0x109b + SVC_(GdiGetDCforBitmap, 1) // 0x109c + SVC_(UserDestroyCursor, 2) // 0x109d + SVC_(UserDestroyWindow, 1) // 0x109e + SVC_(UserCallHwndParam, 3) // 0x109f + SVC_(GdiCreateDIBitmapInternal, 11) // 0x10a0 + SVC_(UserOpenWindowStation, 2) // 0x10a1 + SVC_(GdiDdDeleteSurfaceObject, 1) // 0x10a2 + SVC_(GdiEnumFontClose, 1) // 0x10a3 + SVC_(GdiEnumFontOpen, 7) // 0x10a4 + SVC_(GdiEnumFontChunk, 5) // 0x10a5 + SVC_(GdiDdCanCreateSurface, 2) // 0x10a6 + SVC_(GdiDdCreateSurface, 8) // 0x10a7 + SVC_(UserSetCursorIconData, 4) // 0x10a8 + SVC_(GdiDdDestroySurface, 2) // 0x10a9 + SVC_(UserCloseDesktop, 1) // 0x10aa + SVC_(UserOpenDesktop, 3) // 0x10ab + SVC_(UserSetProcessWindowStation, 1) // 0x10ac + SVC_(UserGetAtomName, 2) // 0x10ad + SVC_(GdiDdResetVisrgn, 2) // 0x10ae + SVC_(GdiExtCreatePen, 11) // 0x10af + SVC_(GdiCreatePaletteInternal, 2) // 0x10b0 + SVC_(GdiSetBrushOrg, 4) // 0x10b1 + SVC_(UserBuildNameList, 4) // 0x10b2 + SVC_(GdiSetPixel, 4) // 0x10b3 + SVC_(UserRegisterClassExWOW, 7) // 0x10b4 + SVC_(GdiCreatePatternBrushInternal, 3) // 0x10b5 + SVC_(UserGetAncestor, 2) // 0x10b6 + SVC_(GdiGetOutlineTextMetricsInternalW, 4) // 0x10b7 + SVC_(GdiSetBitmapBits, 3) // 0x10b8 + SVC_(UserCloseWindowStation, 1) // 0x10b9 + SVC_(UserGetDoubleClickTime, 0) // 0x10ba + SVC_(UserEnableScrollBar, 3) // 0x10bb + SVC_(GdiCreateSolidBrush, 2) // 0x10bc + SVC_(UserGetClassInfo, 5) // 0x10bd aka UserGetClassInfoEx + SVC_(GdiCreateClientObj, 1) // 0x10be + SVC_(UserUnregisterClass, 3) // 0x10bf + SVC_(UserDeleteMenu, 3) // 0x10c0 + SVC_(GdiRectInRegion, 2) // 0x10c1 + SVC_(UserScrollWindowEx, 8) // 0x10c2 + SVC_(GdiGetPixel, 3) // 0x10c3 + SVC_(UserSetClassLong, 4) // 0x10c4 + SVC_(UserGetMenuBarInfo, 4) // 0x10c5 + SVC_(GdiDdCreateSurfaceEx, 3) // 0x10c6 + SVC_(GdiDdCreateSurfaceObject, 6) // 0x10c7 + SVC_(GdiGetNearestPaletteIndex, 2) // 0x10c8 + SVC_(GdiDdLockD3D, 2) // 0x10c9 + SVC_(GdiDdUnlockD3D, 2) // 0x10ca + SVC_(GdiGetCharWidthW, 6) // 0x10cb + SVC_(UserInvalidateRgn, 3) // 0x10cc + SVC_(UserGetClipboardOwner, 0) // 0x10cd + SVC_(UserSetWindowRgn, 3) // 0x10ce + SVC_(UserBitBltSysBmp, 8) // 0x10cf + SVC_(GdiGetCharWidthInfo, 2) // 0x10d0 + SVC_(UserValidateRect, 2) // 0x10d1 + SVC_(UserCloseClipboard, 0) // 0x10d2 + SVC_(UserOpenClipboard, 2) // 0x10d3 + SVC_(GdiGetStockObject, 1) // 0x10d4 + SVC_(UserSetClipboardData, 3) // 0x10d5 + SVC_(UserEnableMenuItem, 3) // 0x10d6 + SVC_(UserAlterWindowStyle, 3) // 0x10d7 + SVC_(GdiFillRgn, 3) // 0x10d8 + SVC_(UserGetWindowPlacement, 2) // 0x10d9 + SVC_(GdiModifyWorldTransform, 3) // 0x10da + SVC_(GdiGetFontData, 5) // 0x10db + SVC_(UserGetOpenClipboardWindow, 0) // 0x10dc + SVC_(UserSetThreadState, 2) // 0x10dd + SVC_(GdiOpenDCW, 7) // 0x10de + SVC_(UserTrackMouseEvent, 1) // 0x10df + SVC_(GdiGetTransform, 3) // 0x10e0 + SVC_(UserDestroyMenu, 1) // 0x10e1 + SVC_(GdiGetBitmapBits, 3) // 0x10e2 + SVC_(UserConsoleControl, 3) // 0x10e3 + SVC_(UserSetActiveWindow, 1) // 0x10e4 + SVC_(UserSetInformationThread, 4) // 0x10e5 + SVC_(UserSetWindowPlacement, 2) // 0x10e6 + SVC_(UserGetControlColor, 4) // 0x10e7 + SVC_(GdiSetMetaRgn, 1) // 0x10e8 + SVC_(GdiSetMiterLimit, 3) // 0x10e9 + SVC_(GdiSetVirtualResolution, 5) // 0x10ea + SVC_(GdiGetRasterizerCaps, 2) // 0x10eb + SVC_(UserSetWindowWord, 3) // 0x10ec + SVC_(UserGetClipboardFormatName, 3) // 0x10ed + SVC_(UserRealInternalGetMessage, 6) // 0x10ee + SVC_(UserCreateLocalMemHandle, 4) // 0x10ef + SVC_(UserAttachThreadInput, 3) // 0x10f0 + SVC_(GdiCreateHalftonePalette, 1) // 0x10f1 + SVC_(UserPaintMenuBar, 6) // 0x10f2 + SVC_(UserSetKeyboardState, 1) // 0x10f3 + SVC_(GdiCombineTransform, 3) // 0x10f4 + SVC_(UserCreateAcceleratorTable, 2) // 0x10f5 + SVC_(UserGetCursorFrameInfo, 4) // 0x10f6 + SVC_(UserGetAltTabInfo, 6) // 0x10f7 + SVC_(UserGetCaretBlinkTime, 0) // 0x10f8 + SVC_(GdiQueryFontAssocInfo, 1) // 0x10f9 + SVC_(UserProcessConnect, 3) // 0x10fa + SVC_(UserEnumDisplayDevices, 4) // 0x10fb + SVC_(UserEmptyClipboard, 0) // 0x10fc + SVC_(UserGetClipboardData, 2) // 0x10fd + SVC_(UserRemoveMenu, 3) // 0x10fe + SVC_(GdiSetBoundsRect, 3) // 0x10ff + SVC_(UserSetInformationProcess, 4) // 0x1100 + SVC_(GdiGetBitmapDimension, 2) // 0x1101 + SVC_(UserConvertMemHandle, 2) // 0x1102 + SVC_(UserDestroyAcceleratorTable, 1) // 0x1103 + SVC_(UserGetGUIThreadInfo, 2) // 0x1104 + SVC_(GdiCloseFigure, 1) // 0x1105 + SVC_(UserSetWindowsHookAW, 3) // 0x1106 + SVC_(UserSetMenuDefaultItem, 3) // 0x1107 + SVC_(UserCheckMenuItem, 3) // 0x1108 + SVC_(UserSetWinEventHook, 8) // 0x1109 + SVC_(UserUnhookWinEvent, 1) // 0x110a + SVC_(GdiSetupPublicCFONT, 3) // 0x110b + SVC_(UserLockWindowUpdate, 1) // 0x110c + SVC_(UserSetSystemMenu, 2) // 0x110d + SVC_(UserThunkedMenuInfo, 2) // 0x110e + SVC_(GdiBeginPath, 1) // 0x110f + SVC_(GdiEndPath, 1) // 0x1110 + SVC_(GdiFillPath, 1) // 0x1111 + SVC_(UserCallHwnd, 2) // 0x1112 + SVC_(UserDdeInitialize, 5) // 0x1113 + SVC_(UserModifyUserStartupInfoFlags, 2) // 0x1114 + SVC_(UserCountClipboardFormats, 0) // 0x1115 + SVC_(GdiAddFontMemResourceEx, 5) // 0x1116 + SVC_(GdiEqualRgn, 2) // 0x1117 + SVC_(GdiGetSystemPaletteUse, 1) // 0x1118 + SVC_(GdiRemoveFontMemResourceEx, 1) // 0x1119 + SVC_(UserEnumDisplaySettings, 4) // 0x111a + SVC_(UserPaintDesktop, 1) // 0x111b + SVC_(GdiExtEscape, 8) // 0x111c + SVC_(GdiSetBitmapDimension, 4) // 0x111d + SVC_(GdiSetFontEnumeration, 1) // 0x111e + SVC_(UserChangeClipboardChain, 2) // 0x111f + SVC_(UserResolveDesktop, 4) // 0x1120 + SVC_(UserSetClipboardViewer, 1) // 0x1121 + SVC_(UserShowWindowAsync, 2) // 0x1122 + SVC_(UserSetConsoleReserveKeys, 2) // 0x1123 + SVC_(GdiCreateColorSpace, 1) // 0x1124 + SVC_(GdiDeleteColorSpace, 1) // 0x1125 + SVC_(UserActivateKeyboardLayout, 2) // 0x1126 + SVC_(GdiAbortDoc, 1) // 0x1127 + SVC_(GdiAbortPath, 1) // 0x1128 + SVC_(GdiAddEmbFontToDC, 2) // 0x1129 + SVC_(GdiAddFontResourceW, 6) // 0x112a + SVC_(GdiAddRemoteFontToDC, 4) // 0x112b + SVC_(GdiAddRemoteMMInstanceToDC, 3) // 0x112c + SVC_(GdiAngleArc, 6) // 0x112d + SVC_(GdiAnyLinkedFonts, 0) // 0x112e + SVC_(GdiArcInternal, 10) // 0x112f + SVC_(GdiBRUSHOBJ_DeleteRbrush, 2) // 0x1130 + SVC_(GdiBRUSHOBJ_hGetColorTransform, 1) // 0x1131 + SVC_(GdiBRUSHOBJ_pvAllocRbrush, 2) // 0x1132 + SVC_(GdiBRUSHOBJ_pvGetRbrush, 1) // 0x1133 + SVC_(GdiBRUSHOBJ_ulGetBrushColor, 1) // 0x1134 + SVC_(GdiCLIPOBJ_bEnum, 3) // 0x1135 + SVC_(GdiCLIPOBJ_cEnumStart, 5) // 0x1136 + SVC_(GdiCLIPOBJ_ppoGetPath, 1) // 0x1137 + SVC_(GdiCancelDC, 1) // 0x1138 + SVC_(GdiChangeGhostFont, 2) // 0x1139 + SVC_(GdiCheckBitmapBits, 8) // 0x113a + SVC_(GdiClearBitmapAttributes, 2) // 0x113b + SVC_(GdiClearBrushAttributes, 2) // 0x113c + SVC_(GdiColorCorrectPalette, 6) // 0x113d + SVC_(GdiConvertMetafileRect, 2) // 0x113e + SVC_(GdiCreateColorTransform, 8) // 0x113f + SVC_(GdiCreateEllipticRgn, 4) // 0x1140 + SVC_(GdiCreateHatchBrushInternal, 3) // 0x1141 + SVC_(GdiCreateMetafileDC, 1) // 0x1142 + SVC_(GdiCreateRoundRectRgn, 6) // 0x1143 + SVC_(GdiCreateServerMetaFile, 6) // 0x1144 + SVC_(GdiD3dContextCreate, 4) // 0x1145 + SVC_(GdiD3dContextDestroy, 1) // 0x1146 + SVC_(GdiD3dContextDestroyAll, 1) // 0x1147 + SVC_(GdiD3dValidateTextureStageState, 1) // 0x1148 + SVC_(GdiDdAddAttachedSurface, 3) // 0x1149 + SVC_(GdiDdAlphaBlt, 3) // 0x114a + SVC_(GdiDdAttachSurface, 2) // 0x114b + SVC_(GdiDdBeginMoCompFrame, 2) // 0x114c + SVC_(GdiDdCanCreateD3DBuffer, 2) // 0x114d + SVC_(GdiDdColorControl, 2) // 0x114e + SVC_(GdiDdCreateD3DBuffer, 8) // 0x114f + SVC_(GdiDdCreateDirectDrawObject, 1) // 0x1150 + SVC_(GdiDdCreateMoComp, 2) // 0x1151 + SVC_(GdiDdDeleteDirectDrawObject, 1) // 0x1152 + SVC_(GdiDdDestroyD3DBuffer, 1) // 0x1153 + SVC_(GdiDdDestroyMoComp, 2) // 0x1154 + SVC_(GdiDdEndMoCompFrame, 2) // 0x1155 + SVC_(GdiDdFlip, 5) // 0x1156 + SVC_(GdiDdFlipToGDISurface, 2) // 0x1157 + SVC_(GdiDdGetAvailDriverMemory, 2) // 0x1158 + SVC_(GdiDdGetBltStatus, 2) // 0x1159 + SVC_(GdiDdGetDC, 2) // 0x115a + SVC_(GdiDdGetDriverInfo, 2) // 0x115b + SVC_(GdiDdGetDriverState, 1) // 0x115c + SVC_(GdiDdGetDxHandle, 3) // 0x115d + SVC_(GdiDdGetFlipStatus, 2) // 0x115e + SVC_(GdiDdGetInternalMoCompInfo, 2) // 0x115f + SVC_(GdiDdGetMoCompBuffInfo, 2) // 0x1160 + SVC_(GdiDdGetMoCompFormats, 2) // 0x1161 + SVC_(GdiDdGetMoCompGuids, 2) // 0x1162 + SVC_(GdiDdGetScanLine, 2) // 0x1163 + SVC_(GdiDdLock, 3) // 0x1164 + SVC_(GdiDdQueryDirectDrawObject, 11) // 0x1165 + SVC_(GdiDdQueryMoCompStatus, 2) // 0x1166 + SVC_(GdiDdReenableDirectDrawObject, 2) // 0x1167 + SVC_(GdiDdReleaseDC, 1) // 0x1168 + SVC_(GdiDdRenderMoComp, 2) // 0x1169 + SVC_(GdiDdSetColorKey, 2) // 0x116a + SVC_(GdiDdSetExclusiveMode, 2) // 0x116b + SVC_(GdiDdSetGammaRamp, 3) // 0x116c + SVC_(GdiDdSetOverlayPosition, 3) // 0x116d + SVC_(GdiDdUnattachSurface, 2) // 0x116e + SVC_(GdiDdUnlock, 2) // 0x116f + SVC_(GdiDdUpdateOverlay, 3) // 0x1170 + SVC_(GdiDdWaitForVerticalBlank, 2) // 0x1171 + SVC_(GdiDeleteColorTransform, 2) // 0x1172 + SVC_(GdiDescribePixelFormat, 4) // 0x1173 + SVC_(GdiDoBanding, 4) // 0x1174 + SVC_(GdiDrawEscape, 4) // 0x1175 + SVC_(GdiDvpAcquireNotification, 3) // 0x1176 + SVC_(GdiDvpCanCreateVideoPort, 2) // 0x1177 + SVC_(GdiDvpColorControl, 2) // 0x1178 + SVC_(GdiDvpCreateVideoPort, 2) // 0x1179 + SVC_(GdiDvpDestroyVideoPort, 2) // 0x117a + SVC_(GdiDvpFlipVideoPort, 4) // 0x117b + SVC_(GdiDvpGetVideoPortBandwidth, 2) // 0x117c + SVC_(GdiDvpGetVideoPortConnectInfo, 2) // 0x117d + SVC_(GdiDvpGetVideoPortField, 2) // 0x117e + SVC_(GdiDvpGetVideoPortFlipStatus, 2) // 0x117f + SVC_(GdiDvpGetVideoPortInputFormats, 2) // 0x1180 + SVC_(GdiDvpGetVideoPortLine, 2) // 0x1181 + SVC_(GdiDvpGetVideoPortOutputFormats, 2) // 0x1182 + SVC_(GdiDvpGetVideoSignalStatus, 2) // 0x1183 + SVC_(GdiDvpReleaseNotification, 2) // 0x1184 + SVC_(GdiDvpUpdateVideoPort, 4) // 0x1185 + SVC_(GdiDvpWaitForVideoPortSync, 2) // 0x1186 + SVC_(GdiDxgGenericThunk, 6) // 0x1187 + SVC_(GdiEllipse, 5) // 0x1188 + SVC_(GdiEnableEudc, 1) // 0x1189 + SVC_(GdiEndDoc, 1) // 0x118a + SVC_(GdiEndPage, 1) // 0x118b + SVC_(GdiEngAlphaBlend, 7) // 0x118c + SVC_(GdiEngAssociateSurface, 3) // 0x118d + SVC_(GdiEngBitBlt, 11) // 0x118e + SVC_(GdiEngCheckAbort, 1) // 0x118f + SVC_(GdiEngComputeGlyphSet, 3) // 0x1190 + SVC_(GdiEngCopyBits, 6) // 0x1191 + SVC_(GdiEngCreateBitmap, 6) // 0x1192 + SVC_(GdiEngCreateClip, 0) // 0x1193 + SVC_(GdiEngCreateDeviceBitmap, 4) // 0x1194 + SVC_(GdiEngCreateDeviceSurface, 4) // 0x1195 + SVC_(GdiEngCreatePalette, 6) // 0x1196 + SVC_(GdiEngDeleteClip, 1) // 0x1197 + SVC_(GdiEngDeletePalette, 1) // 0x1198 + SVC_(GdiEngDeletePath, 1) // 0x1199 + SVC_(GdiEngDeleteSurface, 1) // 0x119a + SVC_(GdiEngEraseSurface, 3) // 0x119b + SVC_(GdiEngFillPath, 7) // 0x119c + SVC_(GdiEngGradientFill, 10) // 0x119d + SVC_(GdiEngLineTo, 9) // 0x119e + SVC_(GdiEngLockSurface, 1) // 0x119f + SVC_(GdiEngMarkBandingSurface, 1) // 0x11a0 + SVC_(GdiEngPaint, 5) // 0x11a1 + SVC_(GdiEngPlgBlt, 11) // 0x11a2 + SVC_(GdiEngStretchBlt, 11) // 0x11a3 + SVC_(GdiEngStretchBltROP, 13) // 0x11a4 + SVC_(GdiEngStrokeAndFillPath, 10) // 0x11a5 + SVC_(GdiEngStrokePath, 8) // 0x11a6 + SVC_(GdiEngTextOut, 10) // 0x11a7 + SVC_(GdiEngTransparentBlt, 8) // 0x11a8 + SVC_(GdiEngUnlockSurface, 1) // 0x11a9 + SVC_(GdiEnumObjects, 4) // 0x11aa + SVC_(GdiEudcLoadUnloadLink, 7) // 0x11ab + SVC_(GdiExtFloodFill, 5) // 0x11ac + SVC_(GdiFONTOBJ_cGetAllGlyphHandles, 2) // 0x11ad + SVC_(GdiFONTOBJ_cGetGlyphs, 5) // 0x11ae + SVC_(GdiFONTOBJ_pQueryGlyphAttrs, 2) // 0x11af + SVC_(GdiFONTOBJ_pfdg, 1) // 0x11b0 + SVC_(GdiFONTOBJ_pifi, 1) // 0x11b1 + SVC_(GdiFONTOBJ_pvTrueTypeFontFile, 2) // 0x11b2 + SVC_(GdiFONTOBJ_pxoGetXform, 1) // 0x11b3 + SVC_(GdiFONTOBJ_vGetInfo, 3) // 0x11b4 + SVC_(GdiFlattenPath, 1) // 0x11b5 + SVC_(GdiFontIsLinked, 1) // 0x11b6 + SVC_(GdiForceUFIMapping, 2) // 0x11b7 + SVC_(GdiFrameRgn, 5) // 0x11b8 + SVC_(GdiFullscreenControl, 5) // 0x11b9 + SVC_(GdiGetBoundsRect, 3) // 0x11ba + SVC_(GdiGetCharABCWidthsW, 6) // 0x11bb + SVC_(GdiGetCharacterPlacementW, 6) // 0x11bc + SVC_(GdiGetColorAdjustment, 2) // 0x11bd + SVC_(GdiGetColorSpaceforBitmap, 1) // 0x11be + SVC_(GdiGetDeviceCaps, 2) // 0x11bf + SVC_(GdiGetDeviceCapsAll, 2) // 0x11c0 + SVC_(GdiGetDeviceGammaRamp, 2) // 0x11c1 + SVC_(GdiGetDeviceWidth, 1) // 0x11c2 + SVC_(GdiGetDhpdev, 1) // 0x11c3 + SVC_(GdiGetETM, 2) // 0x11c4 + SVC_(GdiGetEmbUFI, 7) // 0x11c5 + SVC_(GdiGetEmbedFonts, 0) // 0x11c6 + SVC_(GdiGetEudcTimeStampEx, 3) // 0x11c7 + SVC_(GdiGetFontResourceInfoInternalW, 7) // 0x11c8 + SVC_(GdiGetFontUnicodeRanges, 2) // 0x11c9 + SVC_(GdiGetGlyphIndicesW, 5) // 0x11ca + SVC_(GdiGetGlyphIndicesWInternal, 6) // 0x11cb + SVC_(GdiGetGlyphOutline, 8) // 0x11cc + SVC_(GdiGetKerningPairs, 3) // 0x11cd + SVC_(GdiGetLinkedUFIs, 3) // 0x11ce + SVC_(GdiGetMiterLimit, 2) // 0x11cf + SVC_(GdiGetMonitorID, 3) // 0x11d0 + SVC_(GdiGetObjectBitmapHandle, 2) // 0x11d1 + SVC_(GdiGetPath, 4) // 0x11d2 + SVC_(GdiGetPerBandInfo, 2) // 0x11d3 + SVC_(GdiGetRealizationInfo, 3) // 0x11d4 + SVC_(GdiGetServerMetaFileBits, 7) // 0x11d5 + SVC_(GdiGetSpoolMessage, 4) // 0x11d6 + SVC_(GdiGetStats, 5) // 0x11d7 + SVC_(GdiGetStringBitmapW, 5) // 0x11d8 + SVC_(GdiGetTextExtentExW, 8) // 0x11d9 + SVC_(GdiGetUFI, 6) // 0x11da + SVC_(GdiGetUFIPathname, 10) // 0x11db + SVC_(GdiGradientFill, 6) // 0x11dc + SVC_(GdiHT_Get8BPPFormatPalette, 4) // 0x11dd + SVC_(GdiHT_Get8BPPMaskPalette, 6) // 0x11de + SVC_(GdiIcmBrushInfo, 8) // 0x11df + SVC_(GdiInit, 0) // 0x11e0 + SVC_(GdiInitSpool, 0) // 0x11e1 + SVC_(GdiMakeFontDir, 5) // 0x11e2 + SVC_(GdiMakeInfoDC, 2) // 0x11e3 + SVC_(GdiMakeObjectUnXferable, 0) // 0x11e4 + SVC_(GdiMakeObjectXferable, 2) // 0x11e5 + SVC_(GdiMirrorWindowOrg, 1) // 0x11e6 + SVC_(GdiMonoBitmap, 1) // 0x11e7 + SVC_(GdiMoveTo, 4) // 0x11e8 + SVC_(GdiOffsetClipRgn, 3) // 0x11e9 + SVC_(GdiPATHOBJ_bEnum, 2) // 0x11ea + SVC_(GdiPATHOBJ_bEnumClipLines, 3) // 0x11eb + SVC_(GdiPATHOBJ_vEnumStart, 1) // 0x11ec + SVC_(GdiPATHOBJ_vEnumStartClipLines, 4) // 0x11ed + SVC_(GdiPATHOBJ_vGetBounds, 2) // 0x11ee + SVC_(GdiPathToRegion, 1) // 0x11ef + SVC_(GdiPlgBlt, 11) // 0x11f0 + SVC_(GdiPolyDraw, 4) // 0x11f1 + SVC_(GdiPolyTextOutW, 4) // 0x11f2 + SVC_(GdiPtInRegion, 3) // 0x11f3 + SVC_(GdiPtVisible, 3) // 0x11f4 + SVC_(GdiQueryFonts, 3) // 0x11f5 + SVC_(GdiRemoveFontResourceW, 6) // 0x11f6 + SVC_(GdiRemoveMergeFont, 2) // 0x11f7 + SVC_(GdiResetDC, 5) // 0x11f8 + SVC_(GdiResizePalette, 2) // 0x11f9 + SVC_(GdiRoundRect, 7) // 0x11fa + SVC_(GdiSTROBJ_bEnum, 3) // 0x11fb + SVC_(GdiSTROBJ_bEnumPositionsOnly, 3) // 0x11fc + SVC_(GdiSTROBJ_bGetAdvanceWidths, 4) // 0x11fd + SVC_(GdiSTROBJ_dwGetCodePage, 1) // 0x11fe + SVC_(GdiSTROBJ_vEnumStart, 1) // 0x11ff + SVC_(GdiScaleViewportExtEx, 6) // 0x1200 + SVC_(GdiScaleWindowExtEx, 6) // 0x1201 + SVC_(GdiSelectBrush, 2) // 0x1202 + SVC_(GdiSelectClipPath, 2) // 0x1203 + SVC_(GdiSelectPen, 2) // 0x1204 + SVC_(GdiSetBitmapAttributes, 2) // 0x1205 + SVC_(GdiSetBrushAttributes, 2) // 0x1206 + SVC_(GdiSetColorAdjustment, 2) // 0x1207 + SVC_(GdiSetColorSpace, 2) // 0x1208 + SVC_(GdiSetDeviceGammaRamp, 2) // 0x1209 + SVC_(GdiSetFontXform, 3) // 0x120a + SVC_(GdiSetIcmMode, 3) // 0x120b + SVC_(GdiSetLinkedUFIs, 3) // 0x120c + SVC_(GdiSetMagicColors, 3) // 0x120d + SVC_(GdiSetPUMPDOBJ, 4) // 0x120e + SVC_(GdiSetPixelFormat, 2) // 0x120f + SVC_(GdiSetRectRgn, 5) // 0x1210 + SVC_(GdiSetSizeDevice, 3) // 0x1211 + SVC_(GdiSetSystemPaletteUse, 2) // 0x1212 + SVC_(GdiSetTextJustification, 3) // 0x1213 + SVC_(GdiStartDoc, 4) // 0x1214 + SVC_(GdiStartPage, 1) // 0x1215 + SVC_(GdiStrokeAndFillPath, 1) // 0x1216 + SVC_(GdiStrokePath, 1) // 0x1217 + SVC_(GdiSwapBuffers, 1) // 0x1218 + SVC_(GdiTransparentBlt, 11) // 0x1219 + SVC_(GdiUMPDEngFreeUserMem, 1) // 0x121a + SVC_(GdiUnloadPrinterDriver, 2) // 0x121b + SVC_(GdiUnmapMemFont, 1) // 0x121c + SVC_(GdiUpdateColors, 1) // 0x121d + SVC_(GdiUpdateTransform, 1) // 0x121e + SVC_(GdiWidenPath, 1) // 0x121f + SVC_(GdiXFORMOBJ_bApplyXform, 5) // 0x1220 + SVC_(GdiXFORMOBJ_iGetXform, 2) // 0x1221 + SVC_(GdiXLATEOBJ_cGetPalette, 4) // 0x1222 + SVC_(GdiXLATEOBJ_hGetColorTransform, 1) // 0x1223 + SVC_(GdiXLATEOBJ_iXlate, 2) // 0x1224 + SVC_(UserAssociateInputContext, 3) // 0x1225 + SVC_(UserBlockInput, 1) // 0x1226 + SVC_(UserBuildHimcList, 4) // 0x1227 + SVC_(UserBuildPropList, 4) // 0x1228 + SVC_(UserCallHwndOpt, 2) // 0x1229 + SVC_(UserChangeDisplaySettings, 4) // 0x122a + SVC_(UserChildWindowFromPointEx, 4) // 0x122b + SVC_(UserClipCursor, 1) // 0x122c + SVC_(UserCreateDesktop, 5) // 0x122d + SVC_(UserCreateInputContext, 1) // 0x122e + SVC_(UserCreateWindowStation, 7) // 0x122f + SVC_(UserCtxDisplayIOCtl, 3) // 0x1230 + SVC_(UserDdeGetQualityOfService, 3) // 0x1231 + SVC_(UserDdeSetQualityOfService, 3) // 0x1232 + SVC_(UserDestroyInputContext, 1) // 0x1233 + SVC_(UserDisableThreadIme, 1) // 0x1234 + SVC_(UserDragDetect, 3) // 0x1235 + SVC_(UserDragObject, 5) // 0x1236 + SVC_(UserDrawAnimatedRects, 4) // 0x1237 + SVC_(UserDrawCaption, 4) // 0x1238 + SVC_(UserDrawCaptionTemp, 7) // 0x1239 + SVC_(UserDrawMenuBarTemp, 5) // 0x123a + SVC_(UserEndMenu, 0) // 0x123b + SVC_(UserEvent, 1) // 0x123c + SVC_(UserFlashWindowEx, 1) // 0x123d + SVC_(UserGetAppImeLevel, 1) // 0x123e + SVC_(UserGetCaretPos, 1) // 0x123f + SVC_(UserGetClipCursor, 1) // 0x1240 + SVC_(UserGetClipboardViewer, 0) // 0x1241 + SVC_(UserGetComboBoxInfo, 2) // 0x1242 + SVC_(UserGetCursorInfo, 1) // 0x1243 + SVC_(UserGetGuiResources, 2) // 0x1244 + SVC_(UserGetImeHotKey, 4) // 0x1245 + SVC_(UserGetImeInfoEx, 2) // 0x1246 + SVC_(UserGetInternalWindowPos, 3) // 0x1247 + SVC_(UserGetKeyNameText, 3) // 0x1248 + SVC_(UserGetKeyboardLayoutName, 1) // 0x1249 + SVC_(UserGetLayeredWindowAttributes, 4) // 0x124a + SVC_(UserGetListBoxInfo, 1) // 0x124b + SVC_(UserGetMenuIndex, 2) // 0x124c + SVC_(UserGetMenuItemRect, 4) // 0x124d + SVC_(UserGetMouseMovePointsEx, 5) // 0x124e + SVC_(UserGetPriorityClipboardFormat, 2) // 0x124f + SVC_(UserGetRawInputBuffer, 3) // 0x1250 + SVC_(UserGetRawInputData, 5) // 0x1251 + SVC_(UserGetRawInputDeviceInfo, 4) // 0x1252 + SVC_(UserGetRawInputDeviceList, 3) // 0x1253 + SVC_(UserGetRegisteredRawInputDevices, 3) // 0x1254 + SVC_(UserGetWOWClass, 2) // 0x1255 + SVC_(UserHardErrorControl, 3) // 0x1256 + SVC_(UserHiliteMenuItem, 4) // 0x1257 + SVC_(UserImpersonateDdeClientWindow, 2) // 0x1258 + SVC_(UserInitTask, 12) // 0x1259 + SVC_(UserInitialize, 3) // 0x125a + SVC_(UserInitializeClientPfnArrays, 4) // 0x125b + SVC_(UserLoadKeyboardLayoutEx, 7) // 0x125c + SVC_(UserLockWindowStation, 1) // 0x125d + SVC_(UserLockWorkStation, 0) // 0x125e + SVC_(UserMNDragLeave, 0) // 0x125f + SVC_(UserMNDragOver, 2) // 0x1260 + SVC_(UserMenuItemFromPoint, 4) // 0x1261 + SVC_(UserMinMaximize, 3) // 0x1262 + SVC_(UserNotifyIMEStatus, 3) // 0x1263 + SVC_(UserOpenInputDesktop, 3) // 0x1264 + SVC_(UserPrintWindow, 3) // 0x1265 + SVC_(UserQueryInformationThread, 4) // 0x1266 + SVC_(UserQueryInputContext, 2) // 0x1267 + SVC_(UserQuerySendMessage, 1) // 0x1268 + SVC_(UserRealChildWindowFromPoint, 3) // 0x1269 + SVC_(UserRealWaitMessageEx, 2) // 0x126a + SVC_(UserRegisterHotKey, 4) // 0x126b + SVC_(UserRegisterRawInputDevices, 3) // 0x126c + SVC_(UserRegisterTasklist, 1) // 0x126d + SVC_(UserRegisterUserApiHook, 4) // 0x126e + SVC_(UserRemoteConnect, 3) // 0x126f + SVC_(UserRemoteRedrawRectangle, 4) // 0x1270 + SVC_(UserRemoteRedrawScreen, 0) // 0x1271 + SVC_(UserRemoteStopScreenUpdates, 0) // 0x1272 + SVC_(UserResolveDesktopForWOW, 1) // 0x1273 + SVC_(UserSetAppImeLevel, 2) // 0x1274 + SVC_(UserSetClassWord, 3) // 0x1275 + SVC_(UserSetCursorContents, 2) // 0x1276 + SVC_(UserSetImeHotKey, 5) // 0x1277 + SVC_(UserSetImeInfoEx, 1) // 0x1278 + SVC_(UserSetImeOwnerWindow, 2) // 0x1279 + SVC_(UserSetInternalWindowPos, 4) // 0x127a + SVC_(UserSetLayeredWindowAttributes, 4) // 0x127b + SVC_(UserSetLogonNotifyWindow, 1) // 0x127c + SVC_(UserSetMenu, 3) // 0x127d + SVC_(UserSetMenuContextHelpId, 2) // 0x127e + SVC_(UserSetMenuFlagRtoL, 1) // 0x127f + SVC_(UserSetObjectInformation, 4) // 0x1280 + SVC_(UserSetShellWindowEx, 2) // 0x1281 + SVC_(UserSetSysColors, 4) // 0x1282 + SVC_(UserSetSystemCursor, 2) // 0x1283 + SVC_(UserSetSystemTimer, 4) // 0x1284 + SVC_(UserSetThreadLayoutHandles, 2) // 0x1285 + SVC_(UserSetWindowStationUser, 4) // 0x1286 + SVC_(UserSoundSentry, 0) // 0x1287 + SVC_(UserSwitchDesktop, 1) // 0x1288 + SVC_(UserTestForInteractiveUser, 1) // 0x1289 + SVC_(UserTrackPopupMenuEx, 6) // 0x128a + SVC_(UserUnloadKeyboardLayout, 1) // 0x128b + SVC_(UserUnlockWindowStation, 1) // 0x128c + SVC_(UserUnregisterHotKey, 2) // 0x128d + SVC_(UserUnregisterUserApiHook, 0) // 0x128e + SVC_(UserUpdateInputContext, 3) // 0x128f + SVC_(UserUpdateInstance, 3) // 0x1290 + SVC_(UserUpdateLayeredWindow, 10) // 0x1291 + SVC_(UserUpdatePerUserSystemParameters, 2) // 0x1292 + SVC_(UserUserHandleGrantAccess, 3) // 0x1293 + SVC_(UserValidateHandleSecure, 1) // 0x1294 + SVC_(UserWaitForInputIdle, 3) // 0x1295 + SVC_(UserWaitForMsgAndEvent, 1) // 0x1296 + SVC_(UserSetClassLongPtr, 4) // 0x1297 + SVC_(UserSetWindowLongPtr, 4) // 0x1298 + SVC_(UserWin32PoolAllocationStats, 6) // 0x1299 + SVC_(UserYieldTask, 0) // 0x129a + SVC_(DxEngGetRedirectionBitmap, 1) // + SVC_(GdiDdDDICreateDCFromMemory, 1) // + SVC_(GdiDdDDIDestroyDCFromMemory, 1) // + SVC_(GdiGetFontFamilyInfo, 4) // + SVC_(GdiOffsetViewportOrgEx, 4) // + SVC_(GdiOffsetWindowOrgEx, 4) // + SVC_(GdiSetViewportOrgEx, 4) // + SVC_(GdiSetWindowOrgEx, 4) // + SVC_(UserDbgWin32HeapFail, 2) // + SVC_(UserDbgWin32HeapStat, 2) // + SVC_(UserGetMonitorInfo, 2) // + SVC_(UserMonitorFromPoint, 3) // + SVC_(UserMonitorFromRect, 2) // + SVC_(UserMonitorFromWindow, 2) // + SVC_(UserSetDbgTag, 2) // + SVC_(UserSetDbgTagCount, 1) // + SVC_(UserSetRipFlags, 1) // + SVC_(UserSetScrollBarInfo, 3) //
3 months, 1 week
1
0
0
0
[reactos] 02/04: [SDK] Add unaligned.h header for safely accessing unaligned variables
by Timo Kreuzer
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=53b304e6a9e528787ff10…
commit 53b304e6a9e528787ff10a6c7abe1b3f0da9f8aa Author: Timo Kreuzer <timo.kreuzer(a)reactos.org> AuthorDate: Wed Sep 11 14:49:21 2024 +0300 Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org> CommitDate: Sun Sep 15 12:09:09 2024 +0300 [SDK] Add unaligned.h header for safely accessing unaligned variables This supersedes RtlStoreUshort/RtlRetrieveUshort etc, which have a horrible interface and are inherently unsafe. --- sdk/include/reactos/unaligned.h | 147 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+) diff --git a/sdk/include/reactos/unaligned.h b/sdk/include/reactos/unaligned.h new file mode 100644 index 00000000000..4f7f12a9ef8 --- /dev/null +++ b/sdk/include/reactos/unaligned.h @@ -0,0 +1,147 @@ +/* + * PROJECT: ReactOS SDK + * LICENSE: MIT (
https://spdx.org/licenses/MIT
) + * PURPOSE: Unaligened access helper functions + * COPYRIGHT: Copyright 2024 Timo Kreuzer <timo.kreuzer(a)reactos.org> + */ + +#pragma once + +#ifdef __cplusplus +extern "C" { +#endif + +#if defined(_M_IX86) || defined(_M_AMD64) +#define _UNALIGNED_ACCESS_ALLOWED 1 +#else // defined(_M_IX86) || defined(_M_AMD64) +#define _UNALIGNED_ACCESS_ALLOWED 0 +#endif // defined(_M_IX86) || defined(_M_AMD64) + +#if _UNALIGNED_ACCESS_ALLOWED + +__forceinline +unsigned short +ReadUnalignedU16(const unsigned short* p) +{ + return *p; +} + +__forceinline +unsigned long +ReadUnalignedU32(const unsigned long* p) +{ + return *p; +} + +__forceinline +unsigned long long +ReadUnalignedU64(const unsigned long long* p) +{ + return *p; +} + +__forceinline +void +WriteUnalignedU16(unsigned short* p, unsigned short val) +{ + *p = val; +} + +__forceinline +void +WriteUnalignedU32(unsigned long* p, unsigned long val) +{ + *p = val; +} + +__forceinline +void +WriteUnalignedU64(unsigned long long* p, unsigned long long val) +{ + *p = val; +} + +#else // !UNALIGNED_ACCESS_ALLOWED + +__forceinline +unsigned short +ReadUnalignedU16(const unsigned short* p) +{ + unsigned char* p1 = (unsigned char*)p; + return (unsigned short)(p1[0] | (p1[1] << 8)); +} + +__forceinline +unsigned long +ReadUnalignedU32(const unsigned long* p) +{ + unsigned char* p1 = (unsigned char*)p; + return (((unsigned long)p1[0] << 0) | + ((unsigned long)p1[1] << 8) | + ((unsigned long)p1[2] << 16) | + ((unsigned long)p1[3] << 24)); +} + +__forceinline +unsigned long long +ReadUnalignedU64(const unsigned long long* p) +{ + unsigned char* p1 = (unsigned char*)p; + return (((unsigned long long)p1[0] << 0) | + ((unsigned long long)p1[1] << 8) | + ((unsigned long long)p1[2] << 16) | + ((unsigned long long)p1[3] << 24) | + ((unsigned long long)p1[4] << 32) | + ((unsigned long long)p1[5] << 40) | + ((unsigned long long)p1[6] << 48) | + ((unsigned long long)p1[7] << 56)); +} + +__forceinline +void +WriteUnalignedU16(unsigned short* p, unsigned short val) +{ + unsigned char* p1 = (unsigned char*)p; + p1[0] = (unsigned char)(val >> 0); + p1[1] = (unsigned char)(val >> 8); +} + +__forceinline +void +WriteUnalignedU32(unsigned long* p, unsigned long val) +{ + unsigned char* p1 = (unsigned char*)p; + p1[0] = (unsigned char)(val >> 0); + p1[1] = (unsigned char)(val >> 8); + p1[2] = (unsigned char)(val >> 16); + p1[3] = (unsigned char)(val >> 24); +} + +__forceinline +void +WriteUnalignedU64(unsigned long long* p, unsigned long long val) +{ + unsigned char* p1 = (unsigned char*)p; + p1[0] = (unsigned char)(val >> 0); + p1[1] = (unsigned char)(val >> 8); + p1[2] = (unsigned char)(val >> 16); + p1[3] = (unsigned char)(val >> 24); + p1[4] = (unsigned char)(val >> 32); + p1[5] = (unsigned char)(val >> 40); + p1[6] = (unsigned char)(val >> 48); + p1[7] = (unsigned char)(val >> 56); +} + +#endif // !UNALIGNED_ACCESS_ALLOWED + +#ifdef _WIN64 +#define ReadUnalignedUlongPtr ReadUnalignedU64 +#define WriteUnalignedUlongPtr WriteUnalignedU64 +#else // _WIN64 +#define ReadUnalignedUlongPtr ReadUnalignedU32 +#define WriteUnalignedUlongPtr WriteUnalignedU32 +#endif // _WIN64 + +#ifdef __cplusplus +} // extern "C" +#endif
3 months, 1 week
1
0
0
0
← Newer
1
2
3
4
5
6
7
8
9
...
12
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
Results per page:
10
25
50
100
200