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 2013
----- 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
16 participants
554 discussions
Start a n
N
ew thread
[akhaldi] 59956: [PSDK] * Annotate winnetwk.h.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Sun Sep 1 21:25:52 2013 New Revision: 59956 URL:
http://svn.reactos.org/svn/reactos?rev=59956&view=rev
Log: [PSDK] * Annotate winnetwk.h. Modified: trunk/reactos/include/psdk/winnetwk.h Modified: trunk/reactos/include/psdk/winnetwk.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winnetwk.h?re…
============================================================================== --- trunk/reactos/include/psdk/winnetwk.h [iso-8859-1] (original) +++ trunk/reactos/include/psdk/winnetwk.h [iso-8859-1] Sun Sep 1 21:25:52 2013 @@ -4,10 +4,12 @@ #ifdef __cplusplus extern "C" { #endif + #ifdef _MSC_VER #pragma warning(push) #pragma warning(disable:4820) #endif + #define WNNC_NET_MSNET 0x00010000 #define WNNC_NET_LANMAN 0x00020000 #define WNNC_NET_NETWARE 0x00030000 @@ -160,6 +162,7 @@ #define WNCON_DYNAMIC 8 #ifndef RC_INVOKED + typedef struct _NETRESOURCEA { DWORD dwScope; DWORD dwType; @@ -244,49 +247,299 @@ DWORD dwOptDataSize; } NETCONNECTINFOSTRUCT,*LPNETCONNECTINFOSTRUCT; -DWORD APIENTRY WNetAddConnectionA(LPCSTR,LPCSTR,LPCSTR); -DWORD APIENTRY WNetAddConnectionW(LPCWSTR,LPCWSTR,LPCWSTR); -DWORD APIENTRY WNetAddConnection2A(LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD); -DWORD APIENTRY WNetAddConnection2W(LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD); -DWORD APIENTRY WNetAddConnection3A(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD); -DWORD APIENTRY WNetAddConnection3W(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD); -DWORD APIENTRY WNetCancelConnectionA(LPCSTR,BOOL); -DWORD APIENTRY WNetCancelConnectionW(LPCWSTR,BOOL); -DWORD APIENTRY WNetCancelConnection2A(LPCSTR,DWORD,BOOL); -DWORD APIENTRY WNetCancelConnection2W(LPCWSTR,DWORD,BOOL); -DWORD APIENTRY WNetGetConnectionA(LPCSTR,LPSTR,PDWORD); -DWORD APIENTRY WNetGetConnectionW(LPCWSTR,LPWSTR,PDWORD); -DWORD APIENTRY WNetUseConnectionA(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD,LPSTR,PDWORD,PDWORD); -DWORD APIENTRY WNetUseConnectionW(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD,LPWSTR,PDWORD,PDWORD); +_Check_return_ +DWORD +APIENTRY +WNetAddConnectionA( + _In_ LPCSTR, + _In_opt_ LPCSTR, + _In_opt_ LPCSTR); + +_Check_return_ +DWORD +APIENTRY +WNetAddConnectionW( + _In_ LPCWSTR, + _In_opt_ LPCWSTR, + _In_opt_ LPCWSTR); + +_Check_return_ +DWORD +APIENTRY +WNetAddConnection2A( + _In_ LPNETRESOURCEA, + _In_opt_ LPCSTR, + _In_opt_ LPCSTR, + _In_ DWORD); + +_Check_return_ +DWORD +APIENTRY +WNetAddConnection2W( + _In_ LPNETRESOURCEW, + _In_opt_ LPCWSTR, + _In_opt_ LPCWSTR, + _In_ DWORD); + +_Check_return_ +DWORD +APIENTRY +WNetAddConnection3A( + _In_opt_ HWND, + _In_ LPNETRESOURCEA, + _In_opt_ LPCSTR, + _In_opt_ LPCSTR, + _In_ DWORD); + +_Check_return_ +DWORD +APIENTRY +WNetAddConnection3W( + _In_opt_ HWND, + _In_ LPNETRESOURCEW, + _In_opt_ LPCWSTR, + _In_opt_ LPCWSTR, + _In_ DWORD); + +_Check_return_ DWORD APIENTRY WNetCancelConnectionA(_In_ LPCSTR, _In_ BOOL); +_Check_return_ DWORD APIENTRY WNetCancelConnectionW(_In_ LPCWSTR, _In_ BOOL); + +_Check_return_ +DWORD +APIENTRY +WNetCancelConnection2A( + _In_ LPCSTR, + _In_ DWORD, + _In_ BOOL); + +_Check_return_ +DWORD +APIENTRY +WNetCancelConnection2W( + _In_ LPCWSTR, + _In_ DWORD, + _In_ BOOL); + +_Check_return_ +DWORD +APIENTRY +WNetGetConnectionA( + _In_ LPCSTR lpLocalName, + _Out_writes_opt_(*lpnLength) LPSTR lpRemoteName, + _Inout_ LPDWORD lpnLength); + +_Check_return_ +DWORD +APIENTRY +WNetGetConnectionW( + _In_ LPCWSTR lpLocalName, + _Out_writes_opt_(*lpnLength) LPWSTR lpRemoteName, + _Inout_ LPDWORD lpnLength); + +_Check_return_ +DWORD +APIENTRY +WNetUseConnectionA( + _In_opt_ HWND hwndOwner, + _In_ LPNETRESOURCEA lpNetResource, + _In_opt_ LPCSTR lpPassword, + _In_opt_ LPCSTR lpUserId, + _In_ DWORD dwFlags, + _Out_writes_opt_(*lpBufferSize) LPSTR lpAccessName, + _Inout_opt_ LPDWORD lpBufferSize, + _Out_opt_ LPDWORD lpResult); + +_Check_return_ +DWORD +APIENTRY +WNetUseConnectionW( + _In_opt_ HWND hwndOwner, + _In_ LPNETRESOURCEW lpNetResource, + _In_opt_ LPCWSTR lpPassword, + _In_opt_ LPCWSTR lpUserId, + _In_ DWORD dwFlags, + _Out_writes_opt_(*lpBufferSize) LPWSTR lpAccessName, + _Inout_opt_ LPDWORD lpBufferSize, + _Out_opt_ LPDWORD lpResult); + DWORD APIENTRY WNetSetConnectionA(LPCSTR,DWORD,PVOID); DWORD APIENTRY WNetSetConnectionW(LPCWSTR,DWORD,PVOID); -DWORD APIENTRY WNetConnectionDialog(HWND,DWORD); -DWORD APIENTRY WNetDisconnectDialog(HWND,DWORD); -DWORD APIENTRY WNetConnectionDialog1A(LPCONNECTDLGSTRUCTA); -DWORD APIENTRY WNetConnectionDialog1W(LPCONNECTDLGSTRUCTW); -DWORD APIENTRY WNetDisconnectDialog1A(LPDISCDLGSTRUCTA); -DWORD APIENTRY WNetDisconnectDialog1W(LPDISCDLGSTRUCTW); -DWORD APIENTRY WNetOpenEnumA(DWORD,DWORD,DWORD,LPNETRESOURCEA,LPHANDLE); -DWORD APIENTRY WNetOpenEnumW(DWORD,DWORD,DWORD,LPNETRESOURCEW,LPHANDLE); -DWORD APIENTRY WNetEnumResourceA(HANDLE,PDWORD,PVOID,PDWORD); -DWORD APIENTRY WNetEnumResourceW(HANDLE,PDWORD,PVOID,PDWORD); -DWORD APIENTRY WNetCloseEnum(HANDLE); -DWORD APIENTRY WNetGetUniversalNameA(LPCSTR,DWORD,PVOID,PDWORD); -DWORD APIENTRY WNetGetUniversalNameW(LPCWSTR,DWORD,PVOID,PDWORD); -DWORD APIENTRY WNetGetUserA(LPCSTR,LPSTR,PDWORD); -DWORD APIENTRY WNetGetUserW(LPCWSTR,LPWSTR,PDWORD); -DWORD APIENTRY WNetGetProviderNameA(DWORD,LPSTR,PDWORD); -DWORD APIENTRY WNetGetProviderNameW(DWORD,LPWSTR,PDWORD); -DWORD APIENTRY WNetGetNetworkInformationA(LPCSTR,LPNETINFOSTRUCT); -DWORD APIENTRY WNetGetNetworkInformationW(LPCWSTR,LPNETINFOSTRUCT); -DWORD APIENTRY WNetGetResourceInformationA(LPNETRESOURCEA,LPVOID,LPDWORD,LPSTR*); -DWORD APIENTRY WNetGetResourceInformationW(LPNETRESOURCEW,LPVOID,LPDWORD,LPWSTR*); -DWORD APIENTRY WNetGetLastErrorA(PDWORD,LPSTR,DWORD,LPSTR,DWORD); -DWORD APIENTRY WNetGetLastErrorW(PDWORD,LPWSTR,DWORD,LPWSTR,DWORD); +_Check_return_ DWORD APIENTRY WNetConnectionDialog(_In_ HWND, _In_ DWORD); +_Check_return_ DWORD APIENTRY WNetDisconnectDialog(_In_opt_ HWND, _In_ DWORD); + +_Check_return_ +DWORD +APIENTRY +WNetConnectionDialog1A( + _Inout_ LPCONNECTDLGSTRUCTA); + +_Check_return_ +DWORD +APIENTRY +WNetConnectionDialog1W( + _Inout_ LPCONNECTDLGSTRUCTW); + +_Check_return_ DWORD APIENTRY WNetDisconnectDialog1A(_In_ LPDISCDLGSTRUCTA); +_Check_return_ DWORD APIENTRY WNetDisconnectDialog1W(_In_ LPDISCDLGSTRUCTW); + +_Check_return_ +DWORD +APIENTRY +WNetOpenEnumA( + _In_ DWORD, + _In_ DWORD, + _In_ DWORD, + _In_opt_ LPNETRESOURCEA, + _Out_ LPHANDLE); + +_Check_return_ +DWORD +APIENTRY +WNetOpenEnumW( + _In_ DWORD, + _In_ DWORD, + _In_ DWORD, + _In_opt_ LPNETRESOURCEW, + _Out_ LPHANDLE); + +_Check_return_ +DWORD +APIENTRY +WNetEnumResourceA( + _In_ HANDLE hEnum, + _Inout_ LPDWORD lpcCount, + _Out_writes_bytes_(*lpBufferSize) LPVOID lpBuffer, + _Inout_ LPDWORD lpBufferSize); + +_Check_return_ +DWORD +APIENTRY +WNetEnumResourceW( + _In_ HANDLE hEnum, + _Inout_ LPDWORD lpcCount, + _Out_writes_bytes_(*lpBufferSize) LPVOID lpBuffer, + _Inout_ LPDWORD lpBufferSize); + +_Check_return_ DWORD APIENTRY WNetCloseEnum(_In_ HANDLE); + +_Check_return_ +DWORD +APIENTRY +WNetGetUniversalNameA( + _In_ LPCSTR lpLocalPath, + _In_ DWORD dwInfoLevel, + _Out_writes_bytes_(*lpBufferSize) LPVOID lpBuffer, + _Inout_ LPDWORD lpBufferSize); + +_Check_return_ +DWORD +APIENTRY +WNetGetUniversalNameW( + _In_ LPCWSTR lpLocalPath, + _In_ DWORD dwInfoLevel, + _Out_writes_bytes_(*lpBufferSize) LPVOID lpBuffer, + _Inout_ LPDWORD lpBufferSize); + +_Check_return_ +DWORD +APIENTRY +WNetGetUserA( + _In_opt_ LPCSTR lpName, + _Out_writes_(*lpnLength) LPSTR lpUserName, + _Inout_ LPDWORD lpnLength); + +_Check_return_ +DWORD +APIENTRY +WNetGetUserW( + _In_opt_ LPCWSTR lpName, + _Out_writes_(*lpnLength) LPWSTR lpUserName, + _Inout_ LPDWORD lpnLength); + +_Check_return_ +DWORD +APIENTRY +WNetGetProviderNameA( + _In_ DWORD dwNetType, + _Out_writes_(*lpBufferSize) LPSTR lpProviderName, + _Inout_ LPDWORD lpBufferSize); + +_Check_return_ +DWORD +APIENTRY +WNetGetProviderNameW( + _In_ DWORD dwNetType, + _Out_writes_(*lpBufferSize) LPWSTR lpProviderName, + _Inout_ LPDWORD lpBufferSize); + +_Check_return_ +DWORD +APIENTRY +WNetGetNetworkInformationA( + _In_ LPCSTR, + _Out_ LPNETINFOSTRUCT); + +_Check_return_ +DWORD +APIENTRY +WNetGetNetworkInformationW( + _In_ LPCWSTR, + _Out_ LPNETINFOSTRUCT); + +_Check_return_ +DWORD +APIENTRY +WNetGetResourceInformationA( + _In_ LPNETRESOURCEA lpNetResource, + _Out_writes_bytes_(*lpcbBuffer) LPVOID lpBuffer, + _Inout_ LPDWORD lpcbBuffer, + _Outptr_ LPSTR *lplpSystem); + +_Check_return_ +DWORD +APIENTRY +WNetGetResourceInformationW( + _In_ LPNETRESOURCEW lpNetResource, + _Out_writes_bytes_(*lpcbBuffer) LPVOID lpBuffer, + _Inout_ LPDWORD lpcbBuffer, + _Outptr_ LPWSTR *lplpSystem); + +_Check_return_ +DWORD +APIENTRY +WNetGetLastErrorA( + _Out_ LPDWORD lpError, + _Out_writes_(nErrorBufSize) LPSTR lpErrorBuf, + _In_ DWORD nErrorBufSize, + _Out_writes_(nNameBufSize) LPSTR lpNameBuf, + _In_ DWORD nNameBufSize); + +_Check_return_ +DWORD +APIENTRY +WNetGetLastErrorW( + _Out_ LPDWORD lpError, + _Out_writes_(nErrorBufSize) LPWSTR lpErrorBuf, + _In_ DWORD nErrorBufSize, + _Out_writes_(nNameBufSize) LPWSTR lpNameBuf, + _In_ DWORD nNameBufSize); + DWORD WINAPI WNetRestoreConnectionA(HWND,LPCSTR); DWORD WINAPI WNetRestoreConnectionW(HWND,LPCWSTR); -DWORD APIENTRY MultinetGetConnectionPerformanceA(LPNETRESOURCEA,LPNETCONNECTINFOSTRUCT); -DWORD APIENTRY MultinetGetConnectionPerformanceW(LPNETRESOURCEW,LPNETCONNECTINFOSTRUCT); + +_Check_return_ +DWORD +APIENTRY +MultinetGetConnectionPerformanceA( + _In_ LPNETRESOURCEA, + _Out_ LPNETCONNECTINFOSTRUCT); + +_Check_return_ +DWORD +APIENTRY +MultinetGetConnectionPerformanceW( + _In_ LPNETRESOURCEW, + _Out_ LPNETCONNECTINFOSTRUCT); #ifdef _WINE typedef struct tagPASSWORD_CACHE_ENTRY @@ -362,11 +615,15 @@ #define WNetGetLastError WNetGetLastErrorA #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA #endif -#endif + +#endif /* !RC_INVOKED */ + #ifdef _MSC_VER #pragma warning(pop) #endif + #ifdef __cplusplus } #endif -#endif + +#endif /* _WINNETWK_ */
11 years, 3 months
1
0
0
0
[akhaldi] 59955: [PAINT] * Fix MSVC build.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Sun Sep 1 21:17:36 2013 New Revision: 59955 URL:
http://svn.reactos.org/svn/reactos?rev=59955&view=rev
Log: [PAINT] * Fix MSVC build. Modified: trunk/reactos/base/applications/mspaint/drawing.c Modified: trunk/reactos/base/applications/mspaint/drawing.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
============================================================================== --- trunk/reactos/base/applications/mspaint/drawing.c [iso-8859-1] (original) +++ trunk/reactos/base/applications/mspaint/drawing.c [iso-8859-1] Sun Sep 1 21:17:36 2013 @@ -110,9 +110,10 @@ Erase(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF color, LONG radius) { LONG a, b; - b = max(1, max(abs(x2 - x1), abs(y2 - y1))); HPEN oldPen; HBRUSH oldBrush = SelectObject(hdc, CreateSolidBrush(color)); + + b = max(1, max(abs(x2 - x1), abs(y2 - y1))); oldPen = SelectObject(hdc, CreatePen(PS_SOLID, 1, color)); for(a = 0; a <= b; a++) Rectangle(hdc, (x1 * (b - a) + x2 * a) / b - radius + 1, @@ -194,10 +195,10 @@ case 10: case 11: { - POINT offsTop[] = {{.x = 4, .y = -3}, {.x = 2, .y = -2}, {.x = 0, .y = 0}, - {.x = -3, .y = -3}, {.x = -2, .y = -2}, {.x = -1, .y = 0}}; - POINT offsBtm[] = {{.x = -3, .y = 4}, {.x = -2, .y = 2}, {.x = -1, .y = 1}, - {.x = 4, .y = 4}, {.x = 2, .y = 2}, {.x = 0, .y = 1}}; + POINT offsTop[] = {{4, 3}, {2, -2}, {0, 0}, + {-3, -3}, {-2, -2}, {-1, 0}}; + POINT offsBtm[] = {{-3, 4}, {-2, 2}, {-1, 1}, + {4, 4}, {2, 2}, {0, 1}}; LONG idx = style - 6; POINT pts[4]; pts[0].x = x1 + offsTop[idx].x;
11 years, 3 months
1
0
0
0
[bfreisen] 59954: [PAINT] * Stretch/Skew dialog fully implemented (skewing not yet functional), please check translations * pre Windows Vista MSPaint palette selectable via menu entry * Attributes ...
by bfreisen@svn.reactos.org
Author: bfreisen Date: Sun Sep 1 20:13:15 2013 New Revision: 59954 URL:
http://svn.reactos.org/svn/reactos?rev=59954&view=rev
Log: [PAINT] * Stretch/Skew dialog fully implemented (skewing not yet functional), please check translations * pre Windows Vista MSPaint palette selectable via menu entry * Attributes dialog supports setting width and height in inches and cm also * drawing functions improved * some variables grouped into structs * Changed SendMessage(... WM_PAINT ...) into InvalidateRect(...), this is the way it should be and it fixes half of the repainting bugs Added: trunk/reactos/base/applications/mspaint/icons/horzskew.ico (with props) trunk/reactos/base/applications/mspaint/icons/vertskew.ico (with props) Modified: trunk/reactos/base/applications/mspaint/definitions.h trunk/reactos/base/applications/mspaint/dialogs.c trunk/reactos/base/applications/mspaint/drawing.c trunk/reactos/base/applications/mspaint/drawing.h trunk/reactos/base/applications/mspaint/globalvar.h trunk/reactos/base/applications/mspaint/icons.rc trunk/reactos/base/applications/mspaint/lang/bg-BG.rc trunk/reactos/base/applications/mspaint/lang/cs-CZ.rc trunk/reactos/base/applications/mspaint/lang/de-DE.rc trunk/reactos/base/applications/mspaint/lang/en-GB.rc trunk/reactos/base/applications/mspaint/lang/en-US.rc trunk/reactos/base/applications/mspaint/lang/es-ES.rc trunk/reactos/base/applications/mspaint/lang/eu-ES.rc trunk/reactos/base/applications/mspaint/lang/fr-FR.rc trunk/reactos/base/applications/mspaint/lang/he-IL.rc trunk/reactos/base/applications/mspaint/lang/hu-HU.rc trunk/reactos/base/applications/mspaint/lang/it-IT.rc trunk/reactos/base/applications/mspaint/lang/ja-JP.rc trunk/reactos/base/applications/mspaint/lang/nl-NL.rc trunk/reactos/base/applications/mspaint/lang/no-NO.rc trunk/reactos/base/applications/mspaint/lang/pl-PL.rc trunk/reactos/base/applications/mspaint/lang/pt-BR.rc trunk/reactos/base/applications/mspaint/lang/pt-PT.rc trunk/reactos/base/applications/mspaint/lang/ro-RO.rc trunk/reactos/base/applications/mspaint/lang/ru-RU.rc trunk/reactos/base/applications/mspaint/lang/sk-SK.rc trunk/reactos/base/applications/mspaint/lang/sv-SE.rc trunk/reactos/base/applications/mspaint/lang/tr-TR.rc trunk/reactos/base/applications/mspaint/lang/uk-UA.rc trunk/reactos/base/applications/mspaint/lang/zh-CN.rc trunk/reactos/base/applications/mspaint/lang/zh-TW.rc trunk/reactos/base/applications/mspaint/main.c trunk/reactos/base/applications/mspaint/mouse.c trunk/reactos/base/applications/mspaint/palette.c trunk/reactos/base/applications/mspaint/selection.c trunk/reactos/base/applications/mspaint/sizebox.c trunk/reactos/base/applications/mspaint/toolsettings.c trunk/reactos/base/applications/mspaint/winproc.c [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/reactos/base/applications/mspaint/definitions.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/dialogs.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/drawing.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/drawing.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/globalvar.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/icons.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Added: trunk/reactos/base/applications/mspaint/icons/horzskew.ico URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Added: trunk/reactos/base/applications/mspaint/icons/vertskew.ico URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/bg-BG.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/cs-CZ.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/de-DE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/en-GB.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/en-US.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/es-ES.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/eu-ES.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/fr-FR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/he-IL.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/hu-HU.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/ja-JP.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/nl-NL.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/no-NO.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/pl-PL.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/pt-BR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/pt-PT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/ro-RO.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/ru-RU.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/sk-SK.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/sv-SE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/uk-UA.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/zh-CN.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/lang/zh-TW.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/main.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/mouse.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/palette.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/selection.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/sizebox.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/toolsettings.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
Modified: trunk/reactos/base/applications/mspaint/winproc.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
11 years, 3 months
1
0
0
0
[akhaldi] 59953: [KMTESTS] * Run this block now that guard pages are supported. ROSTESTS-107 #resolve
by akhaldi@svn.reactos.org
Author: akhaldi Date: Sun Sep 1 17:55:00 2013 New Revision: 59953 URL:
http://svn.reactos.org/svn/reactos?rev=59953&view=rev
Log: [KMTESTS] * Run this block now that guard pages are supported. ROSTESTS-107 #resolve Modified: trunk/rostests/kmtests/ntos_mm/ZwAllocateVirtualMemory.c Modified: trunk/rostests/kmtests/ntos_mm/ZwAllocateVirtualMemory.c URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/ntos_mm/ZwAllocat…
============================================================================== --- trunk/rostests/kmtests/ntos_mm/ZwAllocateVirtualMemory.c [iso-8859-1] (original) +++ trunk/rostests/kmtests/ntos_mm/ZwAllocateVirtualMemory.c [iso-8859-1] Sun Sep 1 17:55:00 2013 @@ -238,8 +238,7 @@ ////////////////////////////////////////////////////////////////////////// // GUARD PAGES ////////////////////////////////////////////////////////////////////////// -/* FIXME: We don't support guard pages. See CORE-6639, ROSTESTS-107 */ -#ifdef ROSTESTS_107_FIXED + RegionSize = 1000; Base = NULL; ZwAllocateVirtualMemory(NtCurrentProcess(), &Base, 0, &RegionSize, (MEM_COMMIT | MEM_RESERVE), (PAGE_GUARD | PAGE_READWRITE)); @@ -257,7 +256,6 @@ RegionSize = 0; ZwFreeVirtualMemory(NtCurrentProcess(), &Base, &RegionSize, MEM_RELEASE); -#endif /* ROSTESTS_107_FIXED */ return Status; }
11 years, 3 months
1
0
0
0
[aandrejevic] 59952: [SOFT386] Implement the "MOV reg8, imm8" instruction.
by aandrejevic@svn.reactos.org
Author: aandrejevic Date: Sun Sep 1 17:54:51 2013 New Revision: 59952 URL:
http://svn.reactos.org/svn/reactos?rev=59952&view=rev
Log: [SOFT386] Implement the "MOV reg8, imm8" instruction. Modified: branches/ntvdm/lib/soft386/opcodes.c branches/ntvdm/lib/soft386/opcodes.h Modified: branches/ntvdm/lib/soft386/opcodes.c URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/soft386/opcodes.c?rev…
============================================================================== --- branches/ntvdm/lib/soft386/opcodes.c [iso-8859-1] (original) +++ branches/ntvdm/lib/soft386/opcodes.c [iso-8859-1] Sun Sep 1 17:54:51 2013 @@ -200,14 +200,14 @@ NULL, // TODO: OPCODE 0xAD NOT SUPPORTED NULL, // TODO: OPCODE 0xAE NOT SUPPORTED NULL, // TODO: OPCODE 0xAF NOT SUPPORTED - NULL, // TODO: OPCODE 0xB0 NOT SUPPORTED - NULL, // TODO: OPCODE 0xB1 NOT SUPPORTED - NULL, // TODO: OPCODE 0xB2 NOT SUPPORTED - NULL, // TODO: OPCODE 0xB3 NOT SUPPORTED - NULL, // TODO: OPCODE 0xB4 NOT SUPPORTED - NULL, // TODO: OPCODE 0xB5 NOT SUPPORTED - NULL, // TODO: OPCODE 0xB6 NOT SUPPORTED - NULL, // TODO: OPCODE 0xB7 NOT SUPPORTED + Soft386OpcodeMovByteRegImm, + Soft386OpcodeMovByteRegImm, + Soft386OpcodeMovByteRegImm, + Soft386OpcodeMovByteRegImm, + Soft386OpcodeMovByteRegImm, + Soft386OpcodeMovByteRegImm, + Soft386OpcodeMovByteRegImm, + Soft386OpcodeMovByteRegImm, Soft386OpcodeMovRegImm, Soft386OpcodeMovRegImm, Soft386OpcodeMovRegImm, @@ -1221,3 +1221,40 @@ return TRUE; } + +BOOLEAN +FASTCALL +Soft386OpcodeMovByteRegImm(PSOFT386_STATE State, UCHAR Opcode) +{ + UCHAR Value; + + /* Make sure this is the right instruction */ + ASSERT((Opcode & 0xF8) == 0xB0); + + if (State->PrefixFlags != 0) + { + /* Invalid prefix */ + Soft386Exception(State, SOFT386_EXCEPTION_UD); + return FALSE; + } + + /* Fetch the byte */ + if (!Soft386FetchByte(State, &Value)) + { + /* Exception occurred */ + return FALSE; + } + + if (Opcode & 0x04) + { + /* AH, CH, DH or BH */ + State->GeneralRegs[Opcode & 0x03].HighByte = Value; + } + else + { + /* AL, CL, DL or BL */ + State->GeneralRegs[Opcode & 0x03].LowByte = Value; + } + + return TRUE; +} Modified: branches/ntvdm/lib/soft386/opcodes.h URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/soft386/opcodes.h?rev…
============================================================================== --- branches/ntvdm/lib/soft386/opcodes.h [iso-8859-1] (original) +++ branches/ntvdm/lib/soft386/opcodes.h [iso-8859-1] Sun Sep 1 17:54:51 2013 @@ -199,4 +199,12 @@ UCHAR Opcode ); +BOOLEAN +FASTCALL +Soft386OpcodeMovByteRegImm +( + PSOFT386_STATE State, + UCHAR Opcode +); + #endif // _OPCODES_H_
11 years, 3 months
1
0
0
0
[gadamopoulos] 59951: - forgot to commit this
by gadamopoulos@svn.reactos.org
Author: gadamopoulos Date: Sun Sep 1 16:56:48 2013 New Revision: 59951 URL:
http://svn.reactos.org/svn/reactos?rev=59951&view=rev
Log: - forgot to commit this Modified: trunk/reactos/include/psdk/shlguid.h Modified: trunk/reactos/include/psdk/shlguid.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/shlguid.h?rev…
============================================================================== --- trunk/reactos/include/psdk/shlguid.h [iso-8859-1] (original) +++ trunk/reactos/include/psdk/shlguid.h [iso-8859-1] Sun Sep 1 16:56:48 2013 @@ -214,6 +214,7 @@ DEFINE_GUID(CLSID_NewMenu, 0xd969A300, 0xe7FF, 0x11D0, 0xA9, 0x3B, 0x0, 0xA0, 0xC9, 0x0F, 0x27, 0x19); DEFINE_GUID(IID_IShellFolderViewCB, 0x2047E320, 0xF2A9, 0x11CE, 0xAE, 0x65, 0x8, 0x00, 0x2B, 0x2E, 0x12, 0x62); DEFINE_GUID(CLSID_InternetButtons, 0x1E796980, 0x9CC5, 0x11D1, 0xA8, 0x3F, 0x0, 0xC0, 0x4F, 0xC9, 0x9D, 0x61); +DEFINE_GUID(CLSID_MenuDeskBar, 0xECD4FC4F, 0x521C, 0x11D0, 0xB7, 0x92, 0x00, 0xA0, 0xC9, 0x03, 0x12, 0xE1); DEFINE_GUID(SID_SMenuBandChild, 0xed9cc020, 0x08b9, 0x11d1, 0x98, 0x23, 0x0, 0xc0, 0x4f, 0xd9, 0x19, 0x72); DEFINE_GUID(SID_SMenuBandParent, 0x8c278eec, 0x3eab, 0x11d1, 0x8c, 0xb0, 0x0, 0xc0, 0x4f, 0xd9, 0x18, 0xd0);
11 years, 3 months
1
0
0
0
[gadamopoulos] 59950: [shell32] - Stub CMenuDeskBar class
by gadamopoulos@svn.reactos.org
Author: gadamopoulos Date: Sun Sep 1 16:52:36 2013 New Revision: 59950 URL:
http://svn.reactos.org/svn/reactos?rev=59950&view=rev
Log: [shell32] - Stub CMenuDeskBar class Added: trunk/reactos/dll/win32/shell32/CMenuDeskBar.cpp (with props) trunk/reactos/dll/win32/shell32/CMenuDeskBar.h (with props) trunk/reactos/dll/win32/shell32/res/rgs/menudeskbar.rgs (with props) Modified: trunk/reactos/dll/win32/shell32/CMakeLists.txt trunk/reactos/dll/win32/shell32/precomp.h trunk/reactos/dll/win32/shell32/rgs_res.rc trunk/reactos/dll/win32/shell32/shell32_main.cpp trunk/reactos/dll/win32/shell32/shresdef.h Modified: trunk/reactos/dll/win32/shell32/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CMakeLis…
============================================================================== --- trunk/reactos/dll/win32/shell32/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/CMakeLists.txt [iso-8859-1] Sun Sep 1 16:52:36 2013 @@ -24,6 +24,7 @@ clipboard.cpp control.cpp CMenuBand.cpp + CMenuDeskBar.cpp dataobject.cpp dde.cpp debughlp.cpp Added: trunk/reactos/dll/win32/shell32/CMenuDeskBar.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CMenuDes…
============================================================================== --- trunk/reactos/dll/win32/shell32/CMenuDeskBar.cpp (added) +++ trunk/reactos/dll/win32/shell32/CMenuDeskBar.cpp [iso-8859-1] Sun Sep 1 16:52:36 2013 @@ -0,0 +1,141 @@ + +#include "precomp.h" + +WINE_DEFAULT_DEBUG_CHANNEL(shell); + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::Popup( + POINTL *ppt, + RECTL *prcExclude, + MP_POPUPFLAGS dwFlags) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::OnSelect( + DWORD dwSelectType) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::SetSubMenu( + IMenuPopup *pmp, + BOOL fSet) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::SetClient( + IUnknown *punkClient) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::GetClient( + IUnknown **ppunkClient) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::OnPosRectChangeDB( + RECT *prc) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::GetWindow( + HWND *phwnd) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::ContextSensitiveHelp( + BOOL fEnterMode) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::SetSite( + IUnknown *pUnkSite) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::GetSite( + REFIID riid, + PVOID *ppvSite) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::SetIconSize(THIS_ DWORD iIcon) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::GetIconSize(THIS_ DWORD* piIcon) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::SetBitmap(THIS_ HBITMAP hBitmap) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::GetBitmap(THIS_ HBITMAP* phBitmap) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::Initialize(THIS) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::QueryStatus( + const GUID *pguidCmdGroup, + ULONG cCmds, + OLECMD prgCmds[], + OLECMDTEXT *pCmdText) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::Exec( + const GUID *pguidCmdGroup, + DWORD nCmdID, + DWORD nCmdexecopt, + VARIANT *pvaIn, + VARIANT *pvaOut) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::QueryService( + REFGUID guidService, + REFIID riid, + void **ppvObject) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::OnFocusChangeIS(THIS_ LPUNKNOWN lpUnknown, BOOL bFocus) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::UIActivateIO(THIS_ BOOL bActivating, LPMSG lpMsg) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::HasFocusIO(THIS) +{ + return S_OK; +} + +HRESULT STDMETHODCALLTYPE CMenuDeskBar::TranslateAcceleratorIO(THIS_ LPMSG lpMsg) +{ + return S_OK; +} + Propchange: trunk/reactos/dll/win32/shell32/CMenuDeskBar.cpp ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/dll/win32/shell32/CMenuDeskBar.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CMenuDes…
============================================================================== --- trunk/reactos/dll/win32/shell32/CMenuDeskBar.h (added) +++ trunk/reactos/dll/win32/shell32/CMenuDeskBar.h [iso-8859-1] Sun Sep 1 16:52:36 2013 @@ -0,0 +1,75 @@ + +class CMenuDeskBar: + public CComCoClass<CMenuDeskBar, &CLSID_MenuDeskBar>, + public CComObjectRootEx<CComMultiThreadModelNoCS>, + public IOleCommandTarget, + public IServiceProvider, + public IInputObjectSite, + public IInputObject, + public IMenuPopup, + public IObjectWithSite, + public IBanneredBar, + public IInitializeObject +{ +public: + + // *** IMenuPopup methods *** + virtual HRESULT STDMETHODCALLTYPE Popup(POINTL *ppt, RECTL *prcExclude, MP_POPUPFLAGS dwFlags); + virtual HRESULT STDMETHODCALLTYPE OnSelect(DWORD dwSelectType); + virtual HRESULT STDMETHODCALLTYPE SetSubMenu(IMenuPopup *pmp,BOOL fSet); + + // *** IDeskBar methods *** + virtual HRESULT STDMETHODCALLTYPE SetClient(IUnknown *punkClient); + virtual HRESULT STDMETHODCALLTYPE GetClient(IUnknown **ppunkClient); + virtual HRESULT STDMETHODCALLTYPE OnPosRectChangeDB(RECT *prc); + + // *** IOleWindow methods *** + virtual HRESULT STDMETHODCALLTYPE GetWindow(HWND *phwnd); + virtual HRESULT STDMETHODCALLTYPE ContextSensitiveHelp(BOOL fEnterMode); + + // *** IObjectWithSite methods *** + virtual HRESULT STDMETHODCALLTYPE SetSite(IUnknown *pUnkSite); + virtual HRESULT STDMETHODCALLTYPE GetSite(REFIID riid,PVOID *ppvSite); + + // *** IBanneredBar methods *** + virtual HRESULT STDMETHODCALLTYPE SetIconSize(THIS_ DWORD iIcon); + virtual HRESULT STDMETHODCALLTYPE GetIconSize(THIS_ DWORD* piIcon); + virtual HRESULT STDMETHODCALLTYPE SetBitmap(THIS_ HBITMAP hBitmap); + virtual HRESULT STDMETHODCALLTYPE GetBitmap(THIS_ HBITMAP* phBitmap); + + // *** IInitializeObject methods *** + virtual HRESULT STDMETHODCALLTYPE Initialize(THIS); + + // *** IOleCommandTarget methods *** + virtual HRESULT STDMETHODCALLTYPE QueryStatus(const GUID *pguidCmdGroup, ULONG cCmds, OLECMD prgCmds[], OLECMDTEXT *pCmdText); + virtual HRESULT STDMETHODCALLTYPE Exec(const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut); + + // *** IServiceProvider methods *** + virtual HRESULT STDMETHODCALLTYPE QueryService(REFGUID guidService, REFIID riid, void **ppvObject); + + // *** IInputObjectSite methods *** + virtual HRESULT STDMETHODCALLTYPE OnFocusChangeIS(THIS_ LPUNKNOWN lpUnknown, BOOL bFocus); + + // *** IInputObject methods *** + virtual HRESULT STDMETHODCALLTYPE UIActivateIO(THIS_ BOOL bActivating, LPMSG lpMsg); + virtual HRESULT STDMETHODCALLTYPE HasFocusIO(THIS); + virtual HRESULT STDMETHODCALLTYPE TranslateAcceleratorIO(THIS_ LPMSG lpMsg); + +DECLARE_REGISTRY_RESOURCEID(IDR_MENUDESKBAR) +DECLARE_NOT_AGGREGATABLE(CMenuDeskBar) +DECLARE_PROTECT_FINAL_CONSTRUCT() + +BEGIN_COM_MAP(CMenuDeskBar) + COM_INTERFACE_ENTRY_IID(IID_IMenuPopup, IMenuPopup) + COM_INTERFACE_ENTRY_IID(IID_IOleCommandTarget, IOleCommandTarget) + COM_INTERFACE_ENTRY_IID(IID_IServiceProvider, IServiceProvider) + COM_INTERFACE_ENTRY_IID(IID_IInputObjectSite, IInputObjectSite) + COM_INTERFACE_ENTRY_IID(IID_IInputObject, IInputObject) + COM_INTERFACE_ENTRY_IID(IID_IDeskBar, IMenuPopup) + COM_INTERFACE_ENTRY_IID(IID_IOleWindow, IMenuPopup) + COM_INTERFACE_ENTRY_IID(IID_IObjectWithSite, IObjectWithSite) + COM_INTERFACE_ENTRY_IID(IID_IBanneredBar, IBanneredBar) + COM_INTERFACE_ENTRY_IID(IID_IInitializeObject, IInitializeObject) +END_COM_MAP() + +}; Propchange: trunk/reactos/dll/win32/shell32/CMenuDeskBar.h ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/dll/win32/shell32/precomp.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/precomp.…
============================================================================== --- trunk/reactos/dll/win32/shell32/precomp.h [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/precomp.h [iso-8859-1] Sun Sep 1 16:52:36 2013 @@ -72,6 +72,7 @@ #include "filedefext.h" #include "drvdefext.h" #include "CMenuBand.h" +#include "CMenuDeskBar.h" #include <wine/debug.h> Added: trunk/reactos/dll/win32/shell32/res/rgs/menudeskbar.rgs URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/res/rgs/…
============================================================================== --- trunk/reactos/dll/win32/shell32/res/rgs/menudeskbar.rgs (added) +++ trunk/reactos/dll/win32/shell32/res/rgs/menudeskbar.rgs [iso-8859-1] Sun Sep 1 16:52:36 2013 @@ -0,0 +1,13 @@ +HKCR +{ + NoRemove CLSID + { + ForceRemove {ECD4FC4F-521C-11D0-B792-00A0C90312E1} = s 'Menu Desk Bar' + { + InprocServer32 = s '%MODULE%' + { + val ThreadingModel = s 'Apartment' + } + } + } +} Propchange: trunk/reactos/dll/win32/shell32/res/rgs/menudeskbar.rgs ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/dll/win32/shell32/rgs_res.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/rgs_res.…
============================================================================== --- trunk/reactos/dll/win32/shell32/rgs_res.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/rgs_res.rc [iso-8859-1] Sun Sep 1 16:52:36 2013 @@ -11,6 +11,7 @@ IDR_FONTSFOLDERSHORTCUT REGISTRY "res/rgs/fontsfoldershortcut.rgs" IDR_MENUBAND REGISTRY "res/rgs/menuband.rgs" IDR_MENUBANDSITE REGISTRY "res/rgs/menubandsite.rgs" +IDR_MENUDESKBAR REGISTRY "res/rgs/menudeskbar.rgs" IDR_MYCOMPUTER REGISTRY "res/rgs/mycomputer.rgs" IDR_MYDOCUMENTS REGISTRY "res/rgs/mydocuments.rgs" IDR_NETWORKPLACES REGISTRY "res/rgs/networkplaces.rgs" Modified: trunk/reactos/dll/win32/shell32/shell32_main.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shell32_…
============================================================================== --- trunk/reactos/dll/win32/shell32/shell32_main.cpp [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/shell32_main.cpp [iso-8859-1] Sun Sep 1 16:52:36 2013 @@ -1369,6 +1369,7 @@ OBJECT_ENTRY(CLSID_StartMenu, CStartMenu) OBJECT_ENTRY(CLSID_MenuBandSite, CMenuBandSite) OBJECT_ENTRY(CLSID_MenuBand, CMenuBand) + OBJECT_ENTRY(CLSID_MenuDeskBar, CMenuDeskBar) END_OBJECT_MAP() CShell32Module gModule; Modified: trunk/reactos/dll/win32/shell32/shresdef.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shresdef…
============================================================================== --- trunk/reactos/dll/win32/shell32/shresdef.h [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/shresdef.h [iso-8859-1] Sun Sep 1 16:52:36 2013 @@ -538,5 +538,6 @@ #define IDR_FILEDEFEXT 147 #define IDR_DRVDEFEXT 148 #define IDR_MENUBAND 149 +#define IDR_MENUDESKBAR 150 #endif
11 years, 3 months
1
0
0
0
[aandrejevic] 59949: [SOFT386] Implement the opcodes for MOV reg16/32, imm16/32
by aandrejevic@svn.reactos.org
Author: aandrejevic Date: Sun Sep 1 16:19:29 2013 New Revision: 59949 URL:
http://svn.reactos.org/svn/reactos?rev=59949&view=rev
Log: [SOFT386] Implement the opcodes for MOV reg16/32, imm16/32 Modified: branches/ntvdm/lib/soft386/opcodes.c branches/ntvdm/lib/soft386/opcodes.h Modified: branches/ntvdm/lib/soft386/opcodes.c URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/soft386/opcodes.c?rev…
============================================================================== --- branches/ntvdm/lib/soft386/opcodes.c [iso-8859-1] (original) +++ branches/ntvdm/lib/soft386/opcodes.c [iso-8859-1] Sun Sep 1 16:19:29 2013 @@ -208,14 +208,14 @@ NULL, // TODO: OPCODE 0xB5 NOT SUPPORTED NULL, // TODO: OPCODE 0xB6 NOT SUPPORTED NULL, // TODO: OPCODE 0xB7 NOT SUPPORTED - NULL, // TODO: OPCODE 0xB8 NOT SUPPORTED - NULL, // TODO: OPCODE 0xB9 NOT SUPPORTED - NULL, // TODO: OPCODE 0xBA NOT SUPPORTED - NULL, // TODO: OPCODE 0xBB NOT SUPPORTED - NULL, // TODO: OPCODE 0xBC NOT SUPPORTED - NULL, // TODO: OPCODE 0xBD NOT SUPPORTED - NULL, // TODO: OPCODE 0xBE NOT SUPPORTED - NULL, // TODO: OPCODE 0xBF NOT SUPPORTED + Soft386OpcodeMovRegImm, + Soft386OpcodeMovRegImm, + Soft386OpcodeMovRegImm, + Soft386OpcodeMovRegImm, + Soft386OpcodeMovRegImm, + Soft386OpcodeMovRegImm, + Soft386OpcodeMovRegImm, + Soft386OpcodeMovRegImm, NULL, // TODO: OPCODE 0xC0 NOT SUPPORTED NULL, // TODO: OPCODE 0xC1 NOT SUPPORTED NULL, // TODO: OPCODE 0xC2 NOT SUPPORTED @@ -1168,3 +1168,56 @@ return TRUE; } + +BOOLEAN +FASTCALL +Soft386OpcodeMovRegImm(PSOFT386_STATE State, UCHAR Opcode) +{ + BOOLEAN Size = State->SegmentRegs[SOFT386_REG_CS].Size; + + /* Make sure this is the right instruction */ + ASSERT((Opcode & 0xF8) == 0xB8); + + if (State->PrefixFlags == SOFT386_PREFIX_OPSIZE) + { + /* The OPSIZE prefix toggles the size */ + Size = !Size; + } + else if (State->PrefixFlags != 0) + { + /* Invalid prefix */ + Soft386Exception(State, SOFT386_EXCEPTION_UD); + return FALSE; + } + + if (Size) + { + ULONG Value; + + /* Fetch the dword */ + if (!Soft386FetchDword(State, &Value)) + { + /* Exception occurred */ + return FALSE; + } + + /* Store the value in the register */ + State->GeneralRegs[Opcode & 0x07].Long = Value; + } + else + { + USHORT Value; + + /* Fetch the word */ + if (!Soft386FetchWord(State, &Value)) + { + /* Exception occurred */ + return FALSE; + } + + /* Store the value in the register */ + State->GeneralRegs[Opcode & 0x07].LowWord = Value; + } + + return TRUE; +} Modified: branches/ntvdm/lib/soft386/opcodes.h URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/soft386/opcodes.h?rev…
============================================================================== --- branches/ntvdm/lib/soft386/opcodes.h [iso-8859-1] (original) +++ branches/ntvdm/lib/soft386/opcodes.h [iso-8859-1] Sun Sep 1 16:19:29 2013 @@ -191,4 +191,12 @@ UCHAR Opcode ); +BOOLEAN +FASTCALL +Soft386OpcodeMovRegImm +( + PSOFT386_STATE State, + UCHAR Opcode +); + #endif // _OPCODES_H_
11 years, 3 months
1
0
0
0
[akhaldi] 59948: [RSYM] * Addendum to r59938.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Sun Sep 1 16:13:16 2013 New Revision: 59948 URL:
http://svn.reactos.org/svn/reactos?rev=59948&view=rev
Log: [RSYM] * Addendum to r59938. Modified: trunk/reactos/tools/rsym/rsym.h Modified: trunk/reactos/tools/rsym/rsym.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rsym/rsym.h?rev=5994…
============================================================================== --- trunk/reactos/tools/rsym/rsym.h [iso-8859-1] (original) +++ trunk/reactos/tools/rsym/rsym.h [iso-8859-1] Sun Sep 1 16:13:16 2013 @@ -157,8 +157,14 @@ } COFF_SYMENT, *PCOFF_SYMENT; #pragma pack(4) +#ifdef TARGET_i386 +typedef ULONG TARGET_ULONG_PTR; +#else +typedef ULONGLONG TARGET_ULONG_PTR; +#endif + typedef struct _ROSSYM_ENTRY { - ULONG_PTR Address; + TARGET_ULONG_PTR Address; ULONG FunctionOffset; ULONG FileOffset; ULONG SourceLine;
11 years, 3 months
1
0
0
0
[pschweitzer] 59947: [FRAMEDYN] Remove operator LPWSTR() in favor of operator LPCWSTR() const (likely to fix its export ; -)) Add missing operators implementations as inline
by pschweitzer@svn.reactos.org
Author: pschweitzer Date: Sun Sep 1 16:10:02 2013 New Revision: 59947 URL:
http://svn.reactos.org/svn/reactos?rev=59947&view=rev
Log: [FRAMEDYN] Remove operator LPWSTR() in favor of operator LPCWSTR() const (likely to fix its export ;-)) Add missing operators implementations as inline Modified: trunk/reactos/dll/win32/framedyn/chstring.cpp trunk/reactos/include/psdk/chstring.h Modified: trunk/reactos/dll/win32/framedyn/chstring.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/framedyn/chstrin…
============================================================================== --- trunk/reactos/dll/win32/framedyn/chstring.cpp [iso-8859-1] (original) +++ trunk/reactos/dll/win32/framedyn/chstring.cpp [iso-8859-1] Sun Sep 1 16:10:02 2013 @@ -1328,7 +1328,7 @@ /* * @implemented */ -CHString::operator LPWSTR() +CHString::operator LPCWSTR() const { return m_pchData; } Modified: trunk/reactos/include/psdk/chstring.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/chstring.h?re…
============================================================================== --- trunk/reactos/include/psdk/chstring.h [iso-8859-1] (original) +++ trunk/reactos/include/psdk/chstring.h [iso-8859-1] Sun Sep 1 16:10:02 2013 @@ -84,7 +84,7 @@ WCHAR operator[](int nIndex) const; - operator LPWSTR(); + operator LPCWSTR() const; friend CHString WINAPI operator+(WCHAR ch, const CHString& string) throw (CHeap_Exception); friend CHString WINAPI operator+(const CHString& string, WCHAR ch) throw (CHeap_Exception); @@ -109,4 +109,22 @@ static int WINAPI SafeStrlen(LPCWSTR lpsz); }; +inline BOOL operator==(const CHString& s1, LPCWSTR s2) { return s1.Compare(s2) == 0; } +inline BOOL operator==(const CHString& s1, const CHString& s2) { return s1.Compare(s2) == 0; } + +inline BOOL operator!=(const CHString& s1, LPCWSTR s2) { return s1.Compare(s2) != 0; } +inline BOOL operator!=(const CHString& s1, const CHString& s2) { return s1.Compare(s2) != 0; } + +inline BOOL operator<(const CHString& s1, LPCWSTR s2) { return s1.Compare(s2) < 0; } +inline BOOL operator<(const CHString& s1, const CHString& s2) { return s1.Compare(s2) < 0; } + +inline BOOL operator>(const CHString& s1, LPCWSTR s2) { return s1.Compare(s2) > 0; } +inline BOOL operator>(const CHString& s1, const CHString& s2) { return s1.Compare(s2) > 0; } + +inline BOOL operator<=(const CHString& s1, LPCWSTR s2) { return s1.Compare(s2) <= 0; } +inline BOOL operator<=(const CHString& s1, const CHString& s2) { return s1.Compare(s2) <= 0; } + +inline BOOL operator>=(const CHString& s1, LPCWSTR s2) { return s1.Compare(s2) >= 0; } +inline BOOL operator>=(const CHString& s1, const CHString& s2) { return s1.Compare(s2) >= 0; } + #endif
11 years, 3 months
1
0
0
0
← Newer
1
...
51
52
53
54
55
56
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Results per page:
10
25
50
100
200