ReactOS  0.4.15-dev-494-g1d8c567
CFolderItemVerb Class Reference

#include <CFolderItemVerbs.h>

Inheritance diagram for CFolderItemVerb:
Collaboration diagram for CFolderItemVerb:

Public Member Functions

 CFolderItemVerb ()
 
 ~CFolderItemVerb ()
 
void Init (IContextMenu *menu, BSTR name)
 
virtual HRESULT STDMETHODCALLTYPE get_Application (IDispatch **ppid)
 
virtual HRESULT STDMETHODCALLTYPE get_Parent (IDispatch **ppid)
 
virtual HRESULT STDMETHODCALLTYPE get_Name (BSTR *pbs)
 
virtual HRESULT STDMETHODCALLTYPE DoIt ()
 
- Public Member Functions inherited from ATL::CComObjectRootEx< CComMultiThreadModelNoCS >
 ~CComObjectRootEx ()
 
ULONG InternalAddRef ()
 
ULONG InternalRelease ()
 
void Lock ()
 
void Unlock ()
 
HRESULT _AtlInitialConstruct ()
 
- Public Member Functions inherited from ATL::CComObjectRootBase
 CComObjectRootBase ()
 
 ~CComObjectRootBase ()
 
void SetVoid (void *)
 
HRESULT _AtlFinalConstruct ()
 
HRESULT FinalConstruct ()
 
void InternalFinalConstructAddRef ()
 
void InternalFinalConstructRelease ()
 
void FinalRelease ()
 

Private Attributes

CComPtr< IContextMenum_contextmenu
 
CComBSTR m_name
 

Additional Inherited Members

- Static Public Member Functions inherited from ATL::CComObjectRootBase
static void WINAPI ObjectMain (bool)
 
static const struct _ATL_CATMAP_ENTRYGetCategoryMap ()
 
static HRESULT WINAPI InternalQueryInterface (void *pThis, const _ATL_INTMAP_ENTRY *pEntries, REFIID iid, void **ppvObject)
 
- Public Attributes inherited from ATL::CComObjectRootBase
LONG m_dwRef
 

Detailed Description

Definition at line 24 of file CFolderItemVerbs.h.

Constructor & Destructor Documentation

◆ CFolderItemVerb()

CFolderItemVerb::CFolderItemVerb ( )

Definition at line 26 of file CFolderItemVerbs.cpp.

27 {
28 }

◆ ~CFolderItemVerb()

CFolderItemVerb::~CFolderItemVerb ( )

Definition at line 30 of file CFolderItemVerbs.cpp.

31 {
32 }

Member Function Documentation

◆ DoIt()

HRESULT STDMETHODCALLTYPE CFolderItemVerb::DoIt ( )
virtual

Definition at line 62 of file CFolderItemVerbs.cpp.

63 {
64  TRACE("(%p, %p)\n", this);
65  return E_NOTIMPL;
66 }
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ get_Application()

HRESULT STDMETHODCALLTYPE CFolderItemVerb::get_Application ( IDispatch **  ppid)
virtual

Definition at line 42 of file CFolderItemVerbs.cpp.

43 {
44  TRACE("(%p, %p)\n", this, ppid);
45  return E_NOTIMPL;
46 }
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ get_Name()

HRESULT STDMETHODCALLTYPE CFolderItemVerb::get_Name ( BSTR pbs)
virtual

Definition at line 54 of file CFolderItemVerbs.cpp.

55 {
56  if (!pbs)
57  return E_POINTER;
58  *pbs = SysAllocString(m_name);
59  return S_OK;
60 }
BSTR WINAPI SysAllocString(LPCOLESTR str)
Definition: oleaut.c:238
#define S_OK
Definition: intsafe.h:59
#define E_POINTER
Definition: winerror.h:2365

◆ get_Parent()

HRESULT STDMETHODCALLTYPE CFolderItemVerb::get_Parent ( IDispatch **  ppid)
virtual

Definition at line 48 of file CFolderItemVerbs.cpp.

49 {
50  TRACE("(%p, %p)\n", this, ppid);
51  return E_NOTIMPL;
52 }
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Init()

void CFolderItemVerb::Init ( IContextMenu menu,
BSTR  name 
)

Definition at line 34 of file CFolderItemVerbs.cpp.

35 {
36  m_contextmenu = menu;
37  m_name.m_str = name;
38 }
CComPtr< IContextMenu > m_contextmenu
GLuint const GLchar * name
Definition: glext.h:6031

Referenced by CFolderItemVerbs::Item().

Member Data Documentation

◆ m_contextmenu

CComPtr<IContextMenu> CFolderItemVerb::m_contextmenu
private

Definition at line 30 of file CFolderItemVerbs.h.

Referenced by Init().

◆ m_name

CComBSTR CFolderItemVerb::m_name
private

Definition at line 31 of file CFolderItemVerbs.h.

Referenced by get_Name(), and Init().


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