2 * ReactOS undocumented shell interface
4 * Copyright 2009 Andrew Hill <ash77 at domain reactos.org>
5 * Copyright 2013 Dominik Hornung
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #ifndef __COMCTL32_UNDOC__H
23 #define __COMCTL32_UNDOC__H
27 #endif /* defined(__cplusplus) */
29 typedef struct tagCREATEMRULISTA
37 } CREATEMRULISTA
, *LPCREATEMRULISTA
;
38 typedef struct tagCREATEMRULISTW
46 } CREATEMRULISTW
, *LPCREATEMRULISTW
;
48 #define MRU_STRING 0x0
49 #define MRU_BINARY 0x1
50 #define MRU_CACHEWRITE 0x2
52 HANDLE WINAPI
CreateMRUListW(LPCREATEMRULISTW
);
53 HANDLE WINAPI
CreateMRUListA(LPCREATEMRULISTA
);
54 INT WINAPI
AddMRUData(HANDLE
,LPCVOID
,DWORD
);
55 INT WINAPI
FindMRUData(HANDLE
,LPCVOID
,DWORD
,LPINT
);
56 VOID WINAPI
FreeMRUList(HANDLE
);
58 INT WINAPI
AddMRUStringW(HANDLE hList
, LPCWSTR lpszString
);
59 INT WINAPI
AddMRUStringA(HANDLE hList
, LPCSTR lpszString
);
60 BOOL WINAPI
DelMRUString(HANDLE hList
, INT nItemPos
);
61 INT WINAPI
FindMRUStringW(HANDLE hList
, LPCWSTR lpszString
, LPINT lpRegNum
);
62 INT WINAPI
FindMRUStringA(HANDLE hList
, LPCSTR lpszString
, LPINT lpRegNum
);
63 HANDLE WINAPI
CreateMRUListLazyW(const CREATEMRULISTW
*lpcml
, DWORD dwParam2
,
64 DWORD dwParam3
, DWORD dwParam4
);
65 HANDLE WINAPI
CreateMRUListLazyA(const CREATEMRULISTA
*lpcml
, DWORD dwParam2
,
66 DWORD dwParam3
, DWORD dwParam4
);
67 INT WINAPI
EnumMRUListW(HANDLE hList
, INT nItemPos
, LPVOID lpBuffer
,
69 INT WINAPI
EnumMRUListA(HANDLE hList
, INT nItemPos
, LPVOID lpBuffer
,
73 typedef CREATEMRULISTW CREATEMRULIST
, *PCREATEMRULIST
;
74 #define CreateMRUList CreateMRUListW
76 typedef CREATEMRULISTA CREATEMRULIST
, *PCREATEMRULIST
;
77 #define CreateMRUList CreateMRUListA
82 #endif /* defined(__cplusplus) */
84 #endif // __COMCTL32_UNDOC__H