master
h 29 lines 587 Bytes
Raw
1 /*++
2
3 Copyright (c) Microsoft. All rights reserved.
4
5 Module Name:
6
7 WSLCSessionManagerFactory.h
8
9 Abstract:
10
11 Contains the definitions for WSLCSessionManagerFactory.
12
13 --*/
14
15 #pragma once
16 #include <wil/resource.h>
17
18 namespace wsl::windows::service::wslc {
19
20 class WSLCSessionManagerFactory : public Microsoft::WRL::ClassFactory<>
21 {
22 public:
23 WSLCSessionManagerFactory() = default;
24
25 STDMETHODIMP CreateInstance(_In_ IUnknown* pUnkOuter, _In_ REFIID riid, _Out_ void** ppCreated) override;
26 };
27
28 void ClearWslcSessionsAndBlockNewInstances();
29 } // namespace wsl::windows::service::wslc