mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-10 17:47:59 -06:00
fix build
This commit is contained in:
parent
ec7e236693
commit
4ce8e7e09d
@ -431,6 +431,7 @@ add_subdirectory(src/windows/wslhost)
|
||||
add_subdirectory(src/windows/wslrelay)
|
||||
add_subdirectory(src/windows/wslinstall)
|
||||
add_subdirectory(src/windows/wslaclient)
|
||||
add_subdirectory(src/windows/wslasdk)
|
||||
|
||||
if (WSL_BUILD_WSL_SETTINGS)
|
||||
add_subdirectory(src/windows/libwsl)
|
||||
|
||||
@ -14,18 +14,20 @@ Abstract:
|
||||
|
||||
#include "wsla.h"
|
||||
|
||||
HRESULT WslaCanRun(_Out_ BOOL* canRun)
|
||||
HRESULT WslaCanRun(
|
||||
_Out_ BOOL* canRun)
|
||||
{
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WslaGetVersion(_Out_ WSLA_VERSION* version)
|
||||
HRESULT WslaGetVersion(
|
||||
_Out_ WSLA_VERSION* version)
|
||||
{
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WslaInstallWithDependencies(
|
||||
_In_opt_ __callback progressCallback,
|
||||
_In_opt_ __callback WslaInstallCallback progressCallback,
|
||||
_In_opt_ PVOID context)
|
||||
{
|
||||
return E_NOTIMPL;
|
||||
@ -136,7 +138,7 @@ HRESULT WslaSignalContainerProcess(
|
||||
}
|
||||
|
||||
HRESULT WslaCreateVhd(
|
||||
_In_ const WSLA_CREATE_VHD_OPTIONS* options);
|
||||
_In_ const WSLA_CREATE_VHD_OPTIONS* options)
|
||||
{
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
@ -44,10 +44,10 @@ typedef __callback VOID(CALLBACK WslaInstallCallback)(
|
||||
_In_ WSLA_INSTALL_COMPONENT component,
|
||||
_In_ UINT32 progress,
|
||||
_In_ UINT32 total,
|
||||
_In_opt PVOID context);
|
||||
_In_opt_ PVOID context);
|
||||
|
||||
STDAPI WslaInstallWithDependencies(
|
||||
_In_opt_ __callback progressCallback,
|
||||
_In_opt_ __callback WslaInstallCallback progressCallback,
|
||||
_In_opt_ PVOID context);
|
||||
|
||||
// Session
|
||||
@ -71,11 +71,11 @@ typedef struct WSLA_CREATE_SESSION_OPTIONS
|
||||
PVOID terminationCallbackContext;
|
||||
} WSLA_CREATE_SESSION_OPTIONS;
|
||||
|
||||
DECLARE_HANDLE(WslaSession)
|
||||
DECLARE_HANDLE(WslaSession);
|
||||
|
||||
STDAPI WslaCreateSession(
|
||||
_In_ const WSLA_CREATE_SESSION_OPTIONS* settings,
|
||||
_Out_ WslaSession* sesssion);
|
||||
_Out_ WslaSession* session);
|
||||
|
||||
STDAPI WslaReleaseSession(
|
||||
_In_ WslaSession session);
|
||||
@ -177,9 +177,9 @@ typedef struct WSLA_CONTAINER_PROCESS
|
||||
{
|
||||
UINT32 pid;
|
||||
HANDLE exitEvent;
|
||||
HANDLE stdin;
|
||||
HANDLE stdout;
|
||||
HANDLE stderr;
|
||||
HANDLE stdIn;
|
||||
HANDLE stdOut;
|
||||
HANDLE stdErr;
|
||||
} WSLA_CONTAINER_PROCESS;
|
||||
|
||||
DECLARE_HANDLE(WslaRuntimeContainer);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user