| 5535 | } |
| 5536 | |
| 5537 | static 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 | |
| 5544 | cbm_daemon_ipc_endpoint_t *cbm_daemon_ipc_endpoint_new(const char *instance_key, |
| 5545 | const char *runtime_parent) { |
no test coverage detected