Fix the build - we added GetServerHandle to IDeviceComm

This commit is contained in:
Dustin L. Howett 2024-02-21 16:47:14 -06:00
parent d7dc922741
commit 7f5e02a901
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ namespace Microsoft::Console::Host::BinaryLogging
[[nodiscard]] ULONG_PTR PutHandle(const void* handle) override;
[[nodiscard]] void* GetHandle(ULONG_PTR handleId) const override;
void DestroyHandle(ULONG_PTR handleId) override;
[[nodiscard]] virtual HRESULT GetServerHandle(_Out_ HANDLE* pHandle) const { *pHandle = nullptr; return E_FAIL; }
private:
wil::unique_hfile _file;
@ -91,6 +92,7 @@ namespace Microsoft::Console::Host::BinaryLogging
[[nodiscard]] ULONG_PTR PutHandle(const void* handle) override;
[[nodiscard]] void* GetHandle(ULONG_PTR handleId) const override;
void DestroyHandle(ULONG_PTR handleId) override;
[[nodiscard]] virtual HRESULT GetServerHandle(_Out_ HANDLE* pHandle) const { *pHandle = nullptr; return E_FAIL; }
private:
wil::unique_hfile _file;