ReactOS 0.4.16-dev-1078-g21d3e29
CDummyClass Class Reference
Inheritance diagram for CDummyClass:
Collaboration diagram for CDummyClass:

Public Member Functions

 CDummyClass ()
 
IUnknownGetUnknown ()
 
STDMETHODIMP QueryInterface (REFIID riid, VOID **ppvObj) override
 
 STDMETHODIMP_ (ULONG) AddRef() override
 
 STDMETHODIMP_ (ULONG) Release() override
 
STDMETHODIMP GetWindow (HWND *phwnd) override
 
STDMETHODIMP ContextSensitiveHelp (BOOL fEnterMode) override
 
STDMETHODIMP InsertMenusSB (HMENU hmenuShared, LPOLEMENUGROUPWIDTHS lpMenuWidths) override
 
STDMETHODIMP SetMenuSB (HMENU hmenuShared, HOLEMENU holemenuRes, HWND hwndActiveObject) override
 
STDMETHODIMP RemoveMenusSB (HMENU hmenuShared) override
 
STDMETHODIMP SetStatusTextSB (LPCOLESTR pszStatusText) override
 
STDMETHODIMP EnableModelessSB (BOOL fEnable) override
 
STDMETHODIMP TranslateAcceleratorSB (MSG *pmsg, WORD wID) override
 
STDMETHODIMP BrowseObject (LPCITEMIDLIST pidl, UINT wFlags) override
 
STDMETHODIMP GetViewStateStream (DWORD grfMode, IStream **ppStrm) override
 
STDMETHODIMP GetControlWindow (UINT id, HWND *lphwnd) override
 
STDMETHODIMP SendControlMsg (UINT id, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *pret) override
 
STDMETHODIMP QueryActiveShellView (struct IShellView **ppshv) override
 
STDMETHODIMP OnViewWindowActive (struct IShellView *ppshv) override
 
STDMETHODIMP SetToolbarItems (LPTBBUTTON lpButtons, UINT nButtons, UINT uFlags) override
 
STDMETHODIMP QueryService (REFGUID guidService, REFIID riid, void **ppvObject) override
 
- Public Member Functions inherited from IServiceProvider
HRESULT QueryService ([in] REFGUID guidService, [in] REFIID riid, [out] void **ppvObject)
 
HRESULT RemoteQueryService ([in] REFGUID guidService, [in] REFIID riid, [out, iid_is(riid)] IUnknown **ppvObject)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 
- Public Member Functions inherited from IShellBrowser
HRESULT InsertMenusSB ([in] HMENU hmenuShared, [in, out] LPOLEMENUGROUPWIDTHS lpMenuWidths)
 
HRESULT SetMenuSB ([in] HMENU hmenuShared, [in] HOLEMENU holemenuReserved, [in] HWND hwndActiveObject)
 
HRESULT RemoveMenusSB ([in] HMENU hmenuShared)
 
HRESULT SetStatusTextSB ([in, unique] LPCOLESTR pszStatusText)
 
HRESULT EnableModelessSB ([in] BOOL fEnable)
 
HRESULT TranslateAcceleratorSB ([in] MSG *pmsg, [in] WORD wID)
 
HRESULT BrowseObject ([in] PCUIDLIST_RELATIVE pidl, [in] UINT wFlags)
 
HRESULT GetViewStateStream ([in] DWORD grfMode, [out] IStream **ppStrm)
 
HRESULT GetControlWindow ([in] UINT id, [out] HWND *phwnd)
 
HRESULT SendControlMsg ([in] UINT id, [in] UINT uMsg, [in] WPARAM wParam, [in] LPARAM lParam, [in] LRESULT *pret)
 
HRESULT QueryActiveShellView ([out] IShellView **ppshv)
 
HRESULT OnViewWindowActive ([in] IShellView *pshv)
 
HRESULT SetToolbarItems ([in] LPTBBUTTONSB lpButtons, [in] UINT nButtons, [in] UINT uFlags)
 
HRESULT GetWindow ([out] HWND *phwnd)
 
HRESULT ContextSensitiveHelp ([in] BOOL fEnterMode)
 

Additional Inherited Members

- Public Types inherited from IServiceProvider
typedef IServiceProviderLPSERVICEPROVIDER
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 
- Public Types inherited from IShellBrowser
typedef IShellBrowserLPSHELLBROWSER
 
typedef LPARAM LPTBBUTTONSB
 
typedef LPTBBUTTON LPTBBUTTONSB
 
- Public Types inherited from IOleWindow
typedef IOleWindowLPOLEWINDOW
 

Detailed Description

Definition at line 12 of file SHShouldShowWizards.cpp.

Constructor & Destructor Documentation

◆ CDummyClass()

CDummyClass::CDummyClass ( )
inline

Definition at line 17 of file SHShouldShowWizards.cpp.

17{ }

Member Function Documentation

◆ BrowseObject()

STDMETHODIMP CDummyClass::BrowseObject ( LPCITEMIDLIST  pidl,
UINT  wFlags 
)
inlineoverride

Definition at line 55 of file SHShouldShowWizards.cpp.

55{ return E_NOTIMPL; }
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ContextSensitiveHelp()

STDMETHODIMP CDummyClass::ContextSensitiveHelp ( BOOL  fEnterMode)
inlineoverride

Implements IOleWindow.

Definition at line 46 of file SHShouldShowWizards.cpp.

46{ return E_NOTIMPL; }

◆ EnableModelessSB()

STDMETHODIMP CDummyClass::EnableModelessSB ( BOOL  fEnable)
inlineoverride

Implements IShellBrowser.

Definition at line 53 of file SHShouldShowWizards.cpp.

53{ return E_NOTIMPL; }

