ReactOS 0.4.15-dev-8241-g63935f8
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

◆ 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 337 of file CSHEnumClassesOfCategories.cpp.

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

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