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

Function win_default_runtime_parent

src/daemon/ipc.c:5537–5542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5535}
5536
5537static wchar_t *win_default_runtime_parent(void) {
5538 wchar_t path[MAX_PATH];
5539 HRESULT result = SHGetFolderPathW(NULL, CSIDL_LOCAL_APPDATA | CSIDL_FLAG_CREATE, NULL,
5540 SHGFP_TYPE_CURRENT, path);
5541 return SUCCEEDED(result) ? wide_copy(path) : NULL;
5542}
5543
5544cbm_daemon_ipc_endpoint_t *cbm_daemon_ipc_endpoint_new(const char *instance_key,
5545 const char *runtime_parent) {

Callers 1

Calls 1

wide_copyFunction · 0.85

Tested by

no test coverage detected