mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 11:21:51 +00:00
[RSHELL]
* Improve the logging system to allow using the same logger for both windows classes and rshell classes. * Add a wrapper for CMenuSite. * CMenuDeskBar: Reduce the log differences by keeping a cached copy of the client HWND. * CMenuBand: Reduce the log differences by keeping a copy of the top level HWND. Will be used later. CORE-7586 svn path=/branches/shell-experiments/; revision=62253
This commit is contained in:
parent
ea49280564
commit
3b21639530
9 changed files with 1674 additions and 1236 deletions
|
@ -1,11 +1,11 @@
|
|||
|
||||
#define USE_SYSTEM_MENUDESKBAR 0
|
||||
#define USE_SYSTEM_MENUDESKBAR 1
|
||||
#define USE_SYSTEM_MENUSITE 0
|
||||
#define USE_SYSTEM_MENUBAND 0
|
||||
|
||||
// if not using system above
|
||||
#define WRAP_MENUDESKBAR 0
|
||||
#define WRAP_MENUBAND 0
|
||||
#define WRAP_MENUDESKBAR 1
|
||||
#define WRAP_MENUSITE 1
|
||||
#define WRAP_MENUBAND 1
|
||||
|
||||
#include <stdio.h>
|
||||
#include <tchar.h>
|
||||
|
@ -38,8 +38,9 @@
|
|||
#define SMC_EXEC 4
|
||||
extern "C" INT WINAPI Shell_GetCachedImageIndex(LPCWSTR szPath, INT nIndex, UINT bSimulateDoc);
|
||||
|
||||
extern "C" HRESULT CMenuDeskBar_Constructor(REFIID riid, LPVOID *ppv);
|
||||
extern "C" HRESULT CMenuSite_Constructor(REFIID riid, LPVOID *ppv);
|
||||
extern "C" HRESULT CMenuBand_Constructor(REFIID riid, LPVOID *ppv);
|
||||
extern "C" HRESULT CMenuDeskBar_Constructor(REFIID riid, LPVOID *ppv);
|
||||
extern "C" HRESULT CMenuBand_Wrapper(REFIID riid, LPVOID *ppv);
|
||||
extern "C" HRESULT CMenuDeskBar_Wrapper(REFIID riid, LPVOID *ppv);
|
||||
extern "C" HRESULT CMenuDeskBar_Wrapper(IDeskBar * db, REFIID riid, LPVOID *ppv);
|
||||
extern "C" HRESULT CMenuSite_Wrapper(IBandSite * bs, REFIID riid, LPVOID *ppv);
|
||||
extern "C" HRESULT CMenuBand_Wrapper(IShellMenu * sm, REFIID riid, LPVOID *ppv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue