ReactOS  0.4.14-dev-323-g6fe6a88
CSHEnumClassesOfCategories.cpp File Reference
#include "shellbars.h"
Include dependency graph for CSHEnumClassesOfCategories.cpp:

Go to the source code of this file.

Classes

struct  categoryCacheHeader
 
class  CComCatCachedCategory
 
class  CSHEnumClassesOfCategories
 

Macros

#define REGPATH   L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Discardable\\PostSetup\\Component Categories"
 
#define IMPLEMENTING   L"Implementing"
 
#define REQUIRING   L"Requiring"
 

Typedefs

typedef struct categoryCacheHeader CATCACHEHDR
 
typedef struct categoryCacheHeaderPCATCACHEHDR
 

Functions

HRESULT WINAPI SHEnumClassesOfCategories (ULONG cImplemented, CATID *pImplemented, ULONG cRequired, CATID *pRequired, IEnumGUID **out)
 

Macro Definition Documentation

◆ IMPLEMENTING

#define IMPLEMENTING   L"Implementing"

Definition at line 28 of file CSHEnumClassesOfCategories.cpp.

◆ REGPATH

#define REGPATH   L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Discardable\\PostSetup\\Component Categories"

Definition at line 27 of file CSHEnumClassesOfCategories.cpp.

◆ REQUIRING

#define REQUIRING   L"Requiring"

Definition at line 29 of file CSHEnumClassesOfCategories.cpp.

Typedef Documentation

◆ CATCACHEHDR

◆ PCATCACHEHDR

Function Documentation

◆ SHEnumClassesOfCategories()

HRESULT WINAPI SHEnumClassesOfCategories ( ULONG  cImplemented,
CATID pImplemented,
ULONG  cRequired,
CATID pRequired,
IEnumGUID **  out 
)

Definition at line 336 of file CSHEnumClassesOfCategories.cpp.

337 {
338  HRESULT hr;
339 
340  if (!out)
341  return E_INVALIDARG;
342 
343  hr = ShellObjectCreatorInit<CSHEnumClassesOfCategories>(
344  cImplemented, pImplemented, cRequired, pRequired, IID_PPV_ARG(IEnumGUID, out));
345  if (FAILED_UNEXPECTEDLY(hr))
346  return hr;
347  return S_OK;
348 }
HRESULT hr
Definition: shlfolder.c:183
#define IID_PPV_ARG(Itype, ppType)
#define E_INVALIDARG
Definition: ddrawi.h:101
LONG HRESULT
Definition: typedefs.h:77
#define FAILED_UNEXPECTEDLY(hr)
Definition: shellutils.h:71
static FILE * out
Definition: regtests2xml.c:44
#define S_OK
Definition: intsafe.h:59

Referenced by CBandSiteMenu::_CreateMenuPart(), and CShellBrowser::BuildExplorerBandCategory().