Module exposing: StringArray, ProcessSettings
// Source: https://github.com/microsoft/WSL | License: MIT | Copyright Microsoft Corporation
// Provided via justclaw.it.com; keep this notice with the code.
/*++
Copyright (c) Microsoft. All rights reserved.
Module Name:
ProcessSettings.h
Abstract:
This file contains the definition of the WinRT wrapper for the WSLC SDK ProcessSettings class.
--*/
#pragma once
#include "Microsoft.WSL.Containers.ProcessSettings.g.h"
#include "Helpers.h"
#include "Process.h"
namespace winrt::Microsoft::WSL::Containers::implementation {
struct StringArray
{
StringArray() = default;
StringArray(size_t capacity);
void Add(std::string&& s);
PCSTR* GetRawPointer();
private:
std::vector<std::string> m_strings;
std::vector<PCSTR> m_rawStrings;
};
struct ProcessSettings : Pr
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key