Module: wine Branch: master Commit: 2e4224fe2c878cf3acca77d5979f7076ccf772c6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2e4224fe2c878cf3acca77d597...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Mon Aug 29 22:36:16 2011 +0100
shell32: Remove unneeded address-of operators from function name.
---
dlls/shell32/shv_item_cmenu.c | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/dlls/shell32/shv_item_cmenu.c b/dlls/shell32/shv_item_cmenu.c index 2dd8cd6..245bbd4 100644 --- a/dlls/shell32/shv_item_cmenu.c +++ b/dlls/shell32/shv_item_cmenu.c @@ -382,7 +382,7 @@ static BOOL DoCopyOrCut(ItemCmImpl *This, HWND hwnd, BOOL bCut) * Used by DoOpenProperties through SHCreatePropSheetExtArrayEx to add * propertysheet pages from shell extensions. */ -static BOOL Properties_AddPropSheetCallback(HPROPSHEETPAGE hpage, LPARAM lparam) +static BOOL CALLBACK Properties_AddPropSheetCallback(HPROPSHEETPAGE hpage, LPARAM lparam) { LPPROPSHEETHEADERW psh = (LPPROPSHEETHEADERW) lparam; psh->u3.phpage[psh->nPages++] = hpage; @@ -476,17 +476,13 @@ static void DoOpenProperties(ItemCmImpl *This, HWND hwnd) hpsxa = SHCreatePropSheetExtArrayEx(HKEY_CLASSES_ROOT, wszFiletype, MAX_PROP_PAGES - psh.nPages, lpDo); if (hpsxa != NULL) { - SHAddFromPropSheetExtArray((HPSXA)hpsxa, - (LPFNADDPROPSHEETPAGE)&Properties_AddPropSheetCallback, - (LPARAM)&psh); + SHAddFromPropSheetExtArray(hpsxa, Properties_AddPropSheetCallback, (LPARAM)&psh); SHDestroyPropSheetExtArray(hpsxa); } hpsxa = SHCreatePropSheetExtArrayEx(HKEY_CLASSES_ROOT, wszFiletypeAll, MAX_PROP_PAGES - psh.nPages, lpDo); if (hpsxa != NULL) { - SHAddFromPropSheetExtArray((HPSXA)hpsxa, - (LPFNADDPROPSHEETPAGE)&Properties_AddPropSheetCallback, - (LPARAM)&psh); + SHAddFromPropSheetExtArray(hpsxa, Properties_AddPropSheetCallback, (LPARAM)&psh); SHDestroyPropSheetExtArray(hpsxa); } IDataObject_Release(lpDo);