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