winehq.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
2025
February
January
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
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
December 2010
----- 2025 -----
February 2025
January 2025
----- 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
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
2 participants
1099 discussions
Start a n
N
ew thread
Alexandre Julliard : resources: Define a generic mechanism for adding extra values to the common version block .
by Alexandre Julliard
03 Dec '10
03 Dec '10
Module: wine Branch: master Commit: 5f49129e03f15a1049899251b3a57a67f5c5843e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=5f49129e03f15a1049899251b…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Dec 3 14:52:02 2010 +0100 resources: Define a generic mechanism for adding extra values to the common version block. --- dlls/avifil32/rsrc.rc | 2 +- dlls/browseui/version.rc | 2 +- dlls/comcat/version.rc | 4 ++-- dlls/ddraw/version.rc | 2 +- dlls/dmusic/version.rc | 2 +- dlls/dplay/version.rc | 2 +- dlls/dplayx/version.rc | 2 +- dlls/dsound/version.rc | 2 +- dlls/dswave/version.rc | 2 +- dlls/explorerframe/version.rc | 2 +- dlls/gameux/version.rc | 2 +- dlls/mciqtz32/version.rc | 2 +- dlls/mshtml/rsrc.rc | 2 +- dlls/msxml3/version.rc | 2 +- dlls/msxml6/rsrc.rc | 2 +- dlls/npmshtml/rsrc.rc | 5 +++-- dlls/ole32/ole32res.rc | 4 ++-- dlls/oleaut32/rsrc.rc | 2 +- dlls/olepro32/version.rc | 2 +- dlls/quartz/version.rc | 2 +- dlls/shdocvw/shdocvw.rc | 2 +- dlls/shell32/version.rc | 4 ++-- dlls/shfolder/version.rc | 2 +- dlls/winegstreamer/rsrc.rc | 2 +- include/wine/wine_common_ver.rc | 11 +++++------ programs/iexplore/iexplore.rc | 2 +- 26 files changed, 35 insertions(+), 35 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=5f49129e03f15a1049899…
1
0
0
0
Austin Lund : user32/tests: Disable IME for msg tests.
by Alexandre Julliard
03 Dec '10
03 Dec '10
Module: wine Branch: master Commit: 555e59a45463a584f9252efa61a470c9de7954dd URL:
http://source.winehq.org/git/wine.git/?a=commit;h=555e59a45463a584f9252efa6…
Author: Austin Lund <austin.lund(a)gmail.com> Date: Fri Dec 3 21:33:01 2010 +1000 user32/tests: Disable IME for msg tests. --- dlls/user32/tests/msg.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index ab617c9..ccb4e39 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -12669,6 +12669,8 @@ START_TEST(msg) char **test_argv; BOOL ret; BOOL (WINAPI *pIsWinEventHookInstalled)(DWORD)= 0;/*GetProcAddress(user32, "IsWinEventHookInstalled");*/ + HMODULE hModuleImm32; + BOOL (WINAPI *pImmDisableIME)(DWORD); int argc = winetest_get_mainargs( &test_argv ); if (argc >= 3) @@ -12682,6 +12684,15 @@ START_TEST(msg) init_procs(); + hModuleImm32 = LoadLibrary("imm32.dll"); + if (hModuleImm32) { + pImmDisableIME = (void *)GetProcAddress(hModuleImm32, "ImmDisableIME"); + if (pImmDisableIME) + pImmDisableIME(0); + } + pImmDisableIME = NULL; + FreeLibrary(hModuleImm32); + if (!RegisterWindowClasses()) assert(0); if (pSetWinEventHook)
1
0
0
0
Austin Lund : user32/tests: Close second window in DBCS WM_CHAR tests.
by Alexandre Julliard
03 Dec '10
03 Dec '10
Module: wine Branch: master Commit: 0fe32508a7c2f6fb6bc5d45ed5fb33f5d42f30ee URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0fe32508a7c2f6fb6bc5d45ed…
Author: Austin Lund <austin.lund(a)gmail.com> Date: Fri Dec 3 21:04:24 2010 +1000 user32/tests: Close second window in DBCS WM_CHAR tests. --- dlls/user32/tests/msg.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 76d46d0..ab617c9 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -11581,6 +11581,7 @@ static void test_dbcs_wm_char(void) ok( !PeekMessageA( &msg, hwnd, 0, 0, PM_REMOVE ), "got message %x\n", msg.message ); DestroyWindow(hwnd); + DestroyWindow(hwnd2); } #define ID_LISTBOX 0x000f
1
0
0
0
Michael Stefaniuc : shdocvw: Use an iface instead of an vtbl pointer in IClassFactoryImpl.
by Alexandre Julliard
03 Dec '10
03 Dec '10
Module: wine Branch: master Commit: be6dcb549418504bd21e350209592e5a9608530d URL:
http://source.winehq.org/git/wine.git/?a=commit;h=be6dcb549418504bd21e35020…
Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Fri Dec 3 11:16:43 2010 +0100 shdocvw: Use an iface instead of an vtbl pointer in IClassFactoryImpl. --- dlls/shdocvw/factory.c | 38 ++++++++++++++++++++------------------ 1 files changed, 20 insertions(+), 18 deletions(-) diff --git a/dlls/shdocvw/factory.c b/dlls/shdocvw/factory.c index 751b5a4..cc80f85 100644 --- a/dlls/shdocvw/factory.c +++ b/dlls/shdocvw/factory.c @@ -34,20 +34,21 @@ WINE_DEFAULT_DEBUG_CHANNEL(shdocvw); /********************************************************************** * Implement the WebBrowser class factory - * - * (Based on implementation in ddraw/main.c) */ -#define FACTORY(x) ((IClassFactory*) &(x)->lpClassFactoryVtbl) - typedef struct { /* IUnknown fields */ - const IClassFactoryVtbl *lpClassFactoryVtbl; + IClassFactory IClassFactory_iface; HRESULT (*cf)(LPUNKNOWN, REFIID, LPVOID *); LONG ref; } IClassFactoryImpl; +static inline IClassFactoryImpl *impl_from_IClassFactory(IClassFactory *iface) +{ + return CONTAINING_RECORD(iface, IClassFactoryImpl, IClassFactory_iface); +} + /********************************************************************** * WBCF_QueryInterface (IUnknown) @@ -131,28 +132,28 @@ static const IClassFactoryVtbl WBCF_Vtbl = */ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv) { - static IClassFactoryImpl WB1ClassFactory = {&WBCF_Vtbl, WebBrowserV1_Create}; - static IClassFactoryImpl WB2ClassFactory = {&WBCF_Vtbl, WebBrowserV2_Create}; - static IClassFactoryImpl CUHClassFactory = {&WBCF_Vtbl, CUrlHistory_Create}; - static IClassFactoryImpl ISCClassFactory = {&WBCF_Vtbl, InternetShortcut_Create}; - static IClassFactoryImpl TBLClassFactory = {&WBCF_Vtbl, TaskbarList_Create}; + static IClassFactoryImpl WB1ClassFactory = {{&WBCF_Vtbl}, WebBrowserV1_Create}; + static IClassFactoryImpl WB2ClassFactory = {{&WBCF_Vtbl}, WebBrowserV2_Create}; + static IClassFactoryImpl CUHClassFactory = {{&WBCF_Vtbl}, CUrlHistory_Create}; + static IClassFactoryImpl ISCClassFactory = {{&WBCF_Vtbl}, InternetShortcut_Create}; + static IClassFactoryImpl TBLClassFactory = {{&WBCF_Vtbl}, TaskbarList_Create}; TRACE("\n"); if(IsEqualGUID(&CLSID_WebBrowser, rclsid)) - return IClassFactory_QueryInterface(FACTORY(&WB2ClassFactory), riid, ppv); + return IClassFactory_QueryInterface(&WB2ClassFactory.IClassFactory_iface, riid, ppv); if(IsEqualGUID(&CLSID_WebBrowser_V1, rclsid)) - return IClassFactory_QueryInterface(FACTORY(&WB1ClassFactory), riid, ppv); + return IClassFactory_QueryInterface(&WB1ClassFactory.IClassFactory_iface, riid, ppv); if(IsEqualGUID(&CLSID_CUrlHistory, rclsid)) - return IClassFactory_QueryInterface(FACTORY(&CUHClassFactory), riid, ppv); + return IClassFactory_QueryInterface(&CUHClassFactory.IClassFactory_iface, riid, ppv); if(IsEqualGUID(&CLSID_InternetShortcut, rclsid)) - return IClassFactory_QueryInterface(FACTORY(&ISCClassFactory), riid, ppv); + return IClassFactory_QueryInterface(&ISCClassFactory.IClassFactory_iface, riid, ppv); if(IsEqualGUID(&CLSID_TaskbarList, rclsid)) - return IClassFactory_QueryInterface(FACTORY(&TBLClassFactory), riid, ppv); + return IClassFactory_QueryInterface(&TBLClassFactory.IClassFactory_iface, riid, ppv); /* As a last resort, figure if the CLSID belongs to a 'Shell Instance Object' */ return SHDOCVW_GetShellInstanceObjectClassObject(rclsid, riid, ppv); @@ -163,11 +164,12 @@ HRESULT register_class_object(BOOL do_reg) HRESULT hres; static DWORD cookie; - static IClassFactoryImpl IEClassFactory = {&WBCF_Vtbl, InternetExplorer_Create}; + static IClassFactoryImpl IEClassFactory = {{&WBCF_Vtbl}, InternetExplorer_Create}; if(do_reg) { - hres = CoRegisterClassObject(&CLSID_InternetExplorer, (IUnknown*)FACTORY(&IEClassFactory), - CLSCTX_SERVER, REGCLS_MULTIPLEUSE|REGCLS_SUSPENDED, &cookie); + hres = CoRegisterClassObject(&CLSID_InternetExplorer, + (IUnknown*)&IEClassFactory.IClassFactory_iface, CLSCTX_SERVER, + REGCLS_MULTIPLEUSE|REGCLS_SUSPENDED, &cookie); if (FAILED(hres)) { ERR("failed to register object %08x\n", hres); return hres;
1
0
0
0
Maarten Lankhorst : quartz: Make video renderer use unicode calls.
by Alexandre Julliard
03 Dec '10
03 Dec '10
Module: wine Branch: master Commit: 02986df061c6523ecc26b8a87efade03c9df874e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=02986df061c6523ecc26b8a87…
Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com> Date: Fri Dec 3 09:38:13 2010 +0100 quartz: Make video renderer use unicode calls. --- dlls/quartz/videorenderer.c | 45 ++++++++++++++++++++++-------------------- 1 files changed, 24 insertions(+), 21 deletions(-) diff --git a/dlls/quartz/videorenderer.c b/dlls/quartz/videorenderer.c index aa870da..8f492cf 100644 --- a/dlls/quartz/videorenderer.c +++ b/dlls/quartz/videorenderer.c @@ -98,7 +98,7 @@ typedef struct VideoRendererImpl IMediaSample *sample_held; } VideoRendererImpl; -static LRESULT CALLBACK VideoWndProcA(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) +static LRESULT CALLBACK VideoWndProcW(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { VideoRendererImpl* pVideoRenderer = (VideoRendererImpl*)GetWindowLongPtrW(hwnd, 0); LPRECT lprect = (LPRECT)lParam; @@ -130,7 +130,7 @@ static LRESULT CALLBACK VideoWndProcA(HWND hwnd, UINT uMsg, WPARAM wParam, LPARA case WM_RBUTTONDBLCLK: case WM_RBUTTONDOWN: case WM_RBUTTONUP: - PostMessageA(pVideoRenderer->hWndMsgDrain, uMsg, wParam, lParam); + PostMessageW(pVideoRenderer->hWndMsgDrain, uMsg, wParam, lParam); break; default: break; @@ -159,18 +159,21 @@ static LRESULT CALLBACK VideoWndProcA(HWND hwnd, UINT uMsg, WPARAM wParam, LPARA pVideoRenderer->DestRect.bottom - pVideoRenderer->DestRect.top); return TRUE; default: - return DefWindowProcA(hwnd, uMsg, wParam, lParam); + return DefWindowProcW(hwnd, uMsg, wParam, lParam); } return 0; } +static const WCHAR classnameW[] = { 'W','i','n','e',' ','A','c','t','i','v','e','M','o','v','i','e',' ','C','l','a','s','s',0 }; +static const WCHAR windownameW[] = { 'A','c','t','i','v','e','M','o','v','i','e',' ','W','i','n','d','o','w',0 }; + static BOOL video_register_windowclass(void) { - WNDCLASSA winclass; + WNDCLASSW winclass; if (wnd_class_registered) return 1; winclass.style = 0; - winclass.lpfnWndProc = VideoWndProcA; + winclass.lpfnWndProc = VideoWndProcW; winclass.cbClsExtra = 0; winclass.cbWndExtra = sizeof(VideoRendererImpl*); winclass.hInstance = NULL; @@ -178,8 +181,8 @@ static BOOL video_register_windowclass(void) { winclass.hCursor = NULL; winclass.hbrBackground = GetStockObject(BLACK_BRUSH); winclass.lpszMenuName = NULL; - winclass.lpszClassName = "Wine ActiveMovie Class"; - if (!RegisterClassA(&winclass)) + winclass.lpszClassName = classnameW; + if (!RegisterClassW(&winclass)) { ERR("Unable to register window class: %u\n", GetLastError()); return FALSE; @@ -191,7 +194,7 @@ static BOOL video_register_windowclass(void) { void video_unregister_windowclass(void) { if (!wnd_class_registered) return; - UnregisterClassA("Wine ActiveMovie Class", NULL); + UnregisterClassW(classnameW, NULL); } static BOOL CreateRenderingWindow(VideoRendererImpl* This) @@ -199,7 +202,7 @@ static BOOL CreateRenderingWindow(VideoRendererImpl* This) TRACE("(%p)->()\n", This); if (!video_register_windowclass()) return FALSE; - This->hWnd = CreateWindowExA(0, "Wine ActiveMovie Class", "Wine ActiveMovie Window", WS_SIZEBOX, + This->hWnd = CreateWindowExW(0, classnameW, windownameW, WS_SIZEBOX, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, NULL, NULL); @@ -232,10 +235,10 @@ static DWORD WINAPI MessageLoop(LPVOID lpParameter) This->ThreadResult = TRUE; SetEvent(This->hEvent); - while ((fGotMessage = GetMessageA(&msg, NULL, 0, 0)) != 0 && fGotMessage != -1) + while ((fGotMessage = GetMessageW(&msg, NULL, 0, 0)) != 0 && fGotMessage != -1) { TranslateMessage(&msg); - DispatchMessageA(&msg); + DispatchMessageW(&msg); } TRACE("End of message loop\n"); @@ -680,7 +683,7 @@ static ULONG WINAPI VideoRendererInner_Release(IUnknown * iface) if (This->hWnd) SendMessageW(This->hWnd, WM_CLOSE, 0, 0); - PostThreadMessageA(This->ThreadID, WM_QUIT, 0, 0); + PostThreadMessageW(This->ThreadID, WM_QUIT, 0, 0); WaitForSingleObject(This->hThread, INFINITE); CloseHandle(This->hThread); CloseHandle(This->hEvent); @@ -1662,14 +1665,14 @@ static HRESULT WINAPI Videowindow_put_WindowStyle(IVideoWindow *iface, ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); LONG old; - old = GetWindowLongA(This->hWnd, GWL_STYLE); + old = GetWindowLongW(This->hWnd, GWL_STYLE); TRACE("(%p/%p)->(%x -> %x)\n", This, iface, old, WindowStyle); if (WindowStyle & (WS_DISABLED|WS_HSCROLL|WS_ICONIC|WS_MAXIMIZE|WS_MINIMIZE|WS_VSCROLL)) return E_INVALIDARG; - SetWindowLongA(This->hWnd, GWL_STYLE, WindowStyle); + SetWindowLongW(This->hWnd, GWL_STYLE, WindowStyle); SetWindowPos(This->hWnd,0,0,0,0,0,SWP_FRAMECHANGED|SWP_NOSIZE|SWP_NOZORDER); This->WindowStyle = WindowStyle; @@ -1693,7 +1696,7 @@ static HRESULT WINAPI Videowindow_put_WindowStyleEx(IVideoWindow *iface, TRACE("(%p/%p)->(%d)\n", This, iface, WindowStyleEx); - if (!SetWindowLongA(This->hWnd, GWL_EXSTYLE, WindowStyleEx)) + if (!SetWindowLongW(This->hWnd, GWL_EXSTYLE, WindowStyleEx)) return E_FAIL; return S_OK; @@ -1705,7 +1708,7 @@ static HRESULT WINAPI Videowindow_get_WindowStyleEx(IVideoWindow *iface, TRACE("(%p/%p)->(%p)\n", This, iface, WindowStyleEx); - *WindowStyleEx = GetWindowLongA(This->hWnd, GWL_EXSTYLE); + *WindowStyleEx = GetWindowLongW(This->hWnd, GWL_EXSTYLE); return S_OK; } @@ -1904,10 +1907,10 @@ static HRESULT WINAPI Videowindow_put_Owner(IVideoWindow *iface, SetParent(This->hWnd, This->hWndOwner); if (This->WindowStyle & WS_CHILD) { - LONG old = GetWindowLongA(This->hWnd, GWL_STYLE); + LONG old = GetWindowLongW(This->hWnd, GWL_STYLE); if (old != This->WindowStyle) { - SetWindowLongA(This->hWnd, GWL_STYLE, This->WindowStyle); + SetWindowLongW(This->hWnd, GWL_STYLE, This->WindowStyle); SetWindowPos(This->hWnd,0,0,0,0,0,SWP_FRAMECHANGED|SWP_NOSIZE|SWP_NOZORDER); } } @@ -1984,14 +1987,14 @@ static HRESULT WINAPI Videowindow_put_FullScreenMode(IVideoWindow *iface, if (FullScreenMode) { ShowWindow(This->hWnd, SW_HIDE); SetParent(This->hWnd, 0); - SetWindowLongA(This->hWnd, GWL_STYLE, WS_POPUP); + SetWindowLongW(This->hWnd, GWL_STYLE, WS_POPUP); SetWindowPos(This->hWnd,HWND_TOP,0,0,GetSystemMetrics(SM_CXSCREEN),GetSystemMetrics(SM_CYSCREEN),SWP_SHOWWINDOW); GetWindowRect(This->hWnd, &This->DestRect); This->WindowPos = This->DestRect; } else { ShowWindow(This->hWnd, SW_HIDE); SetParent(This->hWnd, This->hWndOwner); - SetWindowLongA(This->hWnd, GWL_STYLE, This->WindowStyle); + SetWindowLongW(This->hWnd, GWL_STYLE, This->WindowStyle); GetClientRect(This->hWnd, &This->DestRect); SetWindowPos(This->hWnd,0,This->DestRect.left,This->DestRect.top,This->DestRect.right,This->DestRect.bottom,SWP_NOZORDER|SWP_SHOWWINDOW); This->WindowPos = This->DestRect; @@ -2036,7 +2039,7 @@ static HRESULT WINAPI Videowindow_NotifyOwnerMessage(IVideoWindow *iface, TRACE("(%p/%p)->(%08lx, %d, %08lx, %08lx)\n", This, iface, hwnd, uMsg, wParam, lParam); - if (!PostMessageA(This->hWnd, uMsg, wParam, lParam)) + if (!PostMessageW(This->hWnd, uMsg, wParam, lParam)) return E_FAIL; return S_OK;
1
0
0
0
Maarten Lankhorst : quartz: Use unicode calls in SystemClock.
by Alexandre Julliard
03 Dec '10
03 Dec '10
Module: wine Branch: master Commit: 70b31cf0ce291ce5cd40457135632133de98e995 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=70b31cf0ce291ce5cd4045713…
Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com> Date: Fri Dec 3 09:38:12 2010 +0100 quartz: Use unicode calls in SystemClock. --- dlls/quartz/systemclock.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/quartz/systemclock.c b/dlls/quartz/systemclock.c index 6241352..e48dbe4 100644 --- a/dlls/quartz/systemclock.c +++ b/dlls/quartz/systemclock.c @@ -137,11 +137,11 @@ static DWORD WINAPI SystemClockAdviseThread(LPVOID lpParam) { outrefresh: LeaveCriticalSection(&This->safe); - while (PeekMessageA(&msg, NULL, 0, 0, PM_REMOVE)) { + while (PeekMessageW(&msg, NULL, 0, 0, PM_REMOVE)) { /** if hwnd we suppose that is a windows event ... */ if (NULL != msg.hwnd) { TranslateMessage(&msg); - DispatchMessageA(&msg); + DispatchMessageW(&msg); } else { switch (msg.message) { case WM_QUIT: @@ -178,7 +178,7 @@ static BOOL SystemClockPostMessageToAdviseThread(SystemClockImpl* This, UINT iMs SetThreadPriority(This->adviseThread, THREAD_PRIORITY_TIME_CRITICAL); This->adviseThreadActive = TRUE; while(1) { - res = PostThreadMessageA(This->adviseThreadId, iMsg, 0, 0); + res = PostThreadMessageW(This->adviseThreadId, iMsg, 0, 0); /* Let the thread creates its message queue (with MsgWaitForMultipleObjects call) by yielding and retrying */ if (!res && (GetLastError() == ERROR_INVALID_THREAD_ID)) Sleep(0); @@ -187,7 +187,7 @@ static BOOL SystemClockPostMessageToAdviseThread(SystemClockImpl* This, UINT iMs } return res; } - return PostThreadMessageA(This->adviseThreadId, iMsg, 0, 0); + return PostThreadMessageW(This->adviseThreadId, iMsg, 0, 0); } static ULONG WINAPI SystemClockImpl_AddRef(IReferenceClock* iface) {
1
0
0
0
Maarten Lankhorst : quartz: Implement AMGetErrorTextA on top of AMGetErrorTextW.
by Alexandre Julliard
03 Dec '10
03 Dec '10
Module: wine Branch: master Commit: 883ca4d9d02356b01ef11259085336321d3f2346 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=883ca4d9d02356b01ef112590…
Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com> Date: Fri Dec 3 09:38:11 2010 +0100 quartz: Implement AMGetErrorTextA on top of AMGetErrorTextW. --- dlls/quartz/main.c | 16 +++++++--------- 1 files changed, 7 insertions(+), 9 deletions(-) diff --git a/dlls/quartz/main.c b/dlls/quartz/main.c index 93c93a0..c40d220 100644 --- a/dlls/quartz/main.c +++ b/dlls/quartz/main.c @@ -297,17 +297,15 @@ LONG WINAPI DBToAmpFactor(LONG db) */ DWORD WINAPI AMGetErrorTextA(HRESULT hr, LPSTR buffer, DWORD maxlen) { - unsigned int len; - static const char format[] = "Error: 0x%x"; - char error[MAX_ERROR_TEXT_LEN]; + DWORD res; + WCHAR errorW[MAX_ERROR_TEXT_LEN]; - FIXME("(%x,%p,%d) stub\n", hr, buffer, maxlen); + TRACE("(%x,%p,%d)\n", hr, buffer, maxlen); + if (!buffer) + return 0; - if (!buffer) return 0; - wsprintfA(error, format, hr); - if ((len = strlen(error)) >= maxlen) return 0; - lstrcpyA(buffer, error); - return len; + res = AMGetErrorTextW(hr, errorW, sizeof(errorW)/sizeof(*errorW)); + return WideCharToMultiByte(CP_ACP, 0, errorW, res, buffer, maxlen, 0, 0); } /***********************************************************************
1
0
0
0
Maarten Lankhorst : quartz: Make sure video window is actually destroyed.
by Alexandre Julliard
03 Dec '10
03 Dec '10
Module: wine Branch: master Commit: 89161a8ded8bc55be02fdf93336a74dab724d46b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=89161a8ded8bc55be02fdf933…
Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com> Date: Fri Dec 3 09:38:10 2010 +0100 quartz: Make sure video window is actually destroyed. --- dlls/quartz/videorenderer.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/quartz/videorenderer.c b/dlls/quartz/videorenderer.c index 290864b..aa870da 100644 --- a/dlls/quartz/videorenderer.c +++ b/dlls/quartz/videorenderer.c @@ -678,7 +678,8 @@ static ULONG WINAPI VideoRendererInner_Release(IUnknown * iface) { IPin *pConnectedTo; - DestroyWindow(This->hWnd); + if (This->hWnd) + SendMessageW(This->hWnd, WM_CLOSE, 0, 0); PostThreadMessageA(This->ThreadID, WM_QUIT, 0, 0); WaitForSingleObject(This->hThread, INFINITE); CloseHandle(This->hThread);
1
0
0
0
Maarten Lankhorst : quartz: Add support for filtermapper3 to filtergraph.
by Alexandre Julliard
03 Dec '10
03 Dec '10
Module: wine Branch: master Commit: 6e7aff2544b97a342725f8f531e2d9abde7ede88 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=6e7aff2544b97a342725f8f53…
Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com> Date: Fri Dec 3 09:38:09 2010 +0100 quartz: Add support for filtermapper3 to filtergraph. --- dlls/quartz/filtergraph.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c index f431cdb..ef398cb 100644 --- a/dlls/quartz/filtergraph.c +++ b/dlls/quartz/filtergraph.c @@ -269,6 +269,9 @@ static HRESULT WINAPI FilterGraphInner_QueryInterface(IUnknown * iface, } else if (IsEqualGUID(&IID_IFilterMapper2, riid)) { *ppvObj = This->pFilterMapper2; TRACE(" returning IFilterMapper2 interface from aggregated filtermapper (%p)\n", *ppvObj); + } else if (IsEqualGUID(&IID_IFilterMapper3, riid)) { + *ppvObj = This->pFilterMapper2; + TRACE(" returning IFilterMapper3 interface from aggregated filtermapper (%p)\n", *ppvObj); } else { *ppvObj = NULL; FIXME("unknown interface %s\n", debugstr_guid(riid));
1
0
0
0
Maarten Lankhorst : quartz: Support IFilterMapper3 interface.
by Alexandre Julliard
03 Dec '10
03 Dec '10
Module: wine Branch: master Commit: c7a3f12359fb59170345b374576b467dc3768770 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c7a3f12359fb59170345b3745…
Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com> Date: Fri Dec 3 09:38:08 2010 +0100 quartz: Support IFilterMapper3 interface. --- dlls/quartz/filtermapper.c | 124 ++++++++++++++++++++++++-------------------- 1 files changed, 67 insertions(+), 57 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=c7a3f12359fb59170345b…
1
0
0
0
← Newer
1
...
81
82
83
84
85
86
87
...
110
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
Results per page:
10
25
50
100
200