◆ GetControlWindow()

STDMETHODIMP CDummyClass::GetControlWindow ( UINT  id,
HWND lphwnd 
)
inlineoverride

Implements IShellBrowser.

Definition at line 57 of file SHShouldShowWizards.cpp.

57{ return E_NOTIMPL; }

◆ GetUnknown()

IUnknown * CDummyClass::GetUnknown ( )
inline

Definition at line 19 of file SHShouldShowWizards.cpp.

20 {
21 return static_cast<IServiceProvider *>(this);
22 }

◆ GetViewStateStream()

STDMETHODIMP CDummyClass::GetViewStateStream ( DWORD  grfMode,
IStream **  ppStrm 
)
inlineoverride

Implements IShellBrowser.

Definition at line 56 of file SHShouldShowWizards.cpp.

56{ return E_NOTIMPL; }

◆ GetWindow()

STDMETHODIMP CDummyClass::GetWindow ( HWND phwnd)
inlineoverride

Implements IOleWindow.

Definition at line 45 of file SHShouldShowWizards.cpp.

45{ return E_NOTIMPL; }

◆ InsertMenusSB()

STDMETHODIMP CDummyClass::InsertMenusSB ( HMENU  hmenuShared,
LPOLEMENUGROUPWIDTHS  lpMenuWidths 
)
inlineoverride

Implements IShellBrowser.

Definition at line 49 of file SHShouldShowWizards.cpp.

49{ return E_NOTIMPL; }

◆ OnViewWindowActive()

STDMETHODIMP CDummyClass::OnViewWindowActive ( struct IShellView ppshv)
inlineoverride

Implements IShellBrowser.

Definition at line 60 of file SHShouldShowWizards.cpp.

60{ return E_NOTIMPL; }

◆ QueryActiveShellView()

STDMETHODIMP CDummyClass::QueryActiveShellView ( struct IShellView **  ppshv)
inlineoverride

Implements IShellBrowser.

Definition at line 59 of file SHShouldShowWizards.cpp.

59{ return E_NOTIMPL; }

◆ QueryInterface()

STDMETHODIMP CDummyClass::QueryInterface ( REFIID  riid,
VOID **  ppvObj 
)
inlineoverride

Implements IUnknown.

Definition at line 25 of file SHShouldShowWizards.cpp.

26 {
27 if (riid == IID_IUnknown || riid == IID_IServiceProvider)
28 {
29 AddRef();
30 *ppvObj = static_cast<IServiceProvider *>(this);
31 return S_OK;
32 }
33 return E_NOINTERFACE;
34 }
const GUID IID_IUnknown
REFIID riid
Definition: atlbase.h:39
ULONG AddRef()
#define S_OK
Definition: intsafe.h:52
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ QueryService()

STDMETHODIMP CDummyClass::QueryService ( REFGUID  guidService,
REFIID  riid,
void **  ppvObject 
)
inlineoverride

Implements IServiceProvider.

Definition at line 64 of file SHShouldShowWizards.cpp.

65 {
66 if (riid == IID_IShellBrowser)
67 {
68 AddRef();
69 *ppvObject = static_cast<IShellBrowser *>(this);
70 return S_OK;
71 }
72 return E_FAIL;
73 }
#define E_FAIL
Definition: ddrawi.h:102
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
Definition: wincrypt.h:6082

◆ RemoveMenusSB()

STDMETHODIMP CDummyClass::RemoveMenusSB ( HMENU  hmenuShared)
inlineoverride

Implements IShellBrowser.

Definition at line 51 of file SHShouldShowWizards.cpp.

51{ return E_NOTIMPL; }

◆ SendControlMsg()

STDMETHODIMP CDummyClass::SendControlMsg ( UINT  id,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
LRESULT pret 
)
inlineoverride

Implements IShellBrowser.

Definition at line 58 of file SHShouldShowWizards.cpp.

58{ return E_NOTIMPL; }

◆ SetMenuSB()

STDMETHODIMP CDummyClass::SetMenuSB ( HMENU  hmenuShared,
HOLEMENU  holemenuRes,
HWND  hwndActiveObject 
)
inlineoverride

Implements IShellBrowser.

Definition at line 50 of file SHShouldShowWizards.cpp.

50{ return E_NOTIMPL; }

◆ SetStatusTextSB()

STDMETHODIMP CDummyClass::SetStatusTextSB ( LPCOLESTR  pszStatusText)
inlineoverride

Implements IShellBrowser.

Definition at line 52 of file SHShouldShowWizards.cpp.

52{ return E_NOTIMPL; }

◆ SetToolbarItems()

STDMETHODIMP CDummyClass::SetToolbarItems ( LPTBBUTTON  lpButtons,
UINT  nButtons,
UINT  uFlags 
)
inlineoverride

Definition at line 61 of file SHShouldShowWizards.cpp.

61{ return E_NOTIMPL; }

◆ STDMETHODIMP_() [1/2]

CDummyClass::STDMETHODIMP_ ( ULONG  )
inlineoverride

Definition at line 35 of file SHShouldShowWizards.cpp.

36 {
37 return 1;
38 }

◆ STDMETHODIMP_() [2/2]

CDummyClass::STDMETHODIMP_ ( ULONG  )
inlineoverride

Definition at line 39 of file SHShouldShowWizards.cpp.

40 {
41 return 1;
42 }

◆ TranslateAcceleratorSB()

STDMETHODIMP CDummyClass::TranslateAcceleratorSB ( MSG pmsg,
WORD  wID 
)
inlineoverride

Implements IShellBrowser.

Definition at line 54 of file SHShouldShowWizards.cpp.

54{ return E_NOTIMPL; }

The documentation for this class was generated from the following file: