MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / get_npp_directory

Method get_npp_directory

src/npp/NppInterface.cpp:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28std::wstring NppInterface::get_npp_directory() {
29 std::vector<wchar_t> npp_path(MAX_PATH);
30 send_msg_to_npp(NPPM_GETNPPDIRECTORY, MAX_PATH, reinterpret_cast<LPARAM>(npp_path.data()));
31 return npp_path.data();
32}
33
34bool NppInterface::is_allocate_cmdid_supported() const {
35 return send_msg_to_npp(NPPM_ALLOCATESUPPORTED) != 0;

Callers 1

run_dlg_procMethod · 0.80

Calls 1

dataMethod · 0.80

Tested by

no test coverage detected