ReactOS  0.4.13-dev-482-ge57f103
CMenuToolbars.cpp File Reference
#include "shellmenu.h"
#include <commoncontrols.h>
#include <shlwapi_undoc.h>
#include <uxtheme.h>
#include <vssym32.h>
#include "CMenuBand.h"
#include "CMenuToolbars.h"
Include dependency graph for CMenuToolbars.cpp:

Go to the source code of this file.

Macros

#define IDS_MENU_EMPTY   34561
 
#define USE_TBSTYLE_EX_VERTICAL   0
 
#define TIMERID_HOTTRACK   1
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (CMenuToolbars)
 
int CALLBACK PidlListSort (void *item1, void *item2, LPARAM lParam)
 

Macro Definition Documentation

◆ IDS_MENU_EMPTY

#define IDS_MENU_EMPTY   34561

Definition at line 29 of file CMenuToolbars.cpp.

◆ TIMERID_HOTTRACK

#define TIMERID_HOTTRACK   1

Definition at line 37 of file CMenuToolbars.cpp.

◆ USE_TBSTYLE_EX_VERTICAL

#define USE_TBSTYLE_EX_VERTICAL   0

Definition at line 34 of file CMenuToolbars.cpp.

Function Documentation

◆ PidlListSort()

int CALLBACK PidlListSort ( void item1,
void item2,
LPARAM  lParam 
)

Definition at line 1298 of file CMenuToolbars.cpp.

1299 {
1300  IShellFolder * psf = (IShellFolder*) lParam;
1303  HRESULT hr = psf->CompareIDs(0, pidl1, pidl2);
1304  if (FAILED(hr))
1305  {
1306  // No way to cancel, so sort to equal.
1307  return 0;
1308  }
1309  return (int)(short)LOWORD(hr);
1310 }
HRESULT hr
Definition: shlfolder.c:183
HRESULT CompareIDs([in] LPARAM lParam, [in] PCUIDLIST_RELATIVE pidl1, [in] PCUIDLIST_RELATIVE pidl2)
unsigned short(__cdecl typeof(TIFFCurrentDirectory))(struct tiff *)
Definition: typeof.h:93
LONG HRESULT
Definition: typedefs.h:77
static const struct metadata_item item2[]
Definition: metadata.c:2807
const ITEMIDLIST_RELATIVE UNALIGNED * PCUIDLIST_RELATIVE
Definition: shtypes.idl:57
static const struct metadata_item item1[]
Definition: metadata.c:2802
LPARAM lParam
Definition: combotst.c:139
#define LOWORD(l)
Definition: pedump.c:82

Referenced by CMenuSFToolbar::FillToolbar().

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( CMenuToolbars  )