mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
Added GUID_UpdateProxy
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Microsoft.Zune.Util
|
||||
Monitor.Enter(sm_lock);
|
||||
if (sm_updateManager == null)
|
||||
{
|
||||
UpdateManager updateManager = new UpdateManager();
|
||||
UpdateManager updateManager = new();
|
||||
Thread.MemoryBarrier();
|
||||
sm_updateManager = updateManager;
|
||||
}
|
||||
@@ -62,7 +62,7 @@ namespace Microsoft.Zune.Util
|
||||
try
|
||||
{
|
||||
Monitor.Enter(sm_lock);
|
||||
if (Module.GetSingleton((_GUID)Module._GUID_9d21716a_ca61_4e24_a1ba_47b9e70e1e2c, (void**)(&ptr)) >= 0)
|
||||
if (Module.GetSingleton(Module.GUID_UpdateProxy, (void**)(&ptr)) >= 0)
|
||||
{
|
||||
m_spUpdateManager.op_Assign(ptr);
|
||||
IUpdateManager* p = m_spUpdateManager.p;
|
||||
@@ -135,7 +135,7 @@ namespace Microsoft.Zune.Util
|
||||
*(long*)(&cComPtrNtv_003CIUpdateManager_003E) = 0L;
|
||||
try
|
||||
{
|
||||
if (Module.GetSingleton((_GUID)Module._GUID_9d21716a_ca61_4e24_a1ba_47b9e70e1e2c, (void**)(&cComPtrNtv_003CIUpdateManager_003E)) >= 0)
|
||||
if (Module.GetSingleton(Module.GUID_UpdateProxy, (void**)(&cComPtrNtv_003CIUpdateManager_003E)) >= 0)
|
||||
{
|
||||
IUpdateManager* ptr4 = (IUpdateManager*)(*(ulong*)(&cComPtrNtv_003CIUpdateManager_003E));
|
||||
m_spUpdateManager.op_Assign((IUpdateManager*)(*(ulong*)(&cComPtrNtv_003CIUpdateManager_003E)));
|
||||
|
||||
@@ -52,6 +52,7 @@ namespace ZuneDBApi
|
||||
internal static readonly _GUID GUID_IZuneNetMessaging = new("bf368f0d-4743-439c-9142-e487c9534104");
|
||||
internal static readonly _GUID GUID_IDownloadManager = new("399f851b-a600-4e88-90c3-03b8f2770076");
|
||||
internal static readonly _GUID GUID_IPassportIdentity = new("655b468c-1224-467d-b720-3bac7f99b6ba");
|
||||
internal static readonly _GUID GUID_UpdateProxy = new("9d21716a-ca61-4e24-a1ba-47b9e70e1e2c");
|
||||
|
||||
internal static void _ZuneShipAssert(uint v1, uint v2)
|
||||
{
|
||||
|
||||
@@ -21,9 +21,7 @@
|
||||
<PackageReference Include="Accessibility" Version="4.6.0-preview3-27504-2" />
|
||||
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
|
||||
<!--<ProjectReference Include="..\UIX\UIX.csproj" />-->
|
||||
<Reference Include="ZuneDBApi">
|
||||
<HintPath>C:\Program Files\Zune\ZuneDBApi.dll</HintPath>
|
||||
</Reference>
|
||||
<ProjectReference Include="..\ZuneDBApi\ZuneDBApi.csproj" />
|
||||
<Reference Include="UIXControls">
|
||||
<HintPath>C:\Program Files\Zune\UIXControls.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
Reference in New Issue
Block a user