CHostContextMenu Class Reference

#include <HostContextMenu.h>

List of all members.

Public Member Functions

 CHostContextMenu ()
HRESULT FinalConstruct ()
void FinalRelease ()
HRESULT Initialize (PCIDLIST_ABSOLUTE pidl)
HRESULT QueryContextMenu (HMENU hmenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT uFlags)
HRESULT InvokeCommand (CMINVOKECOMMANDINFO *pici)
HRESULT GetCommandString (UINT_PTR idCmd, UINT uType, UINT *pReserved, LPSTR pszName, UINT cchMax)

Private Types

enum  MENUOFFSET { MENUOFFSET_NULL = 0, MENUOFFSET_FIRST = 1, MENUOFFSET_CONNECT = MENUOFFSET_FIRST, MENUOFFSET_LAST = MENUOFFSET_CONNECT }

Private Attributes

PIDLIST_ABSOLUTE m_pidl


Detailed Description

Definition at line 53 of file HostContextMenu.h.


Member Enumeration Documentation

enum CHostContextMenu::MENUOFFSET [private]

Enumerator:
MENUOFFSET_NULL 
MENUOFFSET_FIRST 
MENUOFFSET_CONNECT 
MENUOFFSET_LAST 

Definition at line 84 of file HostContextMenu.h.


Constructor & Destructor Documentation

CHostContextMenu::CHostContextMenu (  )  [inline]

Definition at line 58 of file HostContextMenu.h.


Member Function Documentation

HRESULT CHostContextMenu::FinalConstruct (  )  [inline]

Definition at line 63 of file HostContextMenu.h.

void CHostContextMenu::FinalRelease (  )  [inline]

Definition at line 67 of file HostContextMenu.h.

HRESULT CHostContextMenu::Initialize ( PCIDLIST_ABSOLUTE  pidl  ) 

Definition at line 30 of file HostContextMenu.cpp.

References m_pidl.

HRESULT CHostContextMenu::QueryContextMenu ( HMENU  hmenu,
UINT  indexMenu,
UINT  idCmdFirst,
UINT  idCmdLast,
UINT  uFlags 
)

Definition at line 52 of file HostContextMenu.cpp.

References MENUOFFSET_CONNECT, and MENUOFFSET_LAST.

HRESULT CHostContextMenu::InvokeCommand ( CMINVOKECOMMANDINFO *  pici  ) 

Definition at line 139 of file HostContextMenu.cpp.

References L, m_pidl, MENUOFFSET_CONNECT, MENUOFFSET_FIRST, MENUOFFSET_LAST, MENUOFFSET_NULL, and UNREACHABLE.

HRESULT CHostContextMenu::GetCommandString ( UINT_PTR  idCmd,
UINT  uType,
UINT *  pReserved,
LPSTR  pszName,
UINT  cchMax 
)

Definition at line 82 of file HostContextMenu.cpp.

References L, MENUOFFSET_CONNECT, and MENUOFFSET_LAST.


Member Data Documentation

PIDLIST_ABSOLUTE CHostContextMenu::m_pidl [private]

Definition at line 94 of file HostContextMenu.h.

Referenced by Initialize(), and InvokeCommand().


The documentation for this class was generated from the following files:
Generated on Mon Nov 12 22:43:54 2007 for Swish by  doxygen 1.5.3