#include <HostContextMenu.h>
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 |
Definition at line 53 of file HostContextMenu.h.
enum CHostContextMenu::MENUOFFSET [private] |
Definition at line 84 of file HostContextMenu.h.
CHostContextMenu::CHostContextMenu | ( | ) | [inline] |
Definition at line 58 of file HostContextMenu.h.
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 | ) |
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.
PIDLIST_ABSOLUTE CHostContextMenu::m_pidl [private] |