Skip to content

Commit

Permalink
Merge pull request #33 from microsoft/rs4_mount
Browse files Browse the repository at this point in the history
Fix to mounting on RS4 (ProjFS beta API).
  • Loading branch information
cgallred authored Jun 5, 2019
2 parents 2bfb802 + dc5493a commit e6bed5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ProjectedFSLib.Managed.API/VirtualizationInstance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,8 @@ HResult VirtualizationInstance::StartVirtualizing(IRequiredCallbacks^ requiredCa
pin_ptr<const WCHAR> rootPath = PtrToStringChars(m_virtualizationRootPath);

// Use a temp location to avoid e0158.
auto tempHandle = reinterpret_cast<PRJ_VIRTUALIZATIONINSTANCE_HANDLE>(m_virtualizationContext);
pin_ptr<PRJ_VIRTUALIZATIONINSTANCE_HANDLE> instanceHandle = &tempHandle;
pin_ptr<PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT> tempHandle = &(m_virtualizationContext);
auto instanceHandle = reinterpret_cast<PRJ_VIRTUALIZATIONINSTANCE_HANDLE*>(tempHandle);

VIRTUALIZATION_INST_EXTENDED_PARAMETERS extendedParameters;
memset(&extendedParameters, 0, sizeof(VIRTUALIZATION_INST_EXTENDED_PARAMETERS));
Expand Down

0 comments on commit e6bed5f

Please sign in to comment.