Added updated CreateCIM and WVDUtilities binaries

This commit is contained in:
Stephen Kwok 2020-10-04 18:40:33 -07:00
Родитель 0915c17734
Коммит 6d6ee2d287
6 изменённых файлов: 9 добавлений и 9 удалений

Двоичные данные
MsixCore/Dependencies/x64/CreateCIM.dll

Двоичный файл не отображается.

Двоичные данные
MsixCore/Dependencies/x64/CreateCIM.pdb

Двоичный файл не отображается.

Двоичные данные
MsixCore/Dependencies/x64/WVDUtilities.dll Normal file

Двоичный файл не отображается.

Двоичные данные
MsixCore/Dependencies/x64/WVDUtilities.pdb Normal file

Двоичный файл не отображается.

Просмотреть файл

@ -52,7 +52,7 @@ namespace MsixCoreLib
};
HRESULT CreateAndMountVHD(
_In_ const std::wstring vhdFilePath,
_In_ const std::wstring& vhdFilePath,
_In_ ULONGLONG sizeMBs,
_In_ bool isVHD,
_Inout_ std::wstring& driveLetter)
@ -61,7 +61,7 @@ namespace MsixCoreLib
RETURN_IF_FAILED(wvdUtilities.load());
typedef HRESULT(STDMETHODCALLTYPE *CREATEANDMOUNTVHD)(
const std::wstring vhdFilePath,
const std::wstring& vhdFilePath,
ULONGLONG sizeMBs,
bool isVHD,
std::wstring& driveLetter);
@ -76,12 +76,12 @@ namespace MsixCoreLib
}
HRESULT UnmountVHD(
_In_ const std::wstring vhdFilePath)
_In_ const std::wstring& vhdFilePath)
{
WVDUtilitiesDll wvdUtilities;
RETURN_IF_FAILED(wvdUtilities.load());
typedef HRESULT(STDMETHODCALLTYPE *UNMOUNTVHD)(const std::wstring vhdFilePath);
typedef HRESULT(STDMETHODCALLTYPE *UNMOUNTVHD)(const std::wstring& vhdFilePath);
UNMOUNTVHD UnmountVHD =
reinterpret_cast<UNMOUNTVHD>
@ -93,14 +93,14 @@ namespace MsixCoreLib
}
HRESULT MountVHD(
_In_ const std::wstring vhdFilePath,
_In_ const std::wstring& vhdFilePath,
_In_ bool readOnly,
_Inout_ std::wstring& driveLetter)
{
WVDUtilitiesDll wvdUtilities;
RETURN_IF_FAILED(wvdUtilities.load());
typedef HRESULT(STDMETHODCALLTYPE *MOUNTVHD)(const std::wstring vhdFilePath, bool readOnly, std::wstring& driveLetter);
typedef HRESULT(STDMETHODCALLTYPE *MOUNTVHD)(const std::wstring& vhdFilePath, bool readOnly, std::wstring& driveLetter);
MOUNTVHD MountVHD =
reinterpret_cast<MOUNTVHD>

Просмотреть файл

@ -4,16 +4,16 @@
namespace MsixCoreLib
{
HRESULT CreateAndMountVHD(
_In_ const std::wstring vhdFilePath,
_In_ const std::wstring& vhdFilePath,
_In_ ULONGLONG sizeMBs,
_In_ bool isVHD,
_Inout_ std::wstring& driveLetter);
HRESULT UnmountVHD(
_In_ const std::wstring vhdFilePath);
_In_ const std::wstring& vhdFilePath);
HRESULT MountVHD(
_In_ const std::wstring vhdFilePath,
_In_ const std::wstring& vhdFilePath,
_In_ bool readOnly,
_Inout_ std::wstring& driveLetter);
}