Method that must return the path, with plugin-specific alteration.
| 52 | |
| 53 | // Method that must return the path, with plugin-specific alteration. |
| 54 | [[gsl::suppress(c.128), gsl::suppress(f.6)]] |
| 55 | STDMETHODIMP CPathCopyCopyPlugin2b::GetPath(BSTR p_pPath, BSTR *p_ppNewPath) |
| 56 | { |
| 57 | if (p_pPath == nullptr || p_ppNewPath == nullptr) { |
| 58 | return E_INVALIDARG; |
| 59 | } |
| 60 | std::wstring newPath(p_pPath); |
| 61 | newPath += L"2b"; |
| 62 | *p_ppNewPath = ::SysAllocString(newPath.c_str()); |
| 63 | return S_OK; |
| 64 | } |
| 65 | |
| 66 | // Method that must return the ID of the plugin group to which this plugin belongs. |
| 67 | // All plugins in the same group will appear together in the contextual menu. |
nothing calls this directly
no outgoing calls
no test coverage detected