Implement CreateNamedPipeA

This commit is contained in:
2025-10-22 23:47:33 -06:00
parent fa3541fe2d
commit 8e532ccf78
12 changed files with 561 additions and 1 deletions

View File

@@ -232,6 +232,15 @@ std::vector<uint16_t> stringToWideString(const char *src, size_t length) {
return res;
}
std::u16string stringToUtf16(std::string_view str) {
std::u16string result;
result.reserve(str.size());
for (unsigned char ch : str) {
result.push_back(static_cast<char16_t>(ch));
}
return result;
}
long wstrtol(const uint16_t *string, uint16_t **end_ptr, int base) {
if (!string) {
if (end_ptr)