shell32: Use the proper type for a function pointer field.

This commit is contained in:
Michael Stefaniuc 2012-11-20 13:13:18 +01:00 committed by Alexandre Julliard
parent 4428049a7a
commit 0705793eb0
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ typedef struct tagCREATEMRULIST
DWORD dwFlags; /* see below */
HKEY hKey; /* root reg. key under which list is saved */
LPCSTR lpszSubKey; /* reg. subkey */
PROC lpfnCompare; /* item compare proc */
int (CALLBACK *lpfnCompare)(LPCVOID, LPCVOID, DWORD); /* item compare proc */
} CREATEMRULISTA, *LPCREATEMRULISTA;
/* dwFlags */
@ -927,7 +927,7 @@ void WINAPI SHAddToRecentDocs (UINT uFlags,LPCVOID pv)
mymru.dwFlags = MRUF_BINARY_LIST | MRUF_DELAYED_SAVE;
mymru.hKey = HCUbasekey;
mymru.lpszSubKey = "RecentDocs";
mymru.lpfnCompare = (PROC)SHADD_compare_mru;
mymru.lpfnCompare = SHADD_compare_mru;
mruhandle = CreateMRUListA(&mymru);
if (!mruhandle) {
/* MRU failed */