shell32: Remove unneeded address-of operators from function name.
This commit is contained in:
parent
92c408cd66
commit
2e4224fe2c
@ -382,7 +382,7 @@ static BOOL DoCopyOrCut(ItemCmImpl *This, HWND hwnd, BOOL bCut)
|
|||||||
* Used by DoOpenProperties through SHCreatePropSheetExtArrayEx to add
|
* Used by DoOpenProperties through SHCreatePropSheetExtArrayEx to add
|
||||||
* propertysheet pages from shell extensions.
|
* 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;
|
LPPROPSHEETHEADERW psh = (LPPROPSHEETHEADERW) lparam;
|
||||||
psh->u3.phpage[psh->nPages++] = hpage;
|
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);
|
hpsxa = SHCreatePropSheetExtArrayEx(HKEY_CLASSES_ROOT, wszFiletype, MAX_PROP_PAGES - psh.nPages, lpDo);
|
||||||
if (hpsxa != NULL)
|
if (hpsxa != NULL)
|
||||||
{
|
{
|
||||||
SHAddFromPropSheetExtArray((HPSXA)hpsxa,
|
SHAddFromPropSheetExtArray(hpsxa, Properties_AddPropSheetCallback, (LPARAM)&psh);
|
||||||
(LPFNADDPROPSHEETPAGE)&Properties_AddPropSheetCallback,
|
|
||||||
(LPARAM)&psh);
|
|
||||||
SHDestroyPropSheetExtArray(hpsxa);
|
SHDestroyPropSheetExtArray(hpsxa);
|
||||||
}
|
}
|
||||||
hpsxa = SHCreatePropSheetExtArrayEx(HKEY_CLASSES_ROOT, wszFiletypeAll, MAX_PROP_PAGES - psh.nPages, lpDo);
|
hpsxa = SHCreatePropSheetExtArrayEx(HKEY_CLASSES_ROOT, wszFiletypeAll, MAX_PROP_PAGES - psh.nPages, lpDo);
|
||||||
if (hpsxa != NULL)
|
if (hpsxa != NULL)
|
||||||
{
|
{
|
||||||
SHAddFromPropSheetExtArray((HPSXA)hpsxa,
|
SHAddFromPropSheetExtArray(hpsxa, Properties_AddPropSheetCallback, (LPARAM)&psh);
|
||||||
(LPFNADDPROPSHEETPAGE)&Properties_AddPropSheetCallback,
|
|
||||||
(LPARAM)&psh);
|
|
||||||
SHDestroyPropSheetExtArray(hpsxa);
|
SHDestroyPropSheetExtArray(hpsxa);
|
||||||
}
|
}
|
||||||
IDataObject_Release(lpDo);
|
IDataObject_Release(lpDo);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user