bool ClientImpl::GetResponseData(ResponseHandler const& handler) { if (handler.empty()) { return false; } try { windows_shared_memory shm(open_only, WEASEL_IPC_SHARED_MEMORY, read_only); mapped_region region(shm, read_only, WEASEL_IPC_METADATA_SIZE); return handler((LPWSTR)region.get_address(), WEASEL_IPC_BUFFER_LENGTH); } catch (interprocess_exception& /*ex*/) { return false; } return false; }