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

Function win_default_runtime_parent

src/daemon/ipc.c:4359–4364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4357}
4358
4359static wchar_t *win_default_runtime_parent(void) {
4360 wchar_t path[MAX_PATH];
4361 HRESULT result = SHGetFolderPathW(NULL, CSIDL_LOCAL_APPDATA | CSIDL_FLAG_CREATE, NULL,
4362 SHGFP_TYPE_CURRENT, path);
4363 return SUCCEEDED(result) ? wide_copy(path) : NULL;
4364}
4365
4366cbm_daemon_ipc_endpoint_t *cbm_daemon_ipc_endpoint_new(const char *instance_key,
4367 const char *runtime_parent) {

Callers 1

Calls 1

wide_copyFunction · 0.85

Tested by

no test coverage detected