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
March 2006
----- 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
4 participants
581 discussions
Start a n
N
ew thread
Mike McCormack : regedit: Fix some gcc 4. 1 warnings caused by casts in macros.
by Alexandre Julliard
03 Mar '06
03 Mar '06
Module: wine Branch: refs/heads/master Commit: d8bc6879be40cbce91f5aa3ffd729a7308bbf6fa URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=d8bc6879be40cbce91f5aa3…
Author: Mike McCormack <mike(a)codeweavers.com> Date: Fri Mar 3 12:28:43 2006 +0900 regedit: Fix some gcc 4.1 warnings caused by casts in macros. --- programs/regedit/childwnd.c | 2 +- programs/regedit/framewnd.c | 6 +++--- programs/regedit/listview.c | 15 +++++++-------- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/programs/regedit/childwnd.c b/programs/regedit/childwnd.c index f6f0042..bc312ba 100644 --- a/programs/regedit/childwnd.c +++ b/programs/regedit/childwnd.c @@ -320,7 +320,7 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, item.mask = TVIF_HANDLE | TVIF_TEXT; item.hItem = TreeView_GetSelection(pChildWnd->hTreeWnd); item.pszText = dispInfo->item.pszText; - TreeView_SetItem(pChildWnd->hTreeWnd, &item); + SendMessage( pChildWnd->hTreeWnd, TVM_SETITEMW, 0, (LPARAM)&item ); } return res; } diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c index 241286c..fbe9646 100644 --- a/programs/regedit/framewnd.c +++ b/programs/regedit/framewnd.c @@ -640,8 +640,8 @@ static BOOL _CmdWndProc(HWND hWnd, UINT DWORD ksize = KEY_MAX_LEN, vsize = sizeof(valuebuf), type = 0; if (RegEnumValue(hKey, LOWORD(wParam) - ID_FAVORITE_FIRST, namebuf, &ksize, NULL, &type, valuebuf, &vsize) == ERROR_SUCCESS) { - TreeView_SelectItem(g_pChildWnd->hTreeWnd, - FindPathInTree(g_pChildWnd->hTreeWnd, (TCHAR *)valuebuf)); + SendMessage( g_pChildWnd->hTreeWnd, TVM_SELECTITEM, TVGN_CARET, + (LPARAM) FindPathInTree(g_pChildWnd->hTreeWnd, (TCHAR *)valuebuf) ); } RegCloseKey(hKey); } @@ -693,7 +693,7 @@ static BOOL _CmdWndProc(HWND hWnd, UINT hItem = FindNext(g_pChildWnd->hTreeWnd, hItem, searchString, searchMask, &row); SetCursor(hcursorOld); if (hItem) { - TreeView_SelectItem(g_pChildWnd->hTreeWnd, hItem); + SendMessage( g_pChildWnd->hTreeWnd, TVM_SELECTITEM, TVGN_CARET, (LPARAM) hItem ); InvalidateRect(g_pChildWnd->hTreeWnd, NULL, TRUE); UpdateWindow(g_pChildWnd->hTreeWnd); if (row != -1) { diff --git a/programs/regedit/listview.c b/programs/regedit/listview.c index 5cc8002..2e06508 100644 --- a/programs/regedit/listview.c +++ b/programs/regedit/listview.c @@ -19,7 +19,6 @@ */ #include <windows.h> -#include <windowsx.h> #include <commctrl.h> #include <stdlib.h> #include <tchar.h> @@ -218,7 +217,7 @@ static BOOL InitListViewImageList(HWND h IMAGE_ICON, cx, cy, LR_DEFAULTCOLOR); Image_Binary = ImageList_AddIcon(himl, hicon); - ListView_SetImageList(hWndListView, himl, LVSIL_SMALL); + SendMessage( hWndListView, LVM_SETIMAGELIST, LVSIL_SMALL, (LPARAM) himl ); /* fail if some of the icons failed to load */ if (ImageList_GetImageCount(himl) < 2) @@ -373,7 +372,7 @@ static LRESULT CALLBACK ListWndProc(HWND g_invertSort = FALSE; } - ListView_SortItems(hWnd, CompareFunc, hWnd); + SendMessage(hWnd, LVM_SORTITEMS, (WPARAM)hWnd, (LPARAM)CompareFunc); break; case LVN_ENDLABELEDIT: { LPNMLVDISPINFO dispInfo = (LPNMLVDISPINFO)lParam; @@ -453,12 +452,12 @@ HWND CreateListView(HWND hwndParent, int 0, 0, rcClient.right, rcClient.bottom, hwndParent, (HMENU)id, hInst, NULL); if (!hwndLV) return NULL; - ListView_SetExtendedListViewStyle(hwndLV, LVS_EX_FULLROWSELECT); + SendMessage(hwndLV, LVM_SETEXTENDEDLISTVIEWSTYLE, 0, LVS_EX_FULLROWSELECT); /* Initialize the image list */ if (!InitListViewImageList(hwndLV)) goto fail; if (!CreateListColumns(hwndLV)) goto fail; - g_orgListWndProc = SubclassWindow(hwndLV, ListWndProc); + g_orgListWndProc = (WNDPROC) SetWindowLongPtr(hwndLV, GWLP_WNDPROC, (LPARAM)ListWndProc); return hwndLV; fail: DestroyWindow(hwndLV); @@ -490,12 +489,12 @@ BOOL RefreshListView(HWND hwndLV, HKEY h for (i = 0; i < count; i++) { item.mask = LVIF_PARAM; item.iItem = i; - ListView_GetItem(hwndLV, &item); + SendMessage( hwndLV, LVM_GETITEM, 0, (LPARAM)&item ); free(((LINE_INFO*)item.lParam)->name); HeapFree(GetProcessHeap(), 0, (void*)item.lParam); } g_columnToSort = ~0UL; - ListView_DeleteAllItems(hwndLV); + SendMessage( hwndLV, LVM_DELETEALLITEMS, 0, 0L ); /* get size information and resize the buffers if necessary */ errCode = RegQueryInfoKey(hKey, NULL, NULL, NULL, NULL, &max_sub_key_len, NULL, @@ -524,7 +523,7 @@ BOOL RefreshListView(HWND hwndLV, HKEY h bSelected = TRUE; AddEntryToList(hwndLV, valName[0] ? valName : NULL, valType, valBuf, valSize, bSelected); } - ListView_SortItems(hwndLV, CompareFunc, hwndLV); + SendMessage(hwndLV, LVM_SORTITEMS, (WPARAM)hwndLV, (LPARAM)CompareFunc); g_currentRootKey = hKeyRoot; if (keyPath != g_currentPath) {
1
0
0
0
Mike McCormack : winecfg: Eliminate some gcc 4. 1 warnings caused by casts in macros.
by Alexandre Julliard
03 Mar '06
03 Mar '06
Module: wine Branch: refs/heads/master Commit: abfc9b8c272a1367f2d41494abdb0fd7b7d512a4 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=abfc9b8c272a1367f2d4149…
Author: Mike McCormack <mike(a)codeweavers.com> Date: Fri Mar 3 12:32:00 2006 +0900 winecfg: Eliminate some gcc 4.1 warnings caused by casts in macros. --- programs/winecfg/audio.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/programs/winecfg/audio.c b/programs/winecfg/audio.c index 07a4baf..490e05a 100644 --- a/programs/winecfg/audio.c +++ b/programs/winecfg/audio.c @@ -205,7 +205,7 @@ static void initAudioDeviceTree(HWND hDl hBitMap = LoadBitmap(GetModuleHandle(NULL), MAKEINTRESOURCE(IDB_CHECKBOX)); ImageList_Add(hImageList, hBitMap, NULL); DeleteObject(hBitMap); - TreeView_SetImageList(tree, hImageList, TVSIL_STATE); + SendMessageW( tree, LVM_SETIMAGELIST, TVSIL_STATE, (LPARAM)hImageList ); /* root item */ insert.hParent = TVI_ROOT; @@ -702,14 +702,14 @@ AudioDlgProc (HWND hDlg, UINT uMsg, WPAR ht.pt.x = GET_X_LPARAM(dwPos); ht.pt.y = GET_Y_LPARAM(dwPos); MapWindowPoints(HWND_DESKTOP, tree, &ht.pt, 1); - TreeView_HitTest(tree, &ht); + SendMessageW( tree, TVM_HITTEST, 0, (LPARAM)&ht ); if (TVHT_ONITEMSTATEICON & ht.flags) { TVITEM tvItem; int index; ZeroMemory(&tvItem, sizeof(tvItem)); tvItem.hItem = ht.hItem; - TreeView_GetItem(tree, &tvItem); + SendMessageW( tree, TVM_GETITEMW, 0, (LPARAM) &tvItem ); index = TreeView_GetItemState(tree, ht.hItem, TVIS_STATEIMAGEMASK); if (index == INDEXTOSTATEIMAGEMASK(1)) @@ -739,7 +739,7 @@ AudioDlgProc (HWND hDlg, UINT uMsg, WPAR pt.y = GET_Y_LPARAM(dwPos); ht.pt = pt; MapWindowPoints(HWND_DESKTOP, tree, &ht.pt, 1); - TreeView_HitTest(tree, &ht); + SendMessageW( tree, TVM_HITTEST, 0, (LPARAM)&ht ); if (TVHT_ONITEMLABEL & ht.flags) { TVITEM tvItem;
1
0
0
0
Mike McCormack : shell32: Fix some gcc 4. 1 warnings caused by casts in macros.
by Alexandre Julliard
03 Mar '06
03 Mar '06
Module: wine Branch: refs/heads/master Commit: 959edd5cc491e29e1d451d18e439389e52ec944a URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=959edd5cc491e29e1d451d1…
Author: Mike McCormack <mike(a)codeweavers.com> Date: Fri Mar 3 12:28:14 2006 +0900 shell32: Fix some gcc 4.1 warnings caused by casts in macros. --- dlls/shell32/brsfolder.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dlls/shell32/brsfolder.c b/dlls/shell32/brsfolder.c index aba8e23..6d5afe1 100644 --- a/dlls/shell32/brsfolder.c +++ b/dlls/shell32/brsfolder.c @@ -108,7 +108,7 @@ static void InitializeTreeView( browse_i Shell_GetImageList(NULL, &hImageList); if (hImageList) - TreeView_SetImageList( info->hwndTreeView, hImageList, 0 ); + SendMessageW( info->hwndTreeView, TVM_SETIMAGELIST, 0, (LPARAM)hImageList ); /* We want to call InsertTreeViewItem down the code, in order to insert * the root item of the treeview. Due to InsertTreeViewItem's signature, @@ -166,10 +166,10 @@ static void InitializeTreeView( browse_i return; } - TreeView_DeleteAllItems( info->hwndTreeView ); + SendMessageW( info->hwndTreeView, TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT ); item = InsertTreeViewItem( info, lpsfParent, pidlChild, pidlParent, pEnumChildren, TVI_ROOT ); - TreeView_Expand( info->hwndTreeView, item, TVE_EXPAND ); + SendMessageW( info->hwndTreeView, TVM_EXPAND, TVE_EXPAND, (LPARAM)item ); IShellFolder_Release(lpsfRoot); IShellFolder_Release(lpsfParent); @@ -440,7 +440,8 @@ static LRESULT BrsFolder_Treeview_Expand /* My Computer is already sorted and trying to do a simple text * sort will only mess things up */ if (!_ILIsMyComputer(lptvid->lpi)) - TreeView_SortChildren(info->hwndTreeView, pnmtv->itemNew.hItem, FALSE); + SendMessageW( info->hwndTreeView, TVM_SORTCHILDREN, + FALSE, (LPARAM)pnmtv->itemNew.hItem ); return 0; }
1
0
0
0
Mike McCormack : msrle32: Fix some gcc 4. 1 warnings caused by casts in windowsx.h macros.
by Alexandre Julliard
03 Mar '06
03 Mar '06
Module: wine Branch: refs/heads/master Commit: 29c3a54339f2041169cf3831b6829b3dad4bd3da URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=29c3a54339f2041169cf383…
Author: Mike McCormack <mike(a)codeweavers.com> Date: Fri Mar 3 12:26:36 2006 +0900 msrle32: Fix some gcc 4.1 warnings caused by casts in windowsx.h macros. --- dlls/msrle32/msrle32.c | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/dlls/msrle32/msrle32.c b/dlls/msrle32/msrle32.c index 3fb6c62..6f44048 100644 --- a/dlls/msrle32/msrle32.c +++ b/dlls/msrle32/msrle32.c @@ -27,7 +27,6 @@ #include "winnls.h" #include "winuser.h" -#include "windowsx.h" #include "wine/debug.h" @@ -1387,10 +1386,10 @@ static LRESULT CompressBegin(CodecInfo * CompressEnd(pi); size = WIDTHBYTES(lpbiOut->biWidth * 16) / 2 * lpbiOut->biHeight; - pi->pPrevFrame = (LPWORD)GlobalAllocPtr(GPTR, size * sizeof(WORD)); + pi->pPrevFrame = GlobalLock(GlobalAlloc(GPTR, size * sizeof(WORD))); if (pi->pPrevFrame == NULL) return ICERR_MEMORY; - pi->pCurFrame = (LPWORD)GlobalAllocPtr(GPTR, size * sizeof(WORD)); + pi->pCurFrame = GlobalLock(GlobalAlloc(GPTR, size * sizeof(WORD))); if (pi->pCurFrame == NULL) { CompressEnd(pi); return ICERR_MEMORY; @@ -1534,9 +1533,15 @@ static LRESULT CompressEnd(CodecInfo *pi if (pi != NULL) { if (pi->pPrevFrame != NULL) - GlobalFreePtr(pi->pPrevFrame); + { + GlobalUnlock(GlobalHandle(pi->pPrevFrame)); + GlobalFree(GlobalHandle(pi->pPrevFrame)); + } if (pi->pCurFrame != NULL) - GlobalFreePtr(pi->pCurFrame); + { + GlobalUnlock(GlobalHandle(pi->pCurFrame)); + GlobalFree(GlobalHandle(pi->pCurFrame)); + } pi->pPrevFrame = NULL; pi->pCurFrame = NULL; pi->nPrevFrame = -1;
1
0
0
0
Mike McCormack : hhctrl.ocx: Fix a gcc 4. 1 warning caused by a cast in a macro.
by Alexandre Julliard
03 Mar '06
03 Mar '06
Module: wine Branch: refs/heads/master Commit: 1006cfc8dff4677c6c96792cc30bd88e63a5ed73 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=1006cfc8dff4677c6c96792…
Author: Mike McCormack <mike(a)codeweavers.com> Date: Fri Mar 3 12:26:00 2006 +0900 hhctrl.ocx: Fix a gcc 4.1 warning caused by a cast in a macro. --- dlls/hhctrl.ocx/help.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/hhctrl.ocx/help.c b/dlls/hhctrl.ocx/help.c index b60e83d..aa3d61f 100644 --- a/dlls/hhctrl.ocx/help.c +++ b/dlls/hhctrl.ocx/help.c @@ -492,7 +492,7 @@ static void NP_CreateTab(HINSTANCE hInst tie.mask = TCIF_TEXT; tie.pszText = tabText; - TabCtrl_InsertItemW(hwndTabCtrl, dwIndex, &tie); + SendMessageW( hwndTabCtrl, TCM_INSERTITEMW, dwIndex, (LPARAM)&tie ); HeapFree(GetProcessHeap(), 0, tabText); }
1
0
0
0
Mike McCormack : comctl32: Fix some gcc 4.1 warnings caused by windowsx. h macros.
by Alexandre Julliard
03 Mar '06
03 Mar '06
Module: wine Branch: refs/heads/master Commit: 2dfe50aa3f91888fd1ac14731229e475a3545248 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=2dfe50aa3f91888fd1ac147…
Author: Mike McCormack <mike(a)codeweavers.com> Date: Fri Mar 3 12:25:36 2006 +0900 comctl32: Fix some gcc 4.1 warnings caused by windowsx.h macros. --- dlls/comctl32/listview.c | 12 ++++++------ dlls/comctl32/pager.c | 11 +++++------ 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index f51b34d..9210e8d 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -5819,7 +5819,7 @@ static INT LISTVIEW_GetNextItem(LISTVIEW } lvFindInfo.flags = LVFI_NEARESTXY; lvFindInfo.vkDirection = VK_UP; - ListView_GetItemPosition(infoPtr->hwndSelf, nItem, &lvFindInfo.pt); + SendMessageW( infoPtr->hwndSelf, LVM_GETITEMPOSITION, nItem, (LPARAM)&lvFindInfo.pt ); while ((nItem = ListView_FindItemW(infoPtr->hwndSelf, nItem, &lvFindInfo)) != -1) { if ((ListView_GetItemState(infoPtr->hwndSelf, nItem, uMask) & uMask) == uMask) @@ -5854,7 +5854,7 @@ static INT LISTVIEW_GetNextItem(LISTVIEW } lvFindInfo.flags = LVFI_NEARESTXY; lvFindInfo.vkDirection = VK_DOWN; - ListView_GetItemPosition(infoPtr->hwndSelf, nItem, &lvFindInfo.pt); + SendMessageW( infoPtr->hwndSelf, LVM_GETITEMPOSITION, nItem, (LPARAM)&lvFindInfo.pt ); while ((nItem = ListView_FindItemW(infoPtr->hwndSelf, nItem, &lvFindInfo)) != -1) { if ((LISTVIEW_GetItemState(infoPtr, nItem, uMask) & uMask) == uMask) @@ -5890,7 +5890,7 @@ static INT LISTVIEW_GetNextItem(LISTVIEW } lvFindInfo.flags = LVFI_NEARESTXY; lvFindInfo.vkDirection = VK_LEFT; - ListView_GetItemPosition(infoPtr->hwndSelf, nItem, &lvFindInfo.pt); + SendMessageW( infoPtr->hwndSelf, LVM_GETITEMPOSITION, nItem, (LPARAM)&lvFindInfo.pt ); while ((nItem = ListView_FindItemW(infoPtr->hwndSelf, nItem, &lvFindInfo)) != -1) { if ((ListView_GetItemState(infoPtr->hwndSelf, nItem, uMask) & uMask) == uMask) @@ -5926,7 +5926,7 @@ static INT LISTVIEW_GetNextItem(LISTVIEW } lvFindInfo.flags = LVFI_NEARESTXY; lvFindInfo.vkDirection = VK_RIGHT; - ListView_GetItemPosition(infoPtr->hwndSelf, nItem, &lvFindInfo.pt); + SendMessageW( infoPtr->hwndSelf, LVM_GETITEMPOSITION, nItem, (LPARAM)&lvFindInfo.pt ); while ((nItem = ListView_FindItemW(infoPtr->hwndSelf, nItem, &lvFindInfo)) != -1) { if ((LISTVIEW_GetItemState(infoPtr, nItem, uMask) & uMask) == uMask) @@ -8907,7 +8907,7 @@ static void LISTVIEW_UpdateSize(LISTVIEW hl.prc = &infoPtr->rcList; hl.pwpos = ℘ - Header_Layout(infoPtr->hwndHeader, &hl); + SendMessageW( infoPtr->hwndHeader, HDM_LAYOUT, 0, (LPARAM)&hl ); SetWindowPos(wp.hwnd, wp.hwndInsertAfter, wp.x, wp.y, wp.cx, wp.cy, wp.flags); @@ -8985,7 +8985,7 @@ static INT LISTVIEW_StyleChanged(LISTVIE hl.prc = &infoPtr->rcList; hl.pwpos = ℘ - Header_Layout(infoPtr->hwndHeader, &hl); + SendMessageW( infoPtr->hwndHeader, HDM_LAYOUT, 0, (LPARAM)&hl ); SetWindowPos(infoPtr->hwndHeader, infoPtr->hwndSelf, wp.x, wp.y, wp.cx, wp.cy, wp.flags); } diff --git a/dlls/comctl32/pager.c b/dlls/comctl32/pager.c index cd25159..15e0e09 100644 --- a/dlls/comctl32/pager.c +++ b/dlls/comctl32/pager.c @@ -59,7 +59,6 @@ #include "wingdi.h" #include "winuser.h" #include "winnls.h" -#include "windowsx.h" #include "commctrl.h" #include "comctl32.h" #include "wine/debug.h" @@ -1315,7 +1314,7 @@ PAGER_WindowProc (HWND hwnd, UINT uMsg, return PAGER_Destroy (infoPtr); case WM_SIZE: - return PAGER_Size (infoPtr, (INT)wParam, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)); + return PAGER_Size (infoPtr, (INT)wParam, (short)LOWORD(lParam), (short)HIWORD(lParam)); case WM_NCPAINT: return PAGER_NCPaint (infoPtr, (HRGN)wParam); @@ -1330,18 +1329,18 @@ PAGER_WindowProc (HWND hwnd, UINT uMsg, return PAGER_NCCalcSize (infoPtr, wParam, (LPRECT)lParam); case WM_NCHITTEST: - return PAGER_NCHitTest (infoPtr, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)); + return PAGER_NCHitTest (infoPtr, (short)LOWORD(lParam), (short)HIWORD(lParam)); case WM_MOUSEMOVE: if (infoPtr->bForward && infoPtr->hwndChild) PostMessageW(infoPtr->hwndChild, WM_MOUSEMOVE, wParam, lParam); - return PAGER_MouseMove (infoPtr, (INT)wParam, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)); + return PAGER_MouseMove (infoPtr, (INT)wParam, (short)LOWORD(lParam), (short)HIWORD(lParam)); case WM_LBUTTONDOWN: - return PAGER_LButtonDown (infoPtr, (INT)wParam, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)); + return PAGER_LButtonDown (infoPtr, (INT)wParam, (short)LOWORD(lParam), (short)HIWORD(lParam)); case WM_LBUTTONUP: - return PAGER_LButtonUp (infoPtr, (INT)wParam, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)); + return PAGER_LButtonUp (infoPtr, (INT)wParam, (short)LOWORD(lParam), (short)HIWORD(lParam)); case WM_ERASEBKGND: return PAGER_EraseBackground (infoPtr, (HDC)wParam);
1
0
0
0
Juan Lang : crypt32: Implement CertDuplicateStore.
by Alexandre Julliard
03 Mar '06
03 Mar '06
Module: wine Branch: refs/heads/master Commit: 8949d29de2c31ce4839d3ae4d9588b2fb0320406 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=8949d29de2c31ce4839d3ae…
Author: Juan Lang <juan_lang(a)yahoo.com> Date: Thu Mar 2 06:55:45 2006 -0800 crypt32: Implement CertDuplicateStore. --- dlls/crypt32/crypt32.spec | 2 +- dlls/crypt32/store.c | 10 ++++++++++ include/wincrypt.h | 2 ++ 3 files changed, 13 insertions(+), 1 deletions(-) diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec index abeff35..7d40394 100644 --- a/dlls/crypt32/crypt32.spec +++ b/dlls/crypt32/crypt32.spec @@ -26,7 +26,7 @@ @ stub CertDuplicateCRLContext @ stub CertDuplicateCTLContext @ stdcall CertDuplicateCertificateContext(ptr) -@ stub CertDuplicateStore +@ stdcall CertDuplicateStore(ptr) @ stub CertEnumCRLContextProperties @ stdcall CertEnumCRLsInStore(ptr ptr) @ stub CertEnumCTLContextProperties diff --git a/dlls/crypt32/store.c b/dlls/crypt32/store.c index 47e595c..b8a3d0f 100644 --- a/dlls/crypt32/store.c +++ b/dlls/crypt32/store.c @@ -2626,6 +2626,16 @@ PCCTL_CONTEXT WINAPI CertEnumCTLsInStore return NULL; } +HCERTSTORE WINAPI CertDuplicateStore(HCERTSTORE hCertStore) +{ + WINECRYPT_CERTSTORE *hcs = (WINECRYPT_CERTSTORE *)hCertStore; + + TRACE("(%p)\n", hCertStore); + + if (hcs && hcs->dwMagic == WINE_CRYPTCERTSTORE_MAGIC) + InterlockedIncrement(&hcs->ref); + return hCertStore; +} BOOL WINAPI CertCloseStore(HCERTSTORE hCertStore, DWORD dwFlags) { diff --git a/include/wincrypt.h b/include/wincrypt.h index 678f466..9784223 100644 --- a/include/wincrypt.h +++ b/include/wincrypt.h @@ -2605,6 +2605,8 @@ BOOL WINAPI CertSetStoreProperty(HCERTST BOOL WINAPI CertControlStore(HCERTSTORE hCertStore, DWORD dwFlags, DWORD dwCtrlType, void const *pvCtrlPara); +HCERTSTORE WINAPI CertDuplicateStore(HCERTSTORE hCertStore); + BOOL WINAPI CertCloseStore( HCERTSTORE hCertStore, DWORD dwFlags ); BOOL WINAPI CertFreeCertificateContext( PCCERT_CONTEXT pCertContext );
1
0
0
0
Francois Gouget : d3d: Fix Validate(Pixel|Vertex)Shader() prototypes.
by Alexandre Julliard
03 Mar '06
03 Mar '06
Module: wine Branch: refs/heads/master Commit: 339a4dbd5bc7383bce9aad1898f6c951e6d5f722 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=339a4dbd5bc7383bce9aad1…
Author: Francois Gouget <fgouget(a)free.fr> Date: Thu Mar 2 19:40:33 2006 +0100 d3d: Fix Validate(Pixel|Vertex)Shader() prototypes. Fix Validate(Pixel|Vertex)Shader() prototypes so they match the spec file. Fix the stub message so it is more standard and use consistent parameter names. --- dlls/d3d8/d3d8_main.c | 8 ++++---- dlls/d3d9/d3d9_main.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/d3d8/d3d8_main.c b/dlls/d3d8/d3d8_main.c index be37d41..67120ec 100644 --- a/dlls/d3d8/d3d8_main.c +++ b/dlls/d3d8/d3d8_main.c @@ -75,9 +75,9 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, * PARAMS * toto result? */ -BOOL WINAPI ValidateVertexShader(LPVOID pFunction, int foo, int bar, void *fee, int rab) +BOOL WINAPI ValidateVertexShader(LPVOID pFunction, int param1, int param2, LPVOID toto) { - FIXME("(void): stub: %p %d %d %p %d\n", pFunction, foo, bar, fee, rab); + FIXME("(%p %d %d %p): stub\n", pFunction, param1, param2, toto); return TRUE; } @@ -87,8 +87,8 @@ BOOL WINAPI ValidateVertexShader(LPVOID * PARAMS * toto result? */ -BOOL WINAPI ValidatePixelShader(LPVOID pFunction, int foo, int bar, void *fee, int rab) +BOOL WINAPI ValidatePixelShader(LPVOID pFunction, int param1, int param2, LPVOID toto) { - FIXME("(void): stub: %p %d %d %p %d\n", pFunction, foo, bar, fee, rab); + FIXME("(%p %d %d %p): stub\n", pFunction, param1, param2, toto); return TRUE; } diff --git a/dlls/d3d9/d3d9_main.c b/dlls/d3d9/d3d9_main.c index e249a32..b2b758e 100644 --- a/dlls/d3d9/d3d9_main.c +++ b/dlls/d3d9/d3d9_main.c @@ -78,7 +78,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, */ BOOL WINAPI ValidateVertexShader(LPVOID pFunction, int param1, int param2, LPVOID toto) { - FIXME("(void): stub: %p %d %d %p\n", pFunction, param1, param2, toto); + FIXME("(%p %d %d %p): stub\n", pFunction, param1, param2, toto); return TRUE; } @@ -90,6 +90,6 @@ BOOL WINAPI ValidateVertexShader(LPVOID */ BOOL WINAPI ValidatePixelShader(LPVOID pFunction, int param1, int param2, LPVOID toto) { - FIXME("(void): stub: %p %d %d %p\n", pFunction, param1, param2, toto); + FIXME("(%p %d %d %p): stub\n", pFunction, param1, param2, toto); return TRUE; }
1
0
0
0
Francois Gouget : kernel: Protect sys/resource.h include.
by Alexandre Julliard
03 Mar '06
03 Mar '06
Module: wine Branch: refs/heads/master Commit: 2f29c779d48b027773a57ff383cbc29d6bb81ccf URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=2f29c779d48b027773a57ff…
Author: Francois Gouget <fgouget(a)free.fr> Date: Thu Mar 2 19:37:37 2006 +0100 kernel: Protect sys/resource.h include. --- dlls/kernel/heap.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/dlls/kernel/heap.c b/dlls/kernel/heap.c index 3df7bbc..59a5e9f 100644 --- a/dlls/kernel/heap.c +++ b/dlls/kernel/heap.c @@ -44,7 +44,9 @@ /* FIXME: Unfortunately swapctl can't be used with largefile.... */ # undef _FILE_OFFSET_BITS # define _FILE_OFFSET_BITS 32 -# include <sys/resource.h> +# ifdef HAVE_SYS_RESOURCE_H +# include <sys/resource.h> +# endif # ifdef HAVE_SYS_STAT_H # include <sys/stat.h> # endif
1
0
0
0
Tag wine-0.9.9 : Alexandre Julliard : Release 0.9.9
by Alexandre Julliard
02 Mar '06
02 Mar '06
Module: wine Branch: refs/tags/wine-0.9.9 Tag: af1714c70a8e138c4200c7840bdc4913c97b7767 URL:
http://source.winehq.org/git/?p=wine.git;a=tag;h=af1714c70a8e138c4200c7840b…
Tagger: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Mar 2 18:16:28 2006 +0100 Release 0.9.9
1
0
0
0
← Newer
1
...
52
53
54
55
56
57
58
59
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
Results per page:
10
25
50
100
200