memex
Loading...
Searching...
No Matches
utility.hpp
Go to the documentation of this file.
1#pragma once
2#include <cstdint>
3#include <string_view>
4#include <expected>
5
6#include <memex/error.hpp>
7#include <memex/typed.hpp>
8
13namespace utility
14{
22 std::expected<std::uint32_t, memex::Error> FindPidByName(typed::tstring_view processName);
23}
std::string_view tstring_view
Definition typed.hpp:16
This file contains utility functions for the memex library.
Definition utility.hpp:14
std::expected< std::uint32_t, memex::Error > FindPidByName(typed::tstring_view processName)
Find a process ID using its name.