MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / win_default_runtime_parent

Function win_default_runtime_parent

src/daemon/ipc.c:4707–4712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4705}
4706
4707static wchar_t *win_default_runtime_parent(void) {
4708 wchar_t path[MAX_PATH];
4709 HRESULT result = SHGetFolderPathW(NULL, CSIDL_LOCAL_APPDATA | CSIDL_FLAG_CREATE, NULL,
4710 SHGFP_TYPE_CURRENT, path);
4711 return SUCCEEDED(result) ? wide_copy(path) : NULL;
4712}
4713
4714cbm_daemon_ipc_endpoint_t *cbm_daemon_ipc_endpoint_new(const char *instance_key,
4715 const char *runtime_parent) {

Callers 1

Calls 1

wide_copyFunction · 0.85

Tested by

no test coverage detected