#include <CCopyAsPathMenu.h>
|
| CCopyAsPathMenu () |
|
| ~CCopyAsPathMenu () |
|
STDMETHODIMP | QueryContextMenu (HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT uFlags) override |
|
STDMETHODIMP | InvokeCommand (LPCMINVOKECOMMANDINFO lpcmi) override |
|
STDMETHODIMP | GetCommandString (UINT_PTR idCommand, UINT uFlags, UINT *lpReserved, LPSTR lpszName, UINT uMaxNameLen) override |
|
STDMETHODIMP | Initialize (PCIDLIST_ABSOLUTE pidlFolder, IDataObject *pdtobj, HKEY hkeyProgID) override |
|
| ~CComObjectRootEx () |
|
ULONG | InternalAddRef () |
|
ULONG | InternalRelease () |
|
void | Lock () |
|
void | Unlock () |
|
HRESULT | _AtlInitialConstruct () |
|
| CComObjectRootBase () |
|
| ~CComObjectRootBase () |
|
void | SetVoid (void *) |
|
HRESULT | _AtlFinalConstruct () |
|
HRESULT | FinalConstruct () |
|
void | InternalFinalConstructAddRef () |
|
void | InternalFinalConstructRelease () |
|
void | FinalRelease () |
|
HRESULT | QueryContextMenu ([in] HMENU hmenu, [in] UINT indexMenu, [in] UINT idCmdFirst, [in] UINT idCmdLast, [in] UINT uFlags) |
|
HRESULT | InvokeCommand ([in] LPCMINVOKECOMMANDINFO lpici) |
|
HRESULT | GetCommandString ([in] UINT_PTR idCmd, [in] UINT uType, [out] UINT *pwReserved, [out, size_is(cchMax)] LPSTR pszName, [in] UINT cchMax) |
|
HRESULT | QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject) |
|
ULONG | AddRef () |
|
ULONG | Release () |
|
HRESULT | Initialize ([in] PCIDLIST_ABSOLUTE pidlFolder, [in] IDataObject *pdtobj, [in] HKEY hkeyProgID) |
|
Definition at line 11 of file CCopyAsPathMenu.h.
◆ CCopyAsPathMenu()
CCopyAsPathMenu::CCopyAsPathMenu |
( |
| ) |
|
◆ ~CCopyAsPathMenu()
CCopyAsPathMenu::~CCopyAsPathMenu |
( |
| ) |
|
◆ DoCopyAsPath()
Definition at line 74 of file CCopyAsPathMenu.cpp.
75{
81 {
83 {
87 {
89 hr =
item->GetDisplayName(SIGDN_DESKTOPABSOLUTEPARSING, &
path);
91 {
93 }
94 }
95 }
96 }
98 {
101 }
102
104}
EXTERN_C HRESULT WINAPI SHCreateShellItemArrayFromDataObject(_In_ IDataObject *pdo, _In_ REFIID riid, _Out_ void **ppv)
GLuint GLuint GLsizei count
GLsizei const GLuint * paths
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define HRESULT_FROM_WIN32(x)
#define IID_PPV_ARG(Itype, ppType)
Referenced by InvokeCommand().
◆ GetCommandString()
Implements IContextMenu.
Definition at line 150 of file CCopyAsPathMenu.cpp.
151{
152 TRACE(
"CCopyAsPathMenu::GetCommandString(%p %lu %u %p %p %u)\n",
this,
153 idCommand,
uFlags, lpReserved, lpszName, uMaxNameLen);
155}
HRESULT SHELL_GetCommandStringImpl(SIZE_T CmdId, UINT uFlags, LPSTR Buf, UINT cchBuf, const CMVERBMAP *pMap)
◆ Initialize()
◆ InvokeCommand()
Implements IContextMenu.
Definition at line 138 of file CCopyAsPathMenu.cpp.
139{
140 TRACE(
"CCopyAsPathMenu::InvokeCommand(%p %p)\n",
this, lpcmi);
141
145
147}
HRESULT SHELL_MapContextMenuVerbToCmdId(LPCMINVOKECOMMANDINFO pICI, const CMVERBMAP *pMap)
◆ QueryContextMenu()
Implements IContextMenu.
Definition at line 113 of file CCopyAsPathMenu.cpp.
114{
116
117 TRACE(
"CCopyAsPathMenu::QueryContextMenu(%p %p %u %u %u %u)\n",
this,
118 hMenu, indexMenu, idCmdFirst, idCmdLast,
uFlags);
119
120 if ((
uFlags & CMF_NOVERBS) || !(
uFlags & CMF_EXTENDEDVERBS))
122
123
133
135}
#define MAKE_HRESULT(sev, fac, code)
#define IDS_COPYASPATHMENU
#define MAKEINTRESOURCEW(i)
BOOL WINAPI InsertMenuItemW(_In_ HMENU, _In_ UINT, _In_ BOOL, _In_ LPCMENUITEMINFOW)
◆ m_pDataObject
The documentation for this class was generated from the following files: