mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
Began implementing ZuneDBApi.Module
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -13,14 +13,14 @@ namespace Microsoft.Zune.Configuration
|
||||
global::IFileAssociationHandler* ptr = null;
|
||||
try
|
||||
{
|
||||
int num = _003CModule_003E.ZuneLibraryExports_002ECreateNativeFileAssociationHandler((void**)(&ptr));
|
||||
int num = Module.ZuneLibraryExports_002ECreateNativeFileAssociationHandler((void**)(&ptr));
|
||||
if (num >= 0)
|
||||
{
|
||||
fileAssociationHandlerWrapper = new FileAssociationHandlerWrapper(ptr);
|
||||
ptr = null;
|
||||
return fileAssociationHandlerWrapper;
|
||||
}
|
||||
throw new ApplicationException(_003CModule_003E.GetErrorDescription(num));
|
||||
throw new ApplicationException(Module.GetErrorDescription(num));
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
@@ -36,15 +36,15 @@ namespace Microsoft.Zune.Configuration
|
||||
int num2 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, global::FileAssociationInfo*, uint*, int>)(*(ulong*)(*(long*)pFileAssociationHandler + 24)))((nint)pFileAssociationHandler, null, &num);
|
||||
if (num2 >= 0)
|
||||
{
|
||||
ptr = (global::FileAssociationInfo*)_003CModule_003E.new_005B_005D((ulong)num * 32uL);
|
||||
ptr = (global::FileAssociationInfo*)Module.new_005B_005D((ulong)num * 32uL);
|
||||
if (ptr == null)
|
||||
{
|
||||
num2 = -2147024882;
|
||||
}
|
||||
else
|
||||
{
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlock(ptr, 0, (long)num * 32L);
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlock(ptr, 0, (long)num * 32L);
|
||||
pFileAssociationHandler = m_pFileAssociationHandler;
|
||||
num2 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, global::FileAssociationInfo*, uint*, int>)(*(ulong*)(*(long*)pFileAssociationHandler + 24)))((nint)pFileAssociationHandler, ptr, &num);
|
||||
if (num2 >= 0)
|
||||
@@ -74,7 +74,7 @@ namespace Microsoft.Zune.Configuration
|
||||
//IL_0039: Expected I, but got I8
|
||||
//IL_005f: Expected I, but got I8
|
||||
uint count = (uint)fileAssociationInfoList.Count;
|
||||
global::FileAssociationInfo* ptr = (global::FileAssociationInfo*)_003CModule_003E.new_005B_005D((ulong)count * 32uL);
|
||||
global::FileAssociationInfo* ptr = (global::FileAssociationInfo*)Module.new_005B_005D((ulong)count * 32uL);
|
||||
int num;
|
||||
if (ptr == null)
|
||||
{
|
||||
@@ -132,15 +132,18 @@ namespace Microsoft.Zune.Configuration
|
||||
//IL_002c: Expected I8, but got I
|
||||
//IL_0037: Expected I8, but got I
|
||||
//IL_0045: Expected I8, but got I
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(fileAssocInfo.Extension)))
|
||||
fixed (char* fileAssocInfo.ExtensionPtr = fileAssocInfo.Extension.ToCharArray())
|
||||
{
|
||||
fixed (ushort* ptr2 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(fileAssocInfo.ProgId)))
|
||||
ushort* ptr = (ushort*)fileAssocInfo.ExtensionPtr;
|
||||
fixed (char* fileAssocInfo.ProgIdPtr = fileAssocInfo.ProgId.ToCharArray())
|
||||
{
|
||||
fixed (ushort* ptr3 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(fileAssocInfo.Description)))
|
||||
ushort* ptr2 = (ushort*)fileAssocInfo.ProgIdPtr;
|
||||
fixed (char* fileAssocInfo.DescriptionPtr = fileAssocInfo.Description.ToCharArray())
|
||||
{
|
||||
*(long*)pFileAssocInfo = (nint)_003CModule_003E.SysAllocString(ptr);
|
||||
*(long*)((ulong)(nint)pFileAssocInfo + 8uL) = (nint)_003CModule_003E.SysAllocString(ptr2);
|
||||
ushort* ptr4 = _003CModule_003E.SysAllocString(ptr3);
|
||||
ushort* ptr3 = (ushort*)fileAssocInfo.DescriptionPtr;
|
||||
*(long*)pFileAssocInfo = (nint)Module.SysAllocString(ptr);
|
||||
*(long*)((ulong)(nint)pFileAssocInfo + 8uL) = (nint)Module.SysAllocString(ptr2);
|
||||
ushort* ptr4 = Module.SysAllocString(ptr3);
|
||||
*(long*)((ulong)(nint)pFileAssocInfo + 16uL) = (nint)ptr4;
|
||||
*(int*)((ulong)(nint)pFileAssocInfo + 24uL) = (fileAssocInfo.IsCurrentlyOwned ? 1 : 0);
|
||||
if (*(long*)pFileAssocInfo != 0L && *(long*)((ulong)(nint)pFileAssocInfo + 8uL) != 0L && ptr4 != null)
|
||||
@@ -173,24 +176,24 @@ namespace Microsoft.Zune.Configuration
|
||||
long num2 = *(long*)((ulong)(nint)ptr - 16uL);
|
||||
if (num2 != 0L)
|
||||
{
|
||||
_003CModule_003E.SysFreeString((ushort*)num2);
|
||||
Module.SysFreeString((ushort*)num2);
|
||||
}
|
||||
long num3 = *(long*)((ulong)(nint)ptr - 8uL);
|
||||
if (num3 != 0L)
|
||||
{
|
||||
_003CModule_003E.SysFreeString((ushort*)num3);
|
||||
Module.SysFreeString((ushort*)num3);
|
||||
}
|
||||
ulong num4 = *(ulong*)ptr;
|
||||
if (num4 != 0L)
|
||||
{
|
||||
_003CModule_003E.SysFreeString((ushort*)num4);
|
||||
Module.SysFreeString((ushort*)num4);
|
||||
}
|
||||
ptr = (global::FileAssociationInfo*)((ulong)(nint)ptr + 32uL);
|
||||
num += uint.MaxValue;
|
||||
}
|
||||
while (num != 0);
|
||||
}
|
||||
_003CModule_003E.delete_005B_005D(rgFileInfo);
|
||||
Module.delete_005B_005D(rgFileInfo);
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace Microsoft.Zune.Configuration
|
||||
//IL_0034: Expected I, but got I8
|
||||
IService* ptr = null;
|
||||
int num = 0;
|
||||
if (_003CModule_003E.GetSingleton((_GUID)_003CModule_003E._GUID_bb2d1edd_1bd5_4be1_8d38_36d4f0849911, (void**)(&ptr)) >= 0)
|
||||
if (Module.GetSingleton((_GUID)Module._GUID_bb2d1edd_1bd5_4be1_8d38_36d4f0849911, (void**)(&ptr)) >= 0)
|
||||
{
|
||||
IService* intPtr = ptr;
|
||||
num = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, int>)(*(ulong*)(*(long*)intPtr + 200)))((nint)intPtr);
|
||||
@@ -107,17 +107,17 @@ namespace Microsoft.Zune.Configuration
|
||||
//IL_0077: Expected I, but got I8
|
||||
//IL_007b: Expected I, but got I8
|
||||
IService* ptr = null;
|
||||
int singleton = _003CModule_003E.GetSingleton((_GUID)_003CModule_003E._GUID_bb2d1edd_1bd5_4be1_8d38_36d4f0849911, (void**)(&ptr));
|
||||
RefreshCallback* ptr2 = (RefreshCallback*)_003CModule_003E.@new(24uL);
|
||||
int singleton = Module.GetSingleton((_GUID)Module._GUID_bb2d1edd_1bd5_4be1_8d38_36d4f0849911, (void**)(&ptr));
|
||||
RefreshCallback* ptr2 = (RefreshCallback*)Module.@new(24uL);
|
||||
RefreshCallback* ptr3;
|
||||
try
|
||||
{
|
||||
ptr3 = ((ptr2 == null) ? null : _003CModule_003E.Microsoft_002EZune_002EConfiguration_002ERefreshCallback_002E_007Bctor_007D(ptr2, this));
|
||||
ptr3 = ((ptr2 == null) ? null : Module.Microsoft_002EZune_002EConfiguration_002ERefreshCallback_002E_007Bctor_007D(ptr2, this));
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.delete(ptr2);
|
||||
Module.delete(ptr2);
|
||||
throw;
|
||||
}
|
||||
singleton = (((long)(nint)ptr3 == 0) ? (-2147024882) : singleton);
|
||||
@@ -136,9 +136,9 @@ namespace Microsoft.Zune.Configuration
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)intPtr2 + 16)))((nint)intPtr2);
|
||||
ptr = null;
|
||||
}
|
||||
if (singleton < 0 && _003CModule_003E.WPP_GLOBAL_Control != System.Runtime.CompilerServices.Unsafe.AsPointer(ref _003CModule_003E.WPP_GLOBAL_Control) && ((uint)(*(int*)((ulong)(nint)_003CModule_003E.WPP_GLOBAL_Control + 156uL)) & (true ? 1u : 0u)) != 0 && (uint)(*(byte*)((ulong)(nint)_003CModule_003E.WPP_GLOBAL_Control + 153uL)) >= 5u)
|
||||
if (singleton < 0 && Module.WPP_GLOBAL_Control != Unsafe.AsPointer(ref Module.WPP_GLOBAL_Control) && ((uint)(*(int*)((ulong)(nint)Module.WPP_GLOBAL_Control + 156uL)) & (true ? 1u : 0u)) != 0 && (uint)(*(byte*)((ulong)(nint)Module.WPP_GLOBAL_Control + 153uL)) >= 5u)
|
||||
{
|
||||
_003CModule_003E.WPP_SF_D(*(ulong*)((ulong)(nint)_003CModule_003E.WPP_GLOBAL_Control + 144uL), 10, (_GUID*)System.Runtime.CompilerServices.Unsafe.AsPointer(ref _003CModule_003E._003FA0x2af74624_002EWPP_RegisteredDevicesApi_cpp_Traceguids), (uint)singleton);
|
||||
Module.WPP_SF_D(*(ulong*)((ulong)(nint)Module.WPP_GLOBAL_Control + 144uL), 10, (_GUID*)Unsafe.AsPointer(ref Module._003FA0x2af74624_002EWPP_RegisteredDevicesApi_cpp_Traceguids), (uint)singleton);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -150,24 +150,25 @@ namespace Microsoft.Zune.Configuration
|
||||
//IL_0090: Expected I, but got I8
|
||||
//IL_0094: Expected I, but got I8
|
||||
IService* ptr = null;
|
||||
int singleton = _003CModule_003E.GetSingleton((_GUID)_003CModule_003E._GUID_bb2d1edd_1bd5_4be1_8d38_36d4f0849911, (void**)(&ptr));
|
||||
DeregisterCallback* ptr2 = (DeregisterCallback*)_003CModule_003E.@new(24uL);
|
||||
int singleton = Module.GetSingleton((_GUID)Module._GUID_bb2d1edd_1bd5_4be1_8d38_36d4f0849911, (void**)(&ptr));
|
||||
DeregisterCallback* ptr2 = (DeregisterCallback*)Module.@new(24uL);
|
||||
DeregisterCallback* ptr3;
|
||||
try
|
||||
{
|
||||
ptr3 = ((ptr2 == null) ? null : _003CModule_003E.Microsoft_002EZune_002EConfiguration_002EDeregisterCallback_002E_007Bctor_007D(ptr2, this));
|
||||
ptr3 = ((ptr2 == null) ? null : Module.Microsoft_002EZune_002EConfiguration_002EDeregisterCallback_002E_007Bctor_007D(ptr2, this));
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.delete(ptr2);
|
||||
Module.delete(ptr2);
|
||||
throw;
|
||||
}
|
||||
singleton = (((long)(nint)ptr3 == 0) ? (-2147024882) : singleton);
|
||||
if (singleton >= 0)
|
||||
{
|
||||
fixed (ushort* ptr4 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(info.m_tunerId)))
|
||||
fixed (char* info.m_tunerIdPtr = info.m_tunerId.ToCharArray())
|
||||
{
|
||||
ushort* ptr4 = (ushort*)info.m_tunerIdPtr;
|
||||
try
|
||||
{
|
||||
long num = *(long*)ptr + 560;
|
||||
@@ -191,9 +192,9 @@ namespace Microsoft.Zune.Configuration
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)intPtr2 + 16)))((nint)intPtr2);
|
||||
ptr = null;
|
||||
}
|
||||
if (singleton < 0 && _003CModule_003E.WPP_GLOBAL_Control != System.Runtime.CompilerServices.Unsafe.AsPointer(ref _003CModule_003E.WPP_GLOBAL_Control) && ((uint)(*(int*)((ulong)(nint)_003CModule_003E.WPP_GLOBAL_Control + 156uL)) & (true ? 1u : 0u)) != 0 && (uint)(*(byte*)((ulong)(nint)_003CModule_003E.WPP_GLOBAL_Control + 153uL)) >= 5u)
|
||||
if (singleton < 0 && Module.WPP_GLOBAL_Control != Unsafe.AsPointer(ref Module.WPP_GLOBAL_Control) && ((uint)(*(int*)((ulong)(nint)Module.WPP_GLOBAL_Control + 156uL)) & (true ? 1u : 0u)) != 0 && (uint)(*(byte*)((ulong)(nint)Module.WPP_GLOBAL_Control + 153uL)) >= 5u)
|
||||
{
|
||||
_003CModule_003E.WPP_SF_D(*(ulong*)((ulong)(nint)_003CModule_003E.WPP_GLOBAL_Control + 144uL), 11, (_GUID*)System.Runtime.CompilerServices.Unsafe.AsPointer(ref _003CModule_003E._003FA0x2af74624_002EWPP_RegisteredDevicesApi_cpp_Traceguids), (uint)singleton);
|
||||
Module.WPP_SF_D(*(ulong*)((ulong)(nint)Module.WPP_GLOBAL_Control + 144uL), 11, (_GUID*)Unsafe.AsPointer(ref Module._003FA0x2af74624_002EWPP_RegisteredDevicesApi_cpp_Traceguids), (uint)singleton);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -296,11 +297,12 @@ namespace Microsoft.Zune.Configuration
|
||||
}
|
||||
do
|
||||
{
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(list[num].m_tunerId)))
|
||||
fixed (char* list[num].m_tunerIdPtr = list[num].m_tunerId.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)list[num].m_tunerIdPtr;
|
||||
try
|
||||
{
|
||||
if (2 == _003CModule_003E.CompareStringW(1033u, 1u, pwszTunerId, -1, ptr, -1))
|
||||
if (2 == Module.CompareStringW(1033u, 1u, pwszTunerId, -1, ptr, -1))
|
||||
{
|
||||
goto IL_0076;
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Microsoft.Zune.ErrorMapperApi
|
||||
ushort* ptr = null;
|
||||
ushort* ptr2 = null;
|
||||
int hr = 0;
|
||||
if (_003CModule_003E.ZuneLibraryExports_002EGetMappedErrorDescriptionAndUrl(hrOrig, eCondition, &hr, &ptr, &ptr2) < 0)
|
||||
if (Module.ZuneLibraryExports_002EGetMappedErrorDescriptionAndUrl(hrOrig, eCondition, &hr, &ptr, &ptr2) < 0)
|
||||
{
|
||||
errorMapperResult.Hr = hrOrig;
|
||||
errorMapperResult.Description = "";
|
||||
@@ -22,8 +22,8 @@ namespace Microsoft.Zune.ErrorMapperApi
|
||||
errorMapperResult.Description = new string((char*)ptr);
|
||||
errorMapperResult.WebHelpUrl = new string((char*)ptr2);
|
||||
}
|
||||
_003CModule_003E.SysFreeString(ptr);
|
||||
_003CModule_003E.SysFreeString(ptr2);
|
||||
Module.SysFreeString(ptr);
|
||||
Module.SysFreeString(ptr2);
|
||||
return errorMapperResult;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace Microsoft.Zune.Messaging
|
||||
{
|
||||
if (OnComposeCompletedInternal == null)
|
||||
{
|
||||
_003CModule_003E.Microsoft_002EZune_002EMessaging_002EMessagingSubscriber_002ESubscribe(m_pMessagingSubscriber, (EZuneNetMessagingEventType)2);
|
||||
Module.Microsoft_002EZune_002EMessaging_002EMessagingSubscriber_002ESubscribe(m_pMessagingSubscriber, (EZuneNetMessagingEventType)2);
|
||||
}
|
||||
OnComposeCompletedInternal = (ComposeCompletedHandler)Delegate.Combine(OnComposeCompletedInternal, value);
|
||||
}
|
||||
@@ -29,7 +29,7 @@ namespace Microsoft.Zune.Messaging
|
||||
{
|
||||
if ((OnComposeCompletedInternal = (ComposeCompletedHandler)Delegate.Remove(OnComposeCompletedInternal, value)) == null)
|
||||
{
|
||||
_003CModule_003E.Microsoft_002EZune_002EMessaging_002EMessagingSubscriber_002EUnsubscribe(m_pMessagingSubscriber, (EZuneNetMessagingEventType)2);
|
||||
Module.Microsoft_002EZune_002EMessaging_002EMessagingSubscriber_002EUnsubscribe(m_pMessagingSubscriber, (EZuneNetMessagingEventType)2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -41,7 +41,7 @@ namespace Microsoft.Zune.Messaging
|
||||
{
|
||||
if (OnDeviceMessagesPostedInternal == null)
|
||||
{
|
||||
_003CModule_003E.Microsoft_002EZune_002EMessaging_002EMessagingSubscriber_002ESubscribe(m_pMessagingSubscriber, (EZuneNetMessagingEventType)1);
|
||||
Module.Microsoft_002EZune_002EMessaging_002EMessagingSubscriber_002ESubscribe(m_pMessagingSubscriber, (EZuneNetMessagingEventType)1);
|
||||
}
|
||||
OnDeviceMessagesPostedInternal = (DeviceItemsPostedHandler)Delegate.Combine(OnDeviceMessagesPostedInternal, value);
|
||||
}
|
||||
@@ -49,7 +49,7 @@ namespace Microsoft.Zune.Messaging
|
||||
{
|
||||
if ((OnDeviceMessagesPostedInternal = (DeviceItemsPostedHandler)Delegate.Remove(OnDeviceMessagesPostedInternal, value)) == null)
|
||||
{
|
||||
_003CModule_003E.Microsoft_002EZune_002EMessaging_002EMessagingSubscriber_002EUnsubscribe(m_pMessagingSubscriber, (EZuneNetMessagingEventType)1);
|
||||
Module.Microsoft_002EZune_002EMessaging_002EMessagingSubscriber_002EUnsubscribe(m_pMessagingSubscriber, (EZuneNetMessagingEventType)1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -61,7 +61,7 @@ namespace Microsoft.Zune.Messaging
|
||||
{
|
||||
if (OnDeviceCartItemsPostedInternal == null)
|
||||
{
|
||||
_003CModule_003E.Microsoft_002EZune_002EMessaging_002EMessagingSubscriber_002ESubscribe(m_pMessagingSubscriber, (EZuneNetMessagingEventType)3);
|
||||
Module.Microsoft_002EZune_002EMessaging_002EMessagingSubscriber_002ESubscribe(m_pMessagingSubscriber, (EZuneNetMessagingEventType)3);
|
||||
}
|
||||
OnDeviceCartItemsPostedInternal = (DeviceItemsPostedHandler)Delegate.Combine(OnDeviceCartItemsPostedInternal, value);
|
||||
}
|
||||
@@ -69,7 +69,7 @@ namespace Microsoft.Zune.Messaging
|
||||
{
|
||||
if ((OnDeviceCartItemsPostedInternal = (DeviceItemsPostedHandler)Delegate.Remove(OnDeviceCartItemsPostedInternal, value)) == null)
|
||||
{
|
||||
_003CModule_003E.Microsoft_002EZune_002EMessaging_002EMessagingSubscriber_002EUnsubscribe(m_pMessagingSubscriber, (EZuneNetMessagingEventType)3);
|
||||
Module.Microsoft_002EZune_002EMessaging_002EMessagingSubscriber_002EUnsubscribe(m_pMessagingSubscriber, (EZuneNetMessagingEventType)3);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -78,16 +78,16 @@ namespace Microsoft.Zune.Messaging
|
||||
{
|
||||
//IL_001f: Expected I, but got I8
|
||||
//IL_003b: Expected I, but got I8
|
||||
MessagingSubscriber* ptr = (MessagingSubscriber*)_003CModule_003E.@new(24uL);
|
||||
MessagingSubscriber* ptr = (MessagingSubscriber*)Module.@new(24uL);
|
||||
MessagingSubscriber* ptr2;
|
||||
try
|
||||
{
|
||||
ptr2 = ((ptr == null) ? null : _003CModule_003E.Microsoft_002EZune_002EMessaging_002EMessagingSubscriber_002E_007Bctor_007D(ptr, this));
|
||||
ptr2 = ((ptr == null) ? null : Module.Microsoft_002EZune_002EMessaging_002EMessagingSubscriber_002E_007Bctor_007D(ptr, this));
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.delete(ptr);
|
||||
Module.delete(ptr);
|
||||
throw;
|
||||
}
|
||||
m_pMessagingSubscriber = ptr2;
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace Microsoft.Zune.Messaging
|
||||
//IL_0008: Expected I, but got I8
|
||||
//IL_0011: Expected I, but got I8
|
||||
IZuneNetMessaging* pMessaging = null;
|
||||
if (_003CModule_003E.GetSingleton((_GUID)_003CModule_003E._GUID_bf368f0d_4743_439c_9142_e487c9534104, (void**)(&pMessaging)) >= 0)
|
||||
if (Module.GetSingleton((_GUID)Module._GUID_bf368f0d_4743_439c_9142_e487c9534104, (void**)(&pMessaging)) >= 0)
|
||||
{
|
||||
m_pMessaging = pMessaging;
|
||||
}
|
||||
@@ -67,8 +67,9 @@ namespace Microsoft.Zune.Messaging
|
||||
bool result = false;
|
||||
if (m_pMessaging != null)
|
||||
{
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strMessageUrl)))
|
||||
fixed (char* strMessageUrlPtr = strMessageUrl.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)strMessageUrlPtr;
|
||||
try
|
||||
{
|
||||
long num = *(long*)m_pMessaging + 24;
|
||||
@@ -93,8 +94,9 @@ namespace Microsoft.Zune.Messaging
|
||||
bool result = false;
|
||||
if (m_pMessaging != null)
|
||||
{
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strMessageUrl)))
|
||||
fixed (char* strMessageUrlPtr = strMessageUrl.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)strMessageUrlPtr;
|
||||
try
|
||||
{
|
||||
long num = *(long*)m_pMessaging + 32;
|
||||
@@ -119,8 +121,9 @@ namespace Microsoft.Zune.Messaging
|
||||
bool result = false;
|
||||
if (m_pMessaging != null)
|
||||
{
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strPostUrl)))
|
||||
fixed (char* strPostUrlPtr = strPostUrl.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)strPostUrlPtr;
|
||||
try
|
||||
{
|
||||
long num = *(long*)m_pMessaging + 40;
|
||||
@@ -145,8 +148,9 @@ namespace Microsoft.Zune.Messaging
|
||||
bool result = false;
|
||||
if (m_pMessaging != null)
|
||||
{
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strPostUrl)))
|
||||
fixed (char* strPostUrlPtr = strPostUrl.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)strPostUrlPtr;
|
||||
try
|
||||
{
|
||||
long num = *(long*)m_pMessaging + 48;
|
||||
@@ -171,12 +175,14 @@ namespace Microsoft.Zune.Messaging
|
||||
bool result = false;
|
||||
if (m_pMessaging != null)
|
||||
{
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strPostUrl)))
|
||||
fixed (char* strPostUrlPtr = strPostUrl.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)strPostUrlPtr;
|
||||
try
|
||||
{
|
||||
fixed (ushort* ptr2 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strZuneTag)))
|
||||
fixed (char* strZuneTagPtr = strZuneTag.ToCharArray())
|
||||
{
|
||||
ushort* ptr2 = (ushort*)strZuneTagPtr;
|
||||
try
|
||||
{
|
||||
long num = *(long*)m_pMessaging + 56;
|
||||
@@ -217,22 +223,25 @@ namespace Microsoft.Zune.Messaging
|
||||
int num;
|
||||
if (callback != null)
|
||||
{
|
||||
num = _003CModule_003E.Microsoft_002EZune_002EMessaging_002EAddCommentCallbackWrapper_002ECreateInstance(callback, (IMessagingCallback**)(&cComPtrNtv_003CIMessagingCallback_003E));
|
||||
num = Module.Microsoft_002EZune_002EMessaging_002EAddCommentCallbackWrapper_002ECreateInstance(callback, (IMessagingCallback**)(&cComPtrNtv_003CIMessagingCallback_003E));
|
||||
if (num < 0)
|
||||
{
|
||||
goto IL_0086;
|
||||
}
|
||||
}
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strPostUrl)))
|
||||
fixed (char* strPostUrlPtr = strPostUrl.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)strPostUrlPtr;
|
||||
try
|
||||
{
|
||||
fixed (ushort* ptr2 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strZuneTag)))
|
||||
fixed (char* strZuneTagPtr = strZuneTag.ToCharArray())
|
||||
{
|
||||
ushort* ptr2 = (ushort*)strZuneTagPtr;
|
||||
try
|
||||
{
|
||||
fixed (ushort* ptr3 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strMessage)))
|
||||
fixed (char* strMessagePtr = strMessage.ToCharArray())
|
||||
{
|
||||
ushort* ptr3 = (ushort*)strMessagePtr;
|
||||
try
|
||||
{
|
||||
long num2 = *(long*)m_pMessaging + 112;
|
||||
@@ -283,10 +292,10 @@ namespace Microsoft.Zune.Messaging
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIMessagingCallback_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIMessagingCallback_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIMessagingCallback_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIMessagingCallback_003E*, void>)(&Module.CComPtrNtv_003CIMessagingCallback_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIMessagingCallback_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIMessagingCallback_003E_002ERelease(&cComPtrNtv_003CIMessagingCallback_003E);
|
||||
Module.CComPtrNtv_003CIMessagingCallback_003E_002ERelease(&cComPtrNtv_003CIMessagingCallback_003E);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
@@ -306,18 +315,20 @@ namespace Microsoft.Zune.Messaging
|
||||
int num;
|
||||
if (callback != null)
|
||||
{
|
||||
num = _003CModule_003E.Microsoft_002EZune_002EMessaging_002EMessagingCallbackWrapper_002ECreateInstance(callback, null, (IMessagingCallback**)(&cComPtrNtv_003CIMessagingCallback_003E));
|
||||
num = Module.Microsoft_002EZune_002EMessaging_002EMessagingCallbackWrapper_002ECreateInstance(callback, null, (IMessagingCallback**)(&cComPtrNtv_003CIMessagingCallback_003E));
|
||||
if (num < 0)
|
||||
{
|
||||
goto IL_0073;
|
||||
}
|
||||
}
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strPostUrl)))
|
||||
fixed (char* strPostUrlPtr = strPostUrl.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)strPostUrlPtr;
|
||||
try
|
||||
{
|
||||
fixed (ushort* ptr2 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strZuneTag)))
|
||||
fixed (char* strZuneTagPtr = strZuneTag.ToCharArray())
|
||||
{
|
||||
ushort* ptr2 = (ushort*)strZuneTagPtr;
|
||||
try
|
||||
{
|
||||
long num2 = *(long*)m_pMessaging + 120;
|
||||
@@ -359,10 +370,10 @@ namespace Microsoft.Zune.Messaging
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIMessagingCallback_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIMessagingCallback_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIMessagingCallback_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIMessagingCallback_003E*, void>)(&Module.CComPtrNtv_003CIMessagingCallback_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIMessagingCallback_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIMessagingCallback_003E_002ERelease(&cComPtrNtv_003CIMessagingCallback_003E);
|
||||
Module.CComPtrNtv_003CIMessagingCallback_003E_002ERelease(&cComPtrNtv_003CIMessagingCallback_003E);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
@@ -386,24 +397,28 @@ namespace Microsoft.Zune.Messaging
|
||||
{
|
||||
if (callback != null)
|
||||
{
|
||||
num = _003CModule_003E.Microsoft_002EZune_002EMessaging_002EMessagingCallbackWrapper_002ECreateInstance(callback, state, &ptr2);
|
||||
num = Module.Microsoft_002EZune_002EMessaging_002EMessagingCallbackWrapper_002ECreateInstance(callback, state, &ptr2);
|
||||
}
|
||||
if (num >= 0)
|
||||
{
|
||||
fixed (ushort* ptr3 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strPostUrl)))
|
||||
fixed (char* strPostUrlPtr = strPostUrl.ToCharArray())
|
||||
{
|
||||
ushort* ptr3 = (ushort*)strPostUrlPtr;
|
||||
try
|
||||
{
|
||||
fixed (ushort* ptr4 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strMessage)))
|
||||
fixed (char* strMessagePtr = strMessage.ToCharArray())
|
||||
{
|
||||
ushort* ptr4 = (ushort*)strMessagePtr;
|
||||
try
|
||||
{
|
||||
fixed (ushort* ptr5 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strRecipientZuneTags)))
|
||||
fixed (char* strRecipientZuneTagsPtr = strRecipientZuneTags.ToCharArray())
|
||||
{
|
||||
ushort* ptr5 = (ushort*)strRecipientZuneTagsPtr;
|
||||
try
|
||||
{
|
||||
fixed (ushort* ptr6 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strRequestType)))
|
||||
fixed (char* strRequestTypePtr = strRequestType.ToCharArray())
|
||||
{
|
||||
ushort* ptr6 = (ushort*)strRequestTypePtr;
|
||||
try
|
||||
{
|
||||
long num2 = *(long*)m_pMessaging + 64;
|
||||
@@ -485,18 +500,20 @@ namespace Microsoft.Zune.Messaging
|
||||
int num;
|
||||
if (callback != null)
|
||||
{
|
||||
num = _003CModule_003E.Microsoft_002EZune_002EMessaging_002EMessagingCallbackWrapper_002ECreateInstance(callback, state, (IMessagingCallback**)(&cComPtrNtv_003CIMessagingCallback_003E));
|
||||
num = Module.Microsoft_002EZune_002EMessaging_002EMessagingCallbackWrapper_002ECreateInstance(callback, state, (IMessagingCallback**)(&cComPtrNtv_003CIMessagingCallback_003E));
|
||||
if (num < 0)
|
||||
{
|
||||
goto IL_0074;
|
||||
}
|
||||
}
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strPostUrl)))
|
||||
fixed (char* strPostUrlPtr = strPostUrl.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)strPostUrlPtr;
|
||||
try
|
||||
{
|
||||
fixed (ushort* ptr2 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strMessage)))
|
||||
fixed (char* strMessagePtr = strMessage.ToCharArray())
|
||||
{
|
||||
ushort* ptr2 = (ushort*)strMessagePtr;
|
||||
try
|
||||
{
|
||||
long num2 = *(long*)m_pMessaging + 72;
|
||||
@@ -538,10 +555,10 @@ namespace Microsoft.Zune.Messaging
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIMessagingCallback_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIMessagingCallback_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIMessagingCallback_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIMessagingCallback_003E*, void>)(&Module.CComPtrNtv_003CIMessagingCallback_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIMessagingCallback_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIMessagingCallback_003E_002ERelease(&cComPtrNtv_003CIMessagingCallback_003E);
|
||||
Module.CComPtrNtv_003CIMessagingCallback_003E_002ERelease(&cComPtrNtv_003CIMessagingCallback_003E);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
@@ -561,18 +578,20 @@ namespace Microsoft.Zune.Messaging
|
||||
int num;
|
||||
if (callback != null)
|
||||
{
|
||||
num = _003CModule_003E.Microsoft_002EZune_002EMessaging_002EMessagingCallbackWrapper_002ECreateInstance(callback, state, &ptr);
|
||||
num = Module.Microsoft_002EZune_002EMessaging_002EMessagingCallbackWrapper_002ECreateInstance(callback, state, &ptr);
|
||||
if (num < 0)
|
||||
{
|
||||
goto IL_0074;
|
||||
}
|
||||
}
|
||||
fixed (ushort* ptr2 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strFavoritesUrl)))
|
||||
fixed (char* strFavoritesUrlPtr = strFavoritesUrl.ToCharArray())
|
||||
{
|
||||
ushort* ptr2 = (ushort*)strFavoritesUrlPtr;
|
||||
try
|
||||
{
|
||||
fixed (ushort* ptr3 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strInstructions)))
|
||||
fixed (char* strInstructionsPtr = strInstructions.ToCharArray())
|
||||
{
|
||||
ushort* ptr3 = (ushort*)strInstructionsPtr;
|
||||
try
|
||||
{
|
||||
long num2 = *(long*)m_pMessaging + 80;
|
||||
@@ -635,18 +654,20 @@ namespace Microsoft.Zune.Messaging
|
||||
int num;
|
||||
if (callback != null)
|
||||
{
|
||||
num = _003CModule_003E.Microsoft_002EZune_002EMessaging_002EMessagingCallbackWrapper_002ECreateInstance(callback, state, &ptr);
|
||||
num = Module.Microsoft_002EZune_002EMessaging_002EMessagingCallbackWrapper_002ECreateInstance(callback, state, &ptr);
|
||||
if (num < 0)
|
||||
{
|
||||
goto IL_0071;
|
||||
}
|
||||
}
|
||||
fixed (ushort* ptr2 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strProfileUrl)))
|
||||
fixed (char* strProfileUrlPtr = strProfileUrl.ToCharArray())
|
||||
{
|
||||
ushort* ptr2 = (ushort*)strProfileUrlPtr;
|
||||
try
|
||||
{
|
||||
fixed (ushort* ptr3 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strFieldValue)))
|
||||
fixed (char* strFieldValuePtr = strFieldValue.ToCharArray())
|
||||
{
|
||||
ushort* ptr3 = (ushort*)strFieldValuePtr;
|
||||
try
|
||||
{
|
||||
long num2 = *(long*)m_pMessaging + 88;
|
||||
@@ -709,18 +730,20 @@ namespace Microsoft.Zune.Messaging
|
||||
int num;
|
||||
if (callback != null)
|
||||
{
|
||||
num = _003CModule_003E.Microsoft_002EZune_002EMessaging_002EMessagingCallbackWrapper_002ECreateInstance(callback, state, (IMessagingCallback**)(&cComPtrNtv_003CIMessagingCallback_003E));
|
||||
num = Module.Microsoft_002EZune_002EMessaging_002EMessagingCallbackWrapper_002ECreateInstance(callback, state, (IMessagingCallback**)(&cComPtrNtv_003CIMessagingCallback_003E));
|
||||
if (num < 0)
|
||||
{
|
||||
goto IL_008c;
|
||||
}
|
||||
}
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strProfileImageUrl)))
|
||||
fixed (char* strProfileImageUrlPtr = strProfileImageUrl.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)strProfileImageUrlPtr;
|
||||
try
|
||||
{
|
||||
fixed (ushort* ptr2 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strProfileImageResource)))
|
||||
fixed (char* strProfileImageResourcePtr = strProfileImageResource.ToCharArray())
|
||||
{
|
||||
ushort* ptr2 = (ushort*)strProfileImageResourcePtr;
|
||||
try
|
||||
{
|
||||
long num2 = *(long*)m_pMessaging + 96;
|
||||
@@ -762,10 +785,10 @@ namespace Microsoft.Zune.Messaging
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIMessagingCallback_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIMessagingCallback_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIMessagingCallback_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIMessagingCallback_003E*, void>)(&Module.CComPtrNtv_003CIMessagingCallback_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIMessagingCallback_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIMessagingCallback_003E_002ERelease(&cComPtrNtv_003CIMessagingCallback_003E);
|
||||
Module.CComPtrNtv_003CIMessagingCallback_003E_002ERelease(&cComPtrNtv_003CIMessagingCallback_003E);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
@@ -786,7 +809,7 @@ namespace Microsoft.Zune.Messaging
|
||||
{
|
||||
if (callback != null)
|
||||
{
|
||||
num = _003CModule_003E.Microsoft_002EZune_002EMessaging_002EMessagingCallbackWrapper_002ECreateInstance(callback, state, (IMessagingCallback**)(&cComPtrNtv_003CIMessagingCallback_003E));
|
||||
num = Module.Microsoft_002EZune_002EMessaging_002EMessagingCallbackWrapper_002ECreateInstance(callback, state, (IMessagingCallback**)(&cComPtrNtv_003CIMessagingCallback_003E));
|
||||
}
|
||||
bool success = false;
|
||||
int num4;
|
||||
@@ -796,16 +819,17 @@ namespace Microsoft.Zune.Messaging
|
||||
num = ((!success) ? (-2147467259) : num);
|
||||
if (num >= 0)
|
||||
{
|
||||
fixed (ushort* ptr2 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(strProfileImageUrl)))
|
||||
fixed (char* strProfileImageUrlPtr = strProfileImageUrl.ToCharArray())
|
||||
{
|
||||
ushort* ptr2 = (ushort*)strProfileImageUrlPtr;
|
||||
try
|
||||
{
|
||||
HBITMAP__* ptr = (HBITMAP__*)(int)profileImage.DangerousGetHandle();
|
||||
HBITMAP* ptr = (HBITMAP*)(int)profileImage.DangerousGetHandle();
|
||||
long num2 = *(long*)m_pMessaging + 104;
|
||||
IZuneNetMessaging* pMessaging = m_pMessaging;
|
||||
_003F val = ptr2;
|
||||
long num3 = *(long*)(&cComPtrNtv_003CIMessagingCallback_003E);
|
||||
num = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, ushort*, HBITMAP__*, IMessagingCallback*, int>)(*(ulong*)num2))((nint)pMessaging, (ushort*)(nint)val, ptr, (IMessagingCallback*)num3);
|
||||
num = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, ushort*, HBITMAP*, IMessagingCallback*, int>)(*(ulong*)num2))((nint)pMessaging, (ushort*)(nint)val, ptr, (IMessagingCallback*)num3);
|
||||
}
|
||||
catch
|
||||
{
|
||||
@@ -833,10 +857,10 @@ namespace Microsoft.Zune.Messaging
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIMessagingCallback_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIMessagingCallback_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIMessagingCallback_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIMessagingCallback_003E*, void>)(&Module.CComPtrNtv_003CIMessagingCallback_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIMessagingCallback_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIMessagingCallback_003E_002ERelease(&cComPtrNtv_003CIMessagingCallback_003E);
|
||||
Module.CComPtrNtv_003CIMessagingCallback_003E_002ERelease(&cComPtrNtv_003CIMessagingCallback_003E);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
@@ -850,12 +874,14 @@ namespace Microsoft.Zune.Messaging
|
||||
{
|
||||
ushort* ptr = null;
|
||||
int num = 0;
|
||||
fixed (ushort* ptr2 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(title)))
|
||||
fixed (char* titlePtr = title.ToCharArray())
|
||||
{
|
||||
ushort* ptr2 = (ushort*)titlePtr;
|
||||
try
|
||||
{
|
||||
fixed (ushort* ptr3 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(collectionName)))
|
||||
fixed (char* collectionNamePtr = collectionName.ToCharArray())
|
||||
{
|
||||
ushort* ptr3 = (ushort*)collectionNamePtr;
|
||||
try
|
||||
{
|
||||
long num2 = *(long*)m_pMessaging + 152;
|
||||
@@ -866,7 +892,7 @@ namespace Microsoft.Zune.Messaging
|
||||
}
|
||||
if (ptr != null)
|
||||
{
|
||||
_003CModule_003E.SysFreeString(ptr);
|
||||
Module.SysFreeString(ptr);
|
||||
}
|
||||
}
|
||||
catch
|
||||
@@ -895,16 +921,19 @@ namespace Microsoft.Zune.Messaging
|
||||
bool result = false;
|
||||
if (m_pMessaging != null)
|
||||
{
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(title)))
|
||||
fixed (char* titlePtr = title.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)titlePtr;
|
||||
try
|
||||
{
|
||||
fixed (ushort* ptr2 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(collectionName)))
|
||||
fixed (char* collectionNamePtr = collectionName.ToCharArray())
|
||||
{
|
||||
ushort* ptr2 = (ushort*)collectionNamePtr;
|
||||
try
|
||||
{
|
||||
fixed (ushort* ptr3 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(localFilePath)))
|
||||
fixed (char* localFilePathPtr = localFilePath.ToCharArray())
|
||||
{
|
||||
ushort* ptr3 = (ushort*)localFilePathPtr;
|
||||
try
|
||||
{
|
||||
long num = *(long*)m_pMessaging + 144;
|
||||
@@ -944,8 +973,9 @@ namespace Microsoft.Zune.Messaging
|
||||
int num = 0;
|
||||
if (m_pMessaging != null)
|
||||
{
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(collectionName)))
|
||||
fixed (char* collectionNamePtr = collectionName.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)collectionNamePtr;
|
||||
try
|
||||
{
|
||||
long num2 = *(long*)m_pMessaging + 160;
|
||||
|
||||
@@ -62,11 +62,11 @@ namespace Microsoft.Zune.Messaging
|
||||
//IL_0172: Expected I, but got I8
|
||||
if (ppPropSet == null)
|
||||
{
|
||||
_003CModule_003E._ZuneShipAssert(1001u, 141u);
|
||||
Module._ZuneShipAssert(1001u, 141u);
|
||||
return -2147467261;
|
||||
}
|
||||
IMSMediaSchemaPropertyList* ptr = null;
|
||||
int num = _003CModule_003E.ZuneLibraryExports_002ECreatePropertySetList((_GUID*)System.Runtime.CompilerServices.Unsafe.AsPointer(ref _003CModule_003E.ID_MS_MEDIA_SCHEMA_PLAYLIST), 3229617665u, &ptr);
|
||||
int num = Module.ZuneLibraryExports_002ECreatePropertySetList((_GUID*)Unsafe.AsPointer(ref Module.ID_MS_MEDIA_SCHEMA_PLAYLIST), 3229617665u, &ptr);
|
||||
if (num >= 0)
|
||||
{
|
||||
num = AddTracksToPropList(ptr);
|
||||
@@ -74,19 +74,20 @@ namespace Microsoft.Zune.Messaging
|
||||
IMSMediaSchemaPropertySet* ptr2 = null;
|
||||
if (num >= 0)
|
||||
{
|
||||
num = _003CModule_003E.ZuneLibraryExports_002ECreatePropertySet((_GUID*)System.Runtime.CompilerServices.Unsafe.AsPointer(ref _003CModule_003E.ID_MS_MEDIA_SCHEMA_PLAYLIST), 3229617665u, &ptr2);
|
||||
num = Module.ZuneLibraryExports_002ECreatePropertySet((_GUID*)Unsafe.AsPointer(ref Module.ID_MS_MEDIA_SCHEMA_PLAYLIST), 3229617665u, &ptr2);
|
||||
}
|
||||
fixed (ushort* ptr3 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(m_title)))
|
||||
fixed (char* m_titlePtr = m_title.ToCharArray())
|
||||
{
|
||||
ushort* ptr3 = (ushort*)m_titlePtr;
|
||||
if (num >= 0)
|
||||
{
|
||||
CComPropVariant cComPropVariant;
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlock(ref cComPropVariant, 0, 24);
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlock(ref cComPropVariant, 0, 24);
|
||||
try
|
||||
{
|
||||
*(short*)(&cComPropVariant) = 8;
|
||||
System.Runtime.CompilerServices.Unsafe.As<CComPropVariant, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cComPropVariant, 8)) = (nint)_003CModule_003E.SysAllocString(ptr3);
|
||||
Unsafe.As<CComPropVariant, long>(ref Unsafe.AddByteOffset(ref cComPropVariant, 8)) = (nint)Module.SysAllocString(ptr3);
|
||||
tagPROPVARIANT tagPROPVARIANT = (tagPROPVARIANT)cComPropVariant;
|
||||
IMSMediaSchemaPropertySet* intPtr = ptr2;
|
||||
num = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint, tagPROPVARIANT, int>)(*(ulong*)(*(long*)ptr2 + 56)))((nint)intPtr, 16777217u, tagPROPVARIANT);
|
||||
@@ -94,22 +95,23 @@ namespace Microsoft.Zune.Messaging
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&_003CModule_003E.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&Module.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPropVariant_002EClear(&cComPropVariant);
|
||||
Module.CComPropVariant_002EClear(&cComPropVariant);
|
||||
}
|
||||
fixed (ushort* ptr4 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(m_author)))
|
||||
fixed (char* m_authorPtr = m_author.ToCharArray())
|
||||
{
|
||||
ushort* ptr4 = (ushort*)m_authorPtr;
|
||||
if (num >= 0)
|
||||
{
|
||||
CComPropVariant cComPropVariant2;
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlock(ref cComPropVariant2, 0, 24);
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlock(ref cComPropVariant2, 0, 24);
|
||||
try
|
||||
{
|
||||
*(short*)(&cComPropVariant2) = 8;
|
||||
System.Runtime.CompilerServices.Unsafe.As<CComPropVariant, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cComPropVariant2, 8)) = (nint)_003CModule_003E.SysAllocString(ptr4);
|
||||
Unsafe.As<CComPropVariant, long>(ref Unsafe.AddByteOffset(ref cComPropVariant2, 8)) = (nint)Module.SysAllocString(ptr4);
|
||||
tagPROPVARIANT tagPROPVARIANT2 = (tagPROPVARIANT)cComPropVariant2;
|
||||
IMSMediaSchemaPropertySet* intPtr2 = ptr2;
|
||||
num = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint, tagPROPVARIANT, int>)(*(ulong*)(*(long*)ptr2 + 56)))((nint)intPtr2, 16777219u, tagPROPVARIANT2);
|
||||
@@ -117,14 +119,14 @@ namespace Microsoft.Zune.Messaging
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&_003CModule_003E.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant2);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&Module.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant2);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPropVariant_002EClear(&cComPropVariant2);
|
||||
Module.CComPropVariant_002EClear(&cComPropVariant2);
|
||||
}
|
||||
CComPropVariant cComPropVariant3;
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlock(ref cComPropVariant3, 0, 24);
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlock(ref cComPropVariant3, 0, 24);
|
||||
try
|
||||
{
|
||||
if (num < 0)
|
||||
@@ -132,7 +134,7 @@ namespace Microsoft.Zune.Messaging
|
||||
goto IL_0144;
|
||||
}
|
||||
*(short*)(&cComPropVariant3) = 13;
|
||||
System.Runtime.CompilerServices.Unsafe.As<CComPropVariant, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cComPropVariant3, 8)) = (nint)ptr;
|
||||
Unsafe.As<CComPropVariant, long>(ref Unsafe.AddByteOffset(ref cComPropVariant3, 8)) = (nint)ptr;
|
||||
tagPROPVARIANT tagPROPVARIANT3 = (tagPROPVARIANT)cComPropVariant3;
|
||||
IMSMediaSchemaPropertySet* intPtr3 = ptr2;
|
||||
num = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint, tagPROPVARIANT, int>)(*(ulong*)(*(long*)ptr2 + 56)))((nint)intPtr3, 3229617665u, tagPROPVARIANT3);
|
||||
@@ -161,10 +163,10 @@ namespace Microsoft.Zune.Messaging
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&_003CModule_003E.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant3);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&Module.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant3);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPropVariant_002EClear(&cComPropVariant3);
|
||||
Module.CComPropVariant_002EClear(&cComPropVariant3);
|
||||
return num;
|
||||
}
|
||||
}
|
||||
@@ -185,7 +187,7 @@ namespace Microsoft.Zune.Messaging
|
||||
//The blocks IL_0024, IL_0035, IL_004d, IL_0063, IL_0075, IL_0091, IL_0098, IL_018f, IL_019a are reachable both inside and outside the pinned region starting at IL_00f7. ILSpy has duplicated these blocks in order to place them both within and outside the `fixed` statement.
|
||||
if (pPropList == null)
|
||||
{
|
||||
_003CModule_003E._ZuneShipAssert(1001u, 45u);
|
||||
Module._ZuneShipAssert(1001u, 45u);
|
||||
return -2147467261;
|
||||
}
|
||||
int num = 0;
|
||||
@@ -197,18 +199,19 @@ namespace Microsoft.Zune.Messaging
|
||||
DataProviderObject dataProviderObject = m_tracks[num2] as DataProviderObject;
|
||||
if (dataProviderObject != null)
|
||||
{
|
||||
_GUID gUID = _003CModule_003E.GUID_NULL;
|
||||
_GUID gUID = Module.GUID_NULL;
|
||||
object property = dataProviderObject.GetProperty("ZuneMediaId");
|
||||
if (property != null)
|
||||
{
|
||||
gUID = _003CModule_003E.GuidToGUID((Guid)property);
|
||||
gUID = Module.GuidToGUID((Guid)property);
|
||||
}
|
||||
string text = dataProviderObject.GetProperty("Title") as string;
|
||||
object s = ((!(text == (string)null)) ? text : "");
|
||||
while (true)
|
||||
{
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars((string)s)))
|
||||
fixed (char* (string)sPtr = (string)s.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)(string)sPtr;
|
||||
while (true)
|
||||
{
|
||||
if (num2 < m_tracks.Count)
|
||||
@@ -226,11 +229,11 @@ namespace Microsoft.Zune.Messaging
|
||||
}
|
||||
return num;
|
||||
}
|
||||
gUID = _003CModule_003E.GUID_NULL;
|
||||
gUID = Module.GUID_NULL;
|
||||
property = dataProviderObject.GetProperty("ZuneMediaId");
|
||||
if (property != null)
|
||||
{
|
||||
gUID = _003CModule_003E.GuidToGUID((Guid)property);
|
||||
gUID = Module.GuidToGUID((Guid)property);
|
||||
}
|
||||
text = dataProviderObject.GetProperty("Title") as string;
|
||||
s = ((!(text == (string)null)) ? text : "");
|
||||
|
||||
@@ -44,15 +44,15 @@ namespace Microsoft.Zune.Playlist
|
||||
do
|
||||
{
|
||||
CComPropVariant cComPropVariant;
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlock(ref cComPropVariant, 0, 24);
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlock(ref cComPropVariant, 0, 24);
|
||||
try
|
||||
{
|
||||
IAutoPlaylistRules* intPtr = ptr;
|
||||
EMediaTypes type = m_type;
|
||||
uint atom;
|
||||
EAutoPlaylistRuleOperators op;
|
||||
int num3 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaTypes, uint, uint, uint*, EAutoPlaylistRuleOperators*, tagPROPVARIANT*, int>)(*(ulong*)(*(long*)ptr + 40)))((nint)intPtr, type, (uint)num, (uint)num2, &atom, &op, (tagPROPVARIANT*)(&cComPropVariant));
|
||||
int num3 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaTypes, uint, uint, uint*, EAutoPlaylistRuleOperators*, PROPVARIANT, int>)(*(ulong*)(*(long*)ptr + 40)))((nint)intPtr, type, (uint)num, (uint)num2, &atom, &op, (PROPVARIANT)(&cComPropVariant));
|
||||
if (num3 >= 0)
|
||||
{
|
||||
if (num3 == 1)
|
||||
@@ -69,7 +69,7 @@ namespace Microsoft.Zune.Playlist
|
||||
}
|
||||
else
|
||||
{
|
||||
CacheCriterion(num, (int)atom, (tagPROPVARIANT*)(&cComPropVariant), op);
|
||||
CacheCriterion(num, (int)atom, (PROPVARIANT)(&cComPropVariant), op);
|
||||
num2++;
|
||||
}
|
||||
goto IL_00b3;
|
||||
@@ -78,25 +78,25 @@ namespace Microsoft.Zune.Playlist
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&_003CModule_003E.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&Module.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPropVariant_002EClear(&cComPropVariant);
|
||||
Module.CComPropVariant_002EClear(&cComPropVariant);
|
||||
break;
|
||||
IL_00b3:
|
||||
_003CModule_003E.CComPropVariant_002EClear(&cComPropVariant);
|
||||
Module.CComPropVariant_002EClear(&cComPropVariant);
|
||||
}
|
||||
while (flag);
|
||||
int num4 = 0;
|
||||
CComPropVariant cComPropVariant2;
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlock(ref cComPropVariant2, 0, 24);
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlock(ref cComPropVariant2, 0, 24);
|
||||
int num5;
|
||||
uint atom2;
|
||||
try
|
||||
{
|
||||
IAutoPlaylistRules* intPtr2 = ptr;
|
||||
num5 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint, uint*, tagPROPVARIANT*, int>)(*(ulong*)(*(long*)ptr + 72)))((nint)intPtr2, 0u, &atom2, (tagPROPVARIANT*)(&cComPropVariant2));
|
||||
num5 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint, uint*, PROPVARIANT, int>)(*(ulong*)(*(long*)ptr + 72)))((nint)intPtr2, 0u, &atom2, (PROPVARIANT)(&cComPropVariant2));
|
||||
if (num5 < 0)
|
||||
{
|
||||
goto IL_0160;
|
||||
@@ -105,7 +105,7 @@ namespace Microsoft.Zune.Playlist
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&_003CModule_003E.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant2);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&Module.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant2);
|
||||
throw;
|
||||
}
|
||||
while (true)
|
||||
@@ -116,24 +116,24 @@ namespace Microsoft.Zune.Playlist
|
||||
{
|
||||
break;
|
||||
}
|
||||
CacheCriterion(0, (int)atom2, (tagPROPVARIANT*)(&cComPropVariant2), (EAutoPlaylistRuleOperators)8);
|
||||
CacheCriterion(0, (int)atom2, (PROPVARIANT)(&cComPropVariant2), (EAutoPlaylistRuleOperators)8);
|
||||
num4++;
|
||||
goto IL_0126;
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&_003CModule_003E.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant2);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&Module.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant2);
|
||||
throw;
|
||||
}
|
||||
IL_0126:
|
||||
_003CModule_003E.CComPropVariant_002EClear(&cComPropVariant2);
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlock(ref cComPropVariant2, 0, 24);
|
||||
Module.CComPropVariant_002EClear(&cComPropVariant2);
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlock(ref cComPropVariant2, 0, 24);
|
||||
try
|
||||
{
|
||||
IAutoPlaylistRules* intPtr3 = ptr;
|
||||
num5 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint, uint*, tagPROPVARIANT*, int>)(*(ulong*)(*(long*)ptr + 72)))((nint)intPtr3, (uint)num4, &atom2, (tagPROPVARIANT*)(&cComPropVariant2));
|
||||
num5 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint, uint*, PROPVARIANT, int>)(*(ulong*)(*(long*)ptr + 72)))((nint)intPtr3, (uint)num4, &atom2, (PROPVARIANT)(&cComPropVariant2));
|
||||
if (num5 >= 0)
|
||||
{
|
||||
continue;
|
||||
@@ -142,14 +142,14 @@ namespace Microsoft.Zune.Playlist
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&_003CModule_003E.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant2);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&Module.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant2);
|
||||
throw;
|
||||
}
|
||||
break;
|
||||
}
|
||||
goto IL_0160;
|
||||
IL_0160:
|
||||
_003CModule_003E.CComPropVariant_002EClear(&cComPropVariant2);
|
||||
Module.CComPropVariant_002EClear(&cComPropVariant2);
|
||||
}
|
||||
|
||||
public AutoPlaylistBuilder(EMediaTypes type)
|
||||
@@ -183,24 +183,24 @@ namespace Microsoft.Zune.Playlist
|
||||
IAutoPlaylistRules* pAutoPlaylistRules = m_pAutoPlaylistRules;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, int>)(*(ulong*)(*(long*)pAutoPlaylistRules + 24)))((nint)pAutoPlaylistRules);
|
||||
CComPropVariant cComPropVariant;
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlock(ref cComPropVariant, 0, 24);
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlock(ref cComPropVariant, 0, 24);
|
||||
try
|
||||
{
|
||||
*(short*)(&cComPropVariant) = 3;
|
||||
System.Runtime.CompilerServices.Unsafe.As<CComPropVariant, short>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cComPropVariant, 8)) = 1;
|
||||
Unsafe.As<CComPropVariant, short>(ref Unsafe.AddByteOffset(ref cComPropVariant, 8)) = 1;
|
||||
IAutoPlaylistRules* pAutoPlaylistRules2 = m_pAutoPlaylistRules;
|
||||
EMediaTypes type = m_type;
|
||||
int currentRuleSetGroup = m_currentRuleSetGroup;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaTypes, uint, uint, EAutoPlaylistRuleOperators, tagPROPVARIANT*, int>)(*(ulong*)(*(long*)pAutoPlaylistRules2 + 32)))((nint)pAutoPlaylistRules2, type, (uint)currentRuleSetGroup, 204u, (EAutoPlaylistRuleOperators)1, (tagPROPVARIANT*)(&cComPropVariant));
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaTypes, uint, uint, EAutoPlaylistRuleOperators, PROPVARIANT, int>)(*(ulong*)(*(long*)pAutoPlaylistRules2 + 32)))((nint)pAutoPlaylistRules2, type, (uint)currentRuleSetGroup, 204u, (EAutoPlaylistRuleOperators)1, (PROPVARIANT)(&cComPropVariant));
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&_003CModule_003E.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&Module.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPropVariant_002EClear(&cComPropVariant);
|
||||
Module.CComPropVariant_002EClear(&cComPropVariant);
|
||||
}
|
||||
|
||||
public unsafe HRESULT AddCriterion(string atomName, PlaylistRuleOperator op, object value)
|
||||
@@ -209,28 +209,28 @@ namespace Microsoft.Zune.Playlist
|
||||
//IL_0041: Expected I, but got I8
|
||||
int num = ZuneQueryList.AtomNameToAtom(atomName);
|
||||
CComPropVariant cComPropVariant;
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlock(ref cComPropVariant, 0, 24);
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlock(ref cComPropVariant, 0, 24);
|
||||
HRESULT result;
|
||||
try
|
||||
{
|
||||
int num2 = ZuneQueryList.ConvertTypeToPropVariant(null, value, (tagPROPVARIANT*)(&cComPropVariant));
|
||||
int num2 = ZuneQueryList.ConvertTypeToPropVariant(null, value, (PROPVARIANT)(&cComPropVariant));
|
||||
if (num2 >= 0)
|
||||
{
|
||||
IAutoPlaylistRules* pAutoPlaylistRules = m_pAutoPlaylistRules;
|
||||
EMediaTypes type = m_type;
|
||||
int currentRuleSetGroup = m_currentRuleSetGroup;
|
||||
num2 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaTypes, uint, uint, EAutoPlaylistRuleOperators, tagPROPVARIANT*, int>)(*(ulong*)(*(long*)pAutoPlaylistRules + 32)))((nint)pAutoPlaylistRules, type, (uint)currentRuleSetGroup, (uint)num, (EAutoPlaylistRuleOperators)op, (tagPROPVARIANT*)(&cComPropVariant));
|
||||
num2 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaTypes, uint, uint, EAutoPlaylistRuleOperators, PROPVARIANT, int>)(*(ulong*)(*(long*)pAutoPlaylistRules + 32)))((nint)pAutoPlaylistRules, type, (uint)currentRuleSetGroup, (uint)num, (EAutoPlaylistRuleOperators)op, (PROPVARIANT)(&cComPropVariant));
|
||||
}
|
||||
result = num2;
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&_003CModule_003E.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&Module.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPropVariant_002EClear(&cComPropVariant);
|
||||
Module.CComPropVariant_002EClear(&cComPropVariant);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -271,26 +271,26 @@ namespace Microsoft.Zune.Playlist
|
||||
//IL_0034: Expected I, but got I8
|
||||
int num = ZuneQueryList.AtomNameToAtom(atomName);
|
||||
CComPropVariant cComPropVariant;
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlock(ref cComPropVariant, 0, 24);
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlock(ref cComPropVariant, 0, 24);
|
||||
HRESULT result;
|
||||
try
|
||||
{
|
||||
int num2 = ZuneQueryList.ConvertTypeToPropVariant(null, value, (tagPROPVARIANT*)(&cComPropVariant));
|
||||
int num2 = ZuneQueryList.ConvertTypeToPropVariant(null, value, (PROPVARIANT)(&cComPropVariant));
|
||||
if (num2 >= 0)
|
||||
{
|
||||
IAutoPlaylistRules* pAutoPlaylistRules = m_pAutoPlaylistRules;
|
||||
num2 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint, tagPROPVARIANT*, int>)(*(ulong*)(*(long*)pAutoPlaylistRules + 64)))((nint)pAutoPlaylistRules, (uint)num, (tagPROPVARIANT*)(&cComPropVariant));
|
||||
num2 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint, PROPVARIANT, int>)(*(ulong*)(*(long*)pAutoPlaylistRules + 64)))((nint)pAutoPlaylistRules, (uint)num, (PROPVARIANT)(&cComPropVariant));
|
||||
}
|
||||
result = num2;
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&_003CModule_003E.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&Module.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPropVariant_002EClear(&cComPropVariant);
|
||||
Module.CComPropVariant_002EClear(&cComPropVariant);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -370,11 +370,11 @@ namespace Microsoft.Zune.Playlist
|
||||
m_type = type;
|
||||
if (num < 0)
|
||||
{
|
||||
throw new ApplicationException(_003CModule_003E.GetErrorDescription(num));
|
||||
throw new ApplicationException(Module.GetErrorDescription(num));
|
||||
}
|
||||
}
|
||||
|
||||
private unsafe void CacheCriterion(int group, int atom, tagPROPVARIANT* vtValue, EAutoPlaylistRuleOperators op)
|
||||
private unsafe void CacheCriterion(int group, int atom, PROPVARIANT vtValue, EAutoPlaylistRuleOperators op)
|
||||
{
|
||||
AtomRules value = null;
|
||||
if (m_groupAndAtomToRules == null)
|
||||
@@ -392,7 +392,7 @@ namespace Microsoft.Zune.Playlist
|
||||
value.operators.Add((PlaylistRuleOperator)op);
|
||||
}
|
||||
|
||||
private unsafe static object PropVariantToObject(tagPROPVARIANT* pvtValue)
|
||||
private unsafe static object PropVariantToObject(PROPVARIANT pvtValue)
|
||||
{
|
||||
Type type;
|
||||
switch (*(ushort*)pvtValue)
|
||||
|
||||
@@ -80,12 +80,14 @@ namespace Microsoft.Zune.Playlist
|
||||
}
|
||||
else
|
||||
{
|
||||
fixed (ushort* ptr2 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(title)))
|
||||
fixed (char* titlePtr = title.ToCharArray())
|
||||
{
|
||||
ushort* ptr2 = (ushort*)titlePtr;
|
||||
try
|
||||
{
|
||||
fixed (ushort* ptr3 = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(author)))
|
||||
fixed (char* authorPtr = author.ToCharArray())
|
||||
{
|
||||
ushort* ptr3 = (ushort*)authorPtr;
|
||||
try
|
||||
{
|
||||
EPlaylistCreateConflictAction ePlaylistCreateConflictAction = (EPlaylistCreateConflictAction)0;
|
||||
@@ -99,11 +101,11 @@ namespace Microsoft.Zune.Playlist
|
||||
}
|
||||
_GUID gUID;
|
||||
*(int*)(&gUID) = 0;
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlockUnaligned(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref gUID, 4), 0, 12);
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlockUnaligned(ref Unsafe.AddByteOffset(ref gUID, 4), 0, 12);
|
||||
if (serviceMediaId != null)
|
||||
{
|
||||
gUID = _003CModule_003E.GuidToGUID((Guid)serviceMediaId);
|
||||
gUID = Module.GuidToGUID((Guid)serviceMediaId);
|
||||
}
|
||||
bool flag6 = ((!(flag3 || flag)) ? true : false);
|
||||
EPlaylistType ePlaylistType;
|
||||
@@ -125,7 +127,7 @@ namespace Microsoft.Zune.Playlist
|
||||
}
|
||||
ePlaylistType = ePlaylistType2;
|
||||
}
|
||||
_GUID* ptr = (_GUID*)System.Runtime.CompilerServices.Unsafe.AsPointer(ref serviceMediaId != null ? ref gUID : ref *(_GUID*)null);
|
||||
_GUID* ptr = (_GUID*)Unsafe.AsPointer(ref serviceMediaId != null ? ref gUID : ref *(_GUID*)null);
|
||||
long num = *(long*)m_pPlaylistManager + 24;
|
||||
IPlaylistManager* pPlaylistManager = m_pPlaylistManager;
|
||||
int num2;
|
||||
@@ -282,8 +284,9 @@ namespace Microsoft.Zune.Playlist
|
||||
}
|
||||
else
|
||||
{
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(newTitle)))
|
||||
fixed (char* newTitlePtr = newTitle.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)newTitlePtr;
|
||||
try
|
||||
{
|
||||
long num = *(long*)m_pPlaylistManager + 72;
|
||||
@@ -308,23 +311,23 @@ namespace Microsoft.Zune.Playlist
|
||||
{
|
||||
return -2147467261;
|
||||
}
|
||||
PlaylistAsyncOperation* ptr = (PlaylistAsyncOperation*)_003CModule_003E.@new(24uL);
|
||||
PlaylistAsyncOperation* ptr = (PlaylistAsyncOperation*)Module.@new(24uL);
|
||||
PlaylistAsyncOperation* ptr2;
|
||||
try
|
||||
{
|
||||
ptr2 = ((ptr == null) ? null : _003CModule_003E.Microsoft_002EZune_002EPlaylist_002EPlaylistAsyncOperation_002E_007Bctor_007D(ptr));
|
||||
ptr2 = ((ptr == null) ? null : Module.Microsoft_002EZune_002EPlaylist_002EPlaylistAsyncOperation_002E_007Bctor_007D(ptr));
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.delete(ptr);
|
||||
Module.delete(ptr);
|
||||
throw;
|
||||
}
|
||||
int num = (((long)(nint)ptr2 == 0) ? (-2147024882) : 0);
|
||||
int num2 = num;
|
||||
if (num >= 0)
|
||||
{
|
||||
num2 = _003CModule_003E.Microsoft_002EZune_002EPlaylist_002EPlaylistAsyncOperation_002EAsyncSavePlaylistAsStatic(ptr2, playlistId, m_pPlaylistManager, playlistAsyncOperationCompleted);
|
||||
num2 = Module.Microsoft_002EZune_002EPlaylist_002EPlaylistAsyncOperation_002EAsyncSavePlaylistAsStatic(ptr2, playlistId, m_pPlaylistManager, playlistAsyncOperationCompleted);
|
||||
if (num2 >= 0)
|
||||
{
|
||||
goto IL_0066;
|
||||
@@ -332,7 +335,7 @@ namespace Microsoft.Zune.Playlist
|
||||
}
|
||||
if (ptr2 != null)
|
||||
{
|
||||
_003CModule_003E.Microsoft_002EZune_002EPlaylist_002EPlaylistAsyncOperation_002E__delDtor(ptr2, 1u);
|
||||
Module.Microsoft_002EZune_002EPlaylist_002EPlaylistAsyncOperation_002E__delDtor(ptr2, 1u);
|
||||
}
|
||||
goto IL_0066;
|
||||
IL_0066:
|
||||
@@ -347,28 +350,29 @@ namespace Microsoft.Zune.Playlist
|
||||
string result = candidateTitle;
|
||||
if (m_pPlaylistManager != null)
|
||||
{
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(candidateTitle)))
|
||||
fixed (char* candidateTitlePtr = candidateTitle.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)candidateTitlePtr;
|
||||
try
|
||||
{
|
||||
CComPropVariant cComPropVariant;
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlock(ref cComPropVariant, 0, 24);
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlock(ref cComPropVariant, 0, 24);
|
||||
try
|
||||
{
|
||||
long num = *(long*)m_pPlaylistManager + 136;
|
||||
IPlaylistManager* pPlaylistManager = m_pPlaylistManager;
|
||||
int num2;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, ushort*, int*, tagPROPVARIANT*, int>)(*(ulong*)num))((nint)pPlaylistManager, ptr, &num2, (tagPROPVARIANT*)(&cComPropVariant));
|
||||
result = new string((char*)System.Runtime.CompilerServices.Unsafe.As<CComPropVariant, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cComPropVariant, 8)));
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, ushort*, int*, PROPVARIANT, int>)(*(ulong*)num))((nint)pPlaylistManager, ptr, &num2, (PROPVARIANT)(&cComPropVariant));
|
||||
result = new string((char*)Unsafe.As<CComPropVariant, ulong>(ref Unsafe.AddByteOffset(ref cComPropVariant, 8)));
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&_003CModule_003E.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPropVariant*, void>)(&Module.CComPropVariant_002E_007Bdtor_007D), &cComPropVariant);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPropVariant_002EClear(&cComPropVariant);
|
||||
Module.CComPropVariant_002EClear(&cComPropVariant);
|
||||
}
|
||||
catch
|
||||
{
|
||||
@@ -392,7 +396,7 @@ namespace Microsoft.Zune.Playlist
|
||||
else
|
||||
{
|
||||
int num = -1;
|
||||
_GUID gUID = _003CModule_003E.GuidToGUID(serviceMediaId);
|
||||
_GUID gUID = Module.GuidToGUID(serviceMediaId);
|
||||
IPlaylistManager* pPlaylistManager = m_pPlaylistManager;
|
||||
hr = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, _GUID, int*, int>)(*(ulong*)(*(long*)pPlaylistManager + 168)))((nint)pPlaylistManager, gUID, &num);
|
||||
playlistId = num;
|
||||
@@ -456,13 +460,13 @@ namespace Microsoft.Zune.Playlist
|
||||
{
|
||||
//IL_0009: Expected I, but got I8
|
||||
IPlaylistManager* pPlaylistManager = null;
|
||||
int singleton = _003CModule_003E.GetSingleton((_GUID)_003CModule_003E._GUID_c2d9122b_f648_4b95_92fc_11f2e7f326d7, (void**)(&pPlaylistManager));
|
||||
int singleton = Module.GetSingleton((_GUID)Module._GUID_c2d9122b_f648_4b95_92fc_11f2e7f326d7, (void**)(&pPlaylistManager));
|
||||
if (singleton >= 0)
|
||||
{
|
||||
m_pPlaylistManager = pPlaylistManager;
|
||||
return;
|
||||
}
|
||||
throw new ApplicationException(_003CModule_003E.GetErrorDescription(singleton));
|
||||
throw new ApplicationException(Module.GetErrorDescription(singleton));
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
|
||||
@@ -29,9 +29,9 @@ namespace Microsoft.Zune.QuickMix
|
||||
{
|
||||
QUICK_MIX_STATUS_INFO qUICK_MIX_STATUS_INFO;
|
||||
*(sbyte*)(&qUICK_MIX_STATUS_INFO) = 0;
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlockUnaligned(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref qUICK_MIX_STATUS_INFO, 1), 0, 15);
|
||||
int singleton = _003CModule_003E.GetSingleton((_GUID)_003CModule_003E._GUID_d69e22ae_7e21_4959_be6e_14462eb96f64, (void**)(&cComPtrNtv_003CIQuickMixManager_003E));
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlockUnaligned(ref Unsafe.AddByteOffset(ref qUICK_MIX_STATUS_INFO, 1), 0, 15);
|
||||
int singleton = Module.GetSingleton((_GUID)Module._GUID_d69e22ae_7e21_4959_be6e_14462eb96f64, (void**)(&cComPtrNtv_003CIQuickMixManager_003E));
|
||||
if (singleton >= 0)
|
||||
{
|
||||
long num = *(long*)(&cComPtrNtv_003CIQuickMixManager_003E);
|
||||
@@ -42,10 +42,10 @@ namespace Microsoft.Zune.QuickMix
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIQuickMixManager_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIQuickMixManager_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIQuickMixManager_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIQuickMixManager_003E*, void>)(&Module.CComPtrNtv_003CIQuickMixManager_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIQuickMixManager_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIQuickMixManager_003E_002ERelease(&cComPtrNtv_003CIQuickMixManager_003E);
|
||||
Module.CComPtrNtv_003CIQuickMixManager_003E_002ERelease(&cComPtrNtv_003CIQuickMixManager_003E);
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
@@ -94,22 +94,22 @@ namespace Microsoft.Zune.QuickMix
|
||||
{
|
||||
QUICK_MIX_STATUS_INFO qUICK_MIX_STATUS_INFO;
|
||||
*(sbyte*)(&qUICK_MIX_STATUS_INFO) = 0;
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlockUnaligned(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref qUICK_MIX_STATUS_INFO, 1), 0, 15);
|
||||
if (_003CModule_003E.GetSingleton((_GUID)_003CModule_003E._GUID_d69e22ae_7e21_4959_be6e_14462eb96f64, (void**)(&cComPtrNtv_003CIQuickMixManager_003E)) >= 0)
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlockUnaligned(ref Unsafe.AddByteOffset(ref qUICK_MIX_STATUS_INFO, 1), 0, 15);
|
||||
if (Module.GetSingleton((_GUID)Module._GUID_d69e22ae_7e21_4959_be6e_14462eb96f64, (void**)(&cComPtrNtv_003CIQuickMixManager_003E)) >= 0)
|
||||
{
|
||||
long num = *(long*)(&cComPtrNtv_003CIQuickMixManager_003E);
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, QUICK_MIX_STATUS_INFO*, int>)(*(ulong*)(*(long*)(*(ulong*)(&cComPtrNtv_003CIQuickMixManager_003E)) + 56)))((nint)num, &qUICK_MIX_STATUS_INFO);
|
||||
}
|
||||
value(System.Runtime.CompilerServices.Unsafe.As<QUICK_MIX_STATUS_INFO, float>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref qUICK_MIX_STATUS_INFO, 4)), System.Runtime.CompilerServices.Unsafe.As<QUICK_MIX_STATUS_INFO, int>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref qUICK_MIX_STATUS_INFO, 12)));
|
||||
value(Unsafe.As<QUICK_MIX_STATUS_INFO, float>(ref Unsafe.AddByteOffset(ref qUICK_MIX_STATUS_INFO, 4)), Unsafe.As<QUICK_MIX_STATUS_INFO, int>(ref Unsafe.AddByteOffset(ref qUICK_MIX_STATUS_INFO, 12)));
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIQuickMixManager_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIQuickMixManager_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIQuickMixManager_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIQuickMixManager_003E*, void>)(&Module.CComPtrNtv_003CIQuickMixManager_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIQuickMixManager_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIQuickMixManager_003E_002ERelease(&cComPtrNtv_003CIQuickMixManager_003E);
|
||||
Module.CComPtrNtv_003CIQuickMixManager_003E_002ERelease(&cComPtrNtv_003CIQuickMixManager_003E);
|
||||
}
|
||||
remove
|
||||
{
|
||||
@@ -131,12 +131,13 @@ namespace Microsoft.Zune.QuickMix
|
||||
*(long*)(&cComPtrNtv_003CIQuickMixSession_003E) = 0L;
|
||||
try
|
||||
{
|
||||
int num = _003CModule_003E.GetSingleton((_GUID)_003CModule_003E._GUID_d69e22ae_7e21_4959_be6e_14462eb96f64, (void**)(&cComPtrNtv_003CIQuickMixManager_003E));
|
||||
int num = Module.GetSingleton((_GUID)Module._GUID_d69e22ae_7e21_4959_be6e_14462eb96f64, (void**)(&cComPtrNtv_003CIQuickMixManager_003E));
|
||||
if (num >= 0)
|
||||
{
|
||||
_GUID gUID = _003CModule_003E.GuidToGUID(serviceMediaId);
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(mediaTitle)))
|
||||
_GUID gUID = Module.GuidToGUID(serviceMediaId);
|
||||
fixed (char* mediaTitlePtr = mediaTitle.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)mediaTitlePtr;
|
||||
try
|
||||
{
|
||||
long num2 = *(long*)(*(ulong*)(&cComPtrNtv_003CIQuickMixManager_003E)) + 24;
|
||||
@@ -160,18 +161,18 @@ namespace Microsoft.Zune.QuickMix
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIQuickMixSession_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIQuickMixSession_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIQuickMixSession_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIQuickMixSession_003E*, void>)(&Module.CComPtrNtv_003CIQuickMixSession_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIQuickMixSession_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIQuickMixSession_003E_002ERelease(&cComPtrNtv_003CIQuickMixSession_003E);
|
||||
Module.CComPtrNtv_003CIQuickMixSession_003E_002ERelease(&cComPtrNtv_003CIQuickMixSession_003E);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIQuickMixManager_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIQuickMixManager_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIQuickMixManager_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIQuickMixManager_003E*, void>)(&Module.CComPtrNtv_003CIQuickMixManager_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIQuickMixManager_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIQuickMixManager_003E_002ERelease(&cComPtrNtv_003CIQuickMixManager_003E);
|
||||
Module.CComPtrNtv_003CIQuickMixManager_003E_002ERelease(&cComPtrNtv_003CIQuickMixManager_003E);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -189,7 +190,7 @@ namespace Microsoft.Zune.QuickMix
|
||||
*(long*)(&cComPtrNtv_003CIQuickMixSession_003E) = 0L;
|
||||
try
|
||||
{
|
||||
int num = _003CModule_003E.GetSingleton((_GUID)_003CModule_003E._GUID_d69e22ae_7e21_4959_be6e_14462eb96f64, (void**)(&cComPtrNtv_003CIQuickMixManager_003E));
|
||||
int num = Module.GetSingleton((_GUID)Module._GUID_d69e22ae_7e21_4959_be6e_14462eb96f64, (void**)(&cComPtrNtv_003CIQuickMixManager_003E));
|
||||
if (num >= 0)
|
||||
{
|
||||
fixed (int* ptr = &seedMediaIds[0])
|
||||
@@ -218,18 +219,18 @@ namespace Microsoft.Zune.QuickMix
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIQuickMixSession_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIQuickMixSession_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIQuickMixSession_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIQuickMixSession_003E*, void>)(&Module.CComPtrNtv_003CIQuickMixSession_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIQuickMixSession_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIQuickMixSession_003E_002ERelease(&cComPtrNtv_003CIQuickMixSession_003E);
|
||||
Module.CComPtrNtv_003CIQuickMixSession_003E_002ERelease(&cComPtrNtv_003CIQuickMixSession_003E);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIQuickMixManager_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIQuickMixManager_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIQuickMixManager_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIQuickMixManager_003E*, void>)(&Module.CComPtrNtv_003CIQuickMixManager_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIQuickMixManager_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIQuickMixManager_003E_002ERelease(&cComPtrNtv_003CIQuickMixManager_003E);
|
||||
Module.CComPtrNtv_003CIQuickMixManager_003E_002ERelease(&cComPtrNtv_003CIQuickMixManager_003E);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -251,23 +252,23 @@ namespace Microsoft.Zune.QuickMix
|
||||
try
|
||||
{
|
||||
QuickMixProgressHandler progressHandler = QuickMixProgressHandlerInternal;
|
||||
QuickMixCallbackProxy* ptr = (QuickMixCallbackProxy*)_003CModule_003E.@new(48uL);
|
||||
QuickMixCallbackProxy* ptr = (QuickMixCallbackProxy*)Module.@new(48uL);
|
||||
QuickMixCallbackProxy* ptr2;
|
||||
try
|
||||
{
|
||||
ptr2 = ((ptr == null) ? null : _003CModule_003E.Microsoft_002EZune_002EQuickMix_002EQuickMixCallbackProxy_002E_007Bctor_007D(ptr, progressHandler));
|
||||
ptr2 = ((ptr == null) ? null : Module.Microsoft_002EZune_002EQuickMix_002EQuickMixCallbackProxy_002E_007Bctor_007D(ptr, progressHandler));
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.delete(ptr);
|
||||
Module.delete(ptr);
|
||||
throw;
|
||||
}
|
||||
int num = (((long)(nint)ptr2 == 0) ? (-2147024882) : 0);
|
||||
num2 = num;
|
||||
if (num >= 0)
|
||||
{
|
||||
num2 = _003CModule_003E.GetSingleton((_GUID)_003CModule_003E._GUID_d69e22ae_7e21_4959_be6e_14462eb96f64, (void**)(&cComPtrNtv_003CIQuickMixManager_003E));
|
||||
num2 = Module.GetSingleton((_GUID)Module._GUID_d69e22ae_7e21_4959_be6e_14462eb96f64, (void**)(&cComPtrNtv_003CIQuickMixManager_003E));
|
||||
if (num2 >= 0)
|
||||
{
|
||||
QuickMixCallbackProxy* ptr3 = (QuickMixCallbackProxy*)((ptr2 == null) ? 0 : ((ulong)(nint)ptr2 + 8uL));
|
||||
@@ -283,10 +284,10 @@ namespace Microsoft.Zune.QuickMix
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIQuickMixManager_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIQuickMixManager_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIQuickMixManager_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIQuickMixManager_003E*, void>)(&Module.CComPtrNtv_003CIQuickMixManager_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIQuickMixManager_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIQuickMixManager_003E_002ERelease(&cComPtrNtv_003CIQuickMixManager_003E);
|
||||
Module.CComPtrNtv_003CIQuickMixManager_003E_002ERelease(&cComPtrNtv_003CIQuickMixManager_003E);
|
||||
return num2;
|
||||
}
|
||||
|
||||
|
||||
@@ -75,16 +75,16 @@ namespace Microsoft.Zune.QuickMix
|
||||
{
|
||||
return -2147467261;
|
||||
}
|
||||
QuickMixCallbackProxy* ptr = (QuickMixCallbackProxy*)_003CModule_003E.@new(48uL);
|
||||
QuickMixCallbackProxy* ptr = (QuickMixCallbackProxy*)Module.@new(48uL);
|
||||
QuickMixCallbackProxy* ptr2;
|
||||
try
|
||||
{
|
||||
ptr2 = ((ptr == null) ? null : _003CModule_003E.Microsoft_002EZune_002EQuickMix_002EQuickMixCallbackProxy_002E_007Bctor_007D(ptr, similarBatchHandler, batchEndHandler));
|
||||
ptr2 = ((ptr == null) ? null : Module.Microsoft_002EZune_002EQuickMix_002EQuickMixCallbackProxy_002E_007Bctor_007D(ptr, similarBatchHandler, batchEndHandler));
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.delete(ptr);
|
||||
Module.delete(ptr);
|
||||
throw;
|
||||
}
|
||||
int num = (((long)(nint)ptr2 == 0) ? (-2147024882) : 0);
|
||||
@@ -112,16 +112,16 @@ namespace Microsoft.Zune.QuickMix
|
||||
{
|
||||
return -2147467261;
|
||||
}
|
||||
QuickMixCallbackProxy* ptr = (QuickMixCallbackProxy*)_003CModule_003E.@new(48uL);
|
||||
QuickMixCallbackProxy* ptr = (QuickMixCallbackProxy*)Module.@new(48uL);
|
||||
QuickMixCallbackProxy* ptr2;
|
||||
try
|
||||
{
|
||||
ptr2 = ((ptr == null) ? null : _003CModule_003E.Microsoft_002EZune_002EQuickMix_002EQuickMixCallbackProxy_002E_007Bctor_007D(ptr, similarBatchHandler, batchEndHandler));
|
||||
ptr2 = ((ptr == null) ? null : Module.Microsoft_002EZune_002EQuickMix_002EQuickMixCallbackProxy_002E_007Bctor_007D(ptr, similarBatchHandler, batchEndHandler));
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.delete(ptr);
|
||||
Module.delete(ptr);
|
||||
throw;
|
||||
}
|
||||
int num = (((long)(nint)ptr2 == 0) ? (-2147024882) : 0);
|
||||
@@ -150,16 +150,16 @@ namespace Microsoft.Zune.QuickMix
|
||||
{
|
||||
return -2147467261;
|
||||
}
|
||||
QuickMixCallbackProxy* ptr = (QuickMixCallbackProxy*)_003CModule_003E.@new(48uL);
|
||||
QuickMixCallbackProxy* ptr = (QuickMixCallbackProxy*)Module.@new(48uL);
|
||||
QuickMixCallbackProxy* ptr2;
|
||||
try
|
||||
{
|
||||
ptr2 = ((ptr == null) ? null : _003CModule_003E.Microsoft_002EZune_002EQuickMix_002EQuickMixCallbackProxy_002E_007Bctor_007D(ptr, similarBatchHandler, batchEndHandler));
|
||||
ptr2 = ((ptr == null) ? null : Module.Microsoft_002EZune_002EQuickMix_002EQuickMixCallbackProxy_002E_007Bctor_007D(ptr, similarBatchHandler, batchEndHandler));
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.delete(ptr);
|
||||
Module.delete(ptr);
|
||||
throw;
|
||||
}
|
||||
int num = (((long)(nint)ptr2 == 0) ? (-2147024882) : 0);
|
||||
@@ -183,7 +183,7 @@ namespace Microsoft.Zune.QuickMix
|
||||
//IL_0023: Expected I, but got I8
|
||||
//IL_0031: Expected I, but got I8
|
||||
WBSTRString wBSTRString;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString);
|
||||
HRESULT result;
|
||||
try
|
||||
{
|
||||
@@ -198,10 +198,10 @@ namespace Microsoft.Zune.QuickMix
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -209,8 +209,9 @@ namespace Microsoft.Zune.QuickMix
|
||||
{
|
||||
//IL_0048: Expected I, but got I8
|
||||
int num = -1;
|
||||
fixed (ushort* ptr = &System.Runtime.CompilerServices.Unsafe.As<char, ushort>(ref _003CModule_003E.PtrToStringChars(playlistTitle)))
|
||||
fixed (char* playlistTitlePtr = playlistTitle.ToCharArray())
|
||||
{
|
||||
ushort* ptr = (ushort*)playlistTitlePtr;
|
||||
int num2;
|
||||
EPlaylistCreateConflictAction ePlaylistCreateConflictAction;
|
||||
if (createOption != 0)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -78,8 +78,8 @@ namespace Microsoft.Zune.Service
|
||||
return;
|
||||
}
|
||||
m_emailFormat = *(EmailFormat*)(&newsletterOptions);
|
||||
bool flag = (m_allowZuneEmails = ((System.Runtime.CompilerServices.Unsafe.As<NewsletterOptions, int>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref newsletterOptions, 4)) != 0) ? true : false));
|
||||
bool flag2 = (m_allowPartnerEmails = ((System.Runtime.CompilerServices.Unsafe.As<NewsletterOptions, int>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref newsletterOptions, 8)) != 0) ? true : false));
|
||||
bool flag = (m_allowZuneEmails = ((Unsafe.As<NewsletterOptions, int>(ref Unsafe.AddByteOffset(ref newsletterOptions, 4)) != 0) ? true : false));
|
||||
bool flag2 = (m_allowPartnerEmails = ((Unsafe.As<NewsletterOptions, int>(ref Unsafe.AddByteOffset(ref newsletterOptions, 8)) != 0) ? true : false));
|
||||
int num = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, int>)(*(ulong*)(*(long*)pPrivacySettings + 32)))((nint)pPrivacySettings);
|
||||
int num2 = 0;
|
||||
if (0 >= num)
|
||||
|
||||
@@ -209,37 +209,37 @@ namespace Microsoft.Zune.Service
|
||||
return;
|
||||
}
|
||||
WBSTRString wBSTRString;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString2;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString2);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString2);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString3;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString3);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString3);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString4;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString4);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString4);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString5;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString5);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString5);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString6;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString6);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString6);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString7;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString7);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString7);
|
||||
try
|
||||
{
|
||||
_SYSTEMTIME stValue;
|
||||
*(short*)(&stValue) = 0;
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlockUnaligned(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref stValue, 2), 0, 14);
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlockUnaligned(ref Unsafe.AddByteOffset(ref stValue, 2), 0, 14);
|
||||
CComPtrNtv_003CIAddress_003E cComPtrNtv_003CIAddress_003E;
|
||||
*(long*)(&cComPtrNtv_003CIAddress_003E) = 0L;
|
||||
try
|
||||
@@ -261,7 +261,7 @@ namespace Microsoft.Zune.Service
|
||||
m_email = new string((char*)(*(ulong*)(&wBSTRString5)));
|
||||
m_phoneNumber = new string((char*)(*(ulong*)(&wBSTRString6)));
|
||||
m_mobilePhoneNumber = new string((char*)(*(ulong*)(&wBSTRString7)));
|
||||
DateTime dateTime = (m_birthday = _003CModule_003E.SystemTimeToDateTime(stValue));
|
||||
DateTime dateTime = (m_birthday = Module.SystemTimeToDateTime(stValue));
|
||||
m_accountUserType = (AccountUserType)((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EAccountUserType>)(*(ulong*)(*(long*)pAccountUser + 48)))((nint)pAccountUser);
|
||||
if (*(long*)(&cComPtrNtv_003CIAddress_003E) != 0L)
|
||||
{
|
||||
@@ -276,82 +276,82 @@ namespace Microsoft.Zune.Service
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIPrivacySettings_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIPrivacySettings_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIPrivacySettings_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIPrivacySettings_003E*, void>)(&Module.CComPtrNtv_003CIPrivacySettings_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIPrivacySettings_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIPrivacySettings_003E_002ERelease(&cComPtrNtv_003CIPrivacySettings_003E);
|
||||
Module.CComPtrNtv_003CIPrivacySettings_003E_002ERelease(&cComPtrNtv_003CIPrivacySettings_003E);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CINewsletterSettings_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CINewsletterSettings_003E_002E_007Bdtor_007D), &cComPtrNtv_003CINewsletterSettings_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CINewsletterSettings_003E*, void>)(&Module.CComPtrNtv_003CINewsletterSettings_003E_002E_007Bdtor_007D), &cComPtrNtv_003CINewsletterSettings_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CINewsletterSettings_003E_002ERelease(&cComPtrNtv_003CINewsletterSettings_003E);
|
||||
Module.CComPtrNtv_003CINewsletterSettings_003E_002ERelease(&cComPtrNtv_003CINewsletterSettings_003E);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIAddress_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIAddress_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIAddress_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIAddress_003E*, void>)(&Module.CComPtrNtv_003CIAddress_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIAddress_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIAddress_003E_002ERelease(&cComPtrNtv_003CIAddress_003E);
|
||||
Module.CComPtrNtv_003CIAddress_003E_002ERelease(&cComPtrNtv_003CIAddress_003E);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString7);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString7);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString7);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString7);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString6);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString6);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString6);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString6);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString5);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString5);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString5);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString5);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString4);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString4);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString4);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString4);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString3);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString3);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString3);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString3);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString2);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString2);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString2);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString2);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString);
|
||||
}
|
||||
|
||||
public AccountUser()
|
||||
|
||||
@@ -102,27 +102,27 @@ namespace Microsoft.Zune.Service
|
||||
return;
|
||||
}
|
||||
WBSTRString wBSTRString;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString2;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString2);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString2);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString3;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString3);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString3);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString4;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString4);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString4);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString5;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString5);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString5);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString6;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString6);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString6);
|
||||
try
|
||||
{
|
||||
if (((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, ushort**, ushort**, ushort**, ushort**, ushort**, ushort**, int>)(*(ulong*)(*(long*)pAddress + 32)))((nint)pAddress, (ushort**)(&wBSTRString), (ushort**)(&wBSTRString2), (ushort**)(&wBSTRString3), (ushort**)(&wBSTRString4), (ushort**)(&wBSTRString5), (ushort**)(&wBSTRString6)) >= 0)
|
||||
@@ -138,50 +138,50 @@ namespace Microsoft.Zune.Service
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString6);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString6);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString6);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString6);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString5);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString5);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString5);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString5);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString4);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString4);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString4);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString4);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString3);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString3);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString3);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString3);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString2);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString2);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString2);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString2);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString);
|
||||
}
|
||||
|
||||
public Address(string street1, string street2, string city, string district, string state, string postalCode)
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace Microsoft.Zune.Service
|
||||
do
|
||||
{
|
||||
MusicAlbumMetadata musicAlbumMetadata;
|
||||
_003CModule_003E.MusicAlbumMetadata_002E_007Bctor_007D(&musicAlbumMetadata);
|
||||
Module.MusicAlbumMetadata_002E_007Bctor_007D(&musicAlbumMetadata);
|
||||
try
|
||||
{
|
||||
CComPtrNtv_003CIContextData_003E cComPtrNtv_003CIContextData_003E;
|
||||
@@ -81,66 +81,66 @@ namespace Microsoft.Zune.Service
|
||||
num = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, int, MusicAlbumMetadata*, IContextData**, int>)(*(ulong*)(*(long*)pCollection + 32)))((nint)pCollection, num3, &musicAlbumMetadata, (IContextData**)(&cComPtrNtv_003CIContextData_003E));
|
||||
}
|
||||
CComPtrNtv_003CIPriceInfo_003E cComPtrNtv_003CIPriceInfo_003E;
|
||||
_003CModule_003E.CComPtrNtv_003CIPriceInfo_003E_002E_007Bctor_007D(&cComPtrNtv_003CIPriceInfo_003E);
|
||||
Module.CComPtrNtv_003CIPriceInfo_003E_002E_007Bctor_007D(&cComPtrNtv_003CIPriceInfo_003E);
|
||||
try
|
||||
{
|
||||
int releaseYear = 0;
|
||||
if (num >= 0)
|
||||
{
|
||||
long num4 = System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 88));
|
||||
int num5 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, int>)(*(ulong*)(*(long*)System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 88)) + 144)))((nint)num4);
|
||||
long num6 = System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 88));
|
||||
int num7 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, int, int, int>)(*(ulong*)(*(long*)System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 88)) + 176)))((nint)num6, 1, 1);
|
||||
long num8 = System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 88));
|
||||
int num9 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaRights, EMediaFormat, int>)(*(ulong*)(*(long*)System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 88)) + 72)))((nint)num8, (EMediaRights)4, (EMediaFormat)0);
|
||||
if (System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 64)) != 0L)
|
||||
long num4 = Unsafe.As<MusicAlbumMetadata, long>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 88));
|
||||
int num5 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, int>)(*(ulong*)(*(long*)Unsafe.As<MusicAlbumMetadata, ulong>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 88)) + 144)))((nint)num4);
|
||||
long num6 = Unsafe.As<MusicAlbumMetadata, long>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 88));
|
||||
int num7 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, int, int, int>)(*(ulong*)(*(long*)Unsafe.As<MusicAlbumMetadata, ulong>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 88)) + 176)))((nint)num6, 1, 1);
|
||||
long num8 = Unsafe.As<MusicAlbumMetadata, long>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 88));
|
||||
int num9 = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaRights, EMediaFormat, int>)(*(ulong*)(*(long*)Unsafe.As<MusicAlbumMetadata, ulong>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 88)) + 72)))((nint)num8, (EMediaRights)4, (EMediaFormat)0);
|
||||
if (Unsafe.As<MusicAlbumMetadata, long>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 64)) != 0L)
|
||||
{
|
||||
releaseYear = _003CModule_003E._wtoi((ushort*)System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 64)));
|
||||
releaseYear = Module._wtoi((ushort*)Unsafe.As<MusicAlbumMetadata, ulong>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 64)));
|
||||
}
|
||||
EMediaFormat eMediaFormat = ((num9 == 0) ? ((EMediaFormat)1) : ((EMediaFormat)0));
|
||||
long num10 = System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 88));
|
||||
if (((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaRights, EMediaFormat, int>)(*(ulong*)(*(long*)System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 88)) + 72)))((nint)num10, (EMediaRights)4, eMediaFormat) != 0)
|
||||
long num10 = Unsafe.As<MusicAlbumMetadata, long>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 88));
|
||||
if (((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaRights, EMediaFormat, int>)(*(ulong*)(*(long*)Unsafe.As<MusicAlbumMetadata, ulong>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 88)) + 72)))((nint)num10, (EMediaRights)4, eMediaFormat) != 0)
|
||||
{
|
||||
EMediaFormat eMediaFormat2 = ((num9 == 0) ? ((EMediaFormat)1) : ((EMediaFormat)0));
|
||||
long num11 = System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 88));
|
||||
IPriceInfo** intPtr = _003CModule_003E.CComPtrNtv_003CIPriceInfo_003E_002E_0026(&cComPtrNtv_003CIPriceInfo_003E);
|
||||
num = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaRights, EMediaFormat, IPriceInfo**, int>)(*(ulong*)(*(long*)System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 88)) + 104)))((nint)num11, (EMediaRights)4, eMediaFormat2, intPtr);
|
||||
long num11 = Unsafe.As<MusicAlbumMetadata, long>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 88));
|
||||
IPriceInfo** intPtr = Module.CComPtrNtv_003CIPriceInfo_003E_002E_0026(&cComPtrNtv_003CIPriceInfo_003E);
|
||||
num = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaRights, EMediaFormat, IPriceInfo**, int>)(*(ulong*)(*(long*)Unsafe.As<MusicAlbumMetadata, ulong>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 88)) + 104)))((nint)num11, (EMediaRights)4, eMediaFormat2, intPtr);
|
||||
}
|
||||
if (num >= 0)
|
||||
{
|
||||
Guid id = _003CModule_003E.GUIDToGuid(System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, _GUID>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 8)));
|
||||
string recommendationContext = GetRecommendationContext(id, mapIdToContext, _003CModule_003E.CComPtrNtv_003CIContextData_003E_002E_002EPEAUIContextData_0040_0040(&cComPtrNtv_003CIContextData_003E));
|
||||
Guid id = Module.GUIDToGuid(Unsafe.As<MusicAlbumMetadata, _GUID>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 8)));
|
||||
string recommendationContext = GetRecommendationContext(id, mapIdToContext, Module.CComPtrNtv_003CIContextData_003E_002E_002EPEAUIContextData_0040_0040(&cComPtrNtv_003CIContextData_003E));
|
||||
bool inCollection = ((num5 != 0) ? true : false);
|
||||
bool previouslyPurchased = ((num7 != 0) ? true : false);
|
||||
bool premium = ((System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, int>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 84)) != 0) ? true : false);
|
||||
bool premium = ((Unsafe.As<MusicAlbumMetadata, int>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 84)) != 0) ? true : false);
|
||||
bool isMP = ((num9 != 0) ? true : false);
|
||||
list.Add(new AlbumOffer(id, new string((char*)System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 40))), new string((char*)System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 48))), new string((char*)System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 56))), releaseYear, new string((char*)System.Runtime.CompilerServices.Unsafe.As<MusicAlbumMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref musicAlbumMetadata, 72))), new PriceInfo((IPriceInfo*)(*(ulong*)(&cComPtrNtv_003CIPriceInfo_003E))), isMP, premium, previouslyPurchased, inCollection, recommendationContext));
|
||||
list.Add(new AlbumOffer(id, new string((char*)Unsafe.As<MusicAlbumMetadata, ulong>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 40))), new string((char*)Unsafe.As<MusicAlbumMetadata, ulong>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 48))), new string((char*)Unsafe.As<MusicAlbumMetadata, ulong>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 56))), releaseYear, new string((char*)Unsafe.As<MusicAlbumMetadata, ulong>(ref Unsafe.AddByteOffset(ref musicAlbumMetadata, 72))), new PriceInfo((IPriceInfo*)(*(ulong*)(&cComPtrNtv_003CIPriceInfo_003E))), isMP, premium, previouslyPurchased, inCollection, recommendationContext));
|
||||
}
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIPriceInfo_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIPriceInfo_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIPriceInfo_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIPriceInfo_003E*, void>)(&Module.CComPtrNtv_003CIPriceInfo_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIPriceInfo_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIPriceInfo_003E_002E_007Bdtor_007D(&cComPtrNtv_003CIPriceInfo_003E);
|
||||
Module.CComPtrNtv_003CIPriceInfo_003E_002E_007Bdtor_007D(&cComPtrNtv_003CIPriceInfo_003E);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIContextData_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIContextData_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIContextData_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIContextData_003E*, void>)(&Module.CComPtrNtv_003CIContextData_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIContextData_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIContextData_003E_002E_007Bdtor_007D(&cComPtrNtv_003CIContextData_003E);
|
||||
Module.CComPtrNtv_003CIContextData_003E_002E_007Bdtor_007D(&cComPtrNtv_003CIContextData_003E);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<MusicAlbumMetadata*, void>)(&_003CModule_003E.MusicAlbumMetadata_002E_007Bdtor_007D), &musicAlbumMetadata);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<MusicAlbumMetadata*, void>)(&Module.MusicAlbumMetadata_002E_007Bdtor_007D), &musicAlbumMetadata);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.MusicAlbumMetadata_002E_007Bdtor_007D(&musicAlbumMetadata);
|
||||
Module.MusicAlbumMetadata_002E_007Bdtor_007D(&musicAlbumMetadata);
|
||||
num3++;
|
||||
}
|
||||
while (num3 < num2);
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace Microsoft.Zune.Service
|
||||
do
|
||||
{
|
||||
AppMetadata appMetadata;
|
||||
_003CModule_003E.AppMetadata_002E_007Bctor_007D(&appMetadata);
|
||||
Module.AppMetadata_002E_007Bctor_007D(&appMetadata);
|
||||
try
|
||||
{
|
||||
if (num >= 0)
|
||||
@@ -82,16 +82,16 @@ namespace Microsoft.Zune.Service
|
||||
DateTime result = default(DateTime);
|
||||
if (num >= 0)
|
||||
{
|
||||
if (System.Runtime.CompilerServices.Unsafe.As<AppMetadata, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 72)) == 0L || !DateTime.TryParse(new string((char*)System.Runtime.CompilerServices.Unsafe.As<AppMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 72))), out result))
|
||||
if (Unsafe.As<AppMetadata, long>(ref Unsafe.AddByteOffset(ref appMetadata, 72)) == 0L || !DateTime.TryParse(new string((char*)Unsafe.As<AppMetadata, ulong>(ref Unsafe.AddByteOffset(ref appMetadata, 72))), out result))
|
||||
{
|
||||
result = DateTime.MinValue;
|
||||
}
|
||||
Guid id = _003CModule_003E.GUIDToGuid(System.Runtime.CompilerServices.Unsafe.As<AppMetadata, _GUID>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 8)));
|
||||
long num4 = System.Runtime.CompilerServices.Unsafe.As<AppMetadata, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 136));
|
||||
bool inCollection = ((((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, int>)(*(ulong*)(*(long*)System.Runtime.CompilerServices.Unsafe.As<AppMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 136)) + 144)))((nint)num4) != 0) ? true : false);
|
||||
Guid id = Module.GUIDToGuid(Unsafe.As<AppMetadata, _GUID>(ref Unsafe.AddByteOffset(ref appMetadata, 8)));
|
||||
long num4 = Unsafe.As<AppMetadata, long>(ref Unsafe.AddByteOffset(ref appMetadata, 136));
|
||||
bool inCollection = ((((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, int>)(*(ulong*)(*(long*)Unsafe.As<AppMetadata, ulong>(ref Unsafe.AddByteOffset(ref appMetadata, 136)) + 144)))((nint)num4) != 0) ? true : false);
|
||||
_0024ArrayType_0024_0024_0024BY01W4EMediaRights_0040_0040 _0024ArrayType_0024_0024_0024BY01W4EMediaRights_0040_0040;
|
||||
*(int*)(&_0024ArrayType_0024_0024_0024BY01W4EMediaRights_0040_0040) = 3;
|
||||
System.Runtime.CompilerServices.Unsafe.As<_0024ArrayType_0024_0024_0024BY01W4EMediaRights_0040_0040, int>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref _0024ArrayType_0024_0024_0024BY01W4EMediaRights_0040_0040, 4)) = 11;
|
||||
Unsafe.As<_0024ArrayType_0024_0024_0024BY01W4EMediaRights_0040_0040, int>(ref Unsafe.AddByteOffset(ref _0024ArrayType_0024_0024_0024BY01W4EMediaRights_0040_0040, 4)) = 11;
|
||||
EMediaRights* ptr = (EMediaRights*)(&_0024ArrayType_0024_0024_0024BY01W4EMediaRights_0040_0040);
|
||||
uint num5 = 2u;
|
||||
do
|
||||
@@ -100,25 +100,25 @@ namespace Microsoft.Zune.Service
|
||||
*(long*)(&cComPtrNtv_003CIPriceInfo_003E) = 0L;
|
||||
try
|
||||
{
|
||||
_GUID gUID_NULL = _003CModule_003E.GUID_NULL;
|
||||
_GUID gUID_NULL2 = _003CModule_003E.GUID_NULL;
|
||||
_GUID gUID_NULL = Module.GUID_NULL;
|
||||
_GUID gUID_NULL2 = Module.GUID_NULL;
|
||||
int num6 = (int)(*ptr);
|
||||
long num7 = System.Runtime.CompilerServices.Unsafe.As<AppMetadata, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 136));
|
||||
if (((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaRights, EMediaFormat, _GUID*, _GUID*, IPriceInfo**, ushort**, int>)(*(ulong*)(*(long*)System.Runtime.CompilerServices.Unsafe.As<AppMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 136)) + 136)))((nint)num7, (EMediaRights)num6, (EMediaFormat)5, &gUID_NULL2, &gUID_NULL, (IPriceInfo**)(&cComPtrNtv_003CIPriceInfo_003E), null) >= 0)
|
||||
long num7 = Unsafe.As<AppMetadata, long>(ref Unsafe.AddByteOffset(ref appMetadata, 136));
|
||||
if (((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaRights, EMediaFormat, _GUID*, _GUID*, IPriceInfo**, ushort**, int>)(*(ulong*)(*(long*)Unsafe.As<AppMetadata, ulong>(ref Unsafe.AddByteOffset(ref appMetadata, 136)) + 136)))((nint)num7, (EMediaRights)num6, (EMediaFormat)5, &gUID_NULL2, &gUID_NULL, (IPriceInfo**)(&cComPtrNtv_003CIPriceInfo_003E), null) >= 0)
|
||||
{
|
||||
bool isTrialPurchase = num6 == 11;
|
||||
long num8 = System.Runtime.CompilerServices.Unsafe.As<AppMetadata, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 136));
|
||||
bool previouslyPurchased = ((((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaRights, EMediaFormat, int, int, int>)(*(ulong*)(*(long*)System.Runtime.CompilerServices.Unsafe.As<AppMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 136)) + 168)))((nint)num8, (EMediaRights)num6, (EMediaFormat)5, 1, 1) != 0) ? true : false);
|
||||
list.Add(new AppOffer(id, new string((char*)System.Runtime.CompilerServices.Unsafe.As<AppMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 24))), new string((char*)System.Runtime.CompilerServices.Unsafe.As<AppMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 48))), new string((char*)System.Runtime.CompilerServices.Unsafe.As<AppMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 56))), new string((char*)System.Runtime.CompilerServices.Unsafe.As<AppMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 64))), new string((char*)System.Runtime.CompilerServices.Unsafe.As<AppMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 88))), new string((char*)System.Runtime.CompilerServices.Unsafe.As<AppMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 96))), new string((char*)System.Runtime.CompilerServices.Unsafe.As<AppMetadata, ulong>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref appMetadata, 112))), new PriceInfo((IPriceInfo*)(*(ulong*)(&cComPtrNtv_003CIPriceInfo_003E))), result, previouslyPurchased, inCollection, isTrialPurchase));
|
||||
long num8 = Unsafe.As<AppMetadata, long>(ref Unsafe.AddByteOffset(ref appMetadata, 136));
|
||||
bool previouslyPurchased = ((((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, EMediaRights, EMediaFormat, int, int, int>)(*(ulong*)(*(long*)Unsafe.As<AppMetadata, ulong>(ref Unsafe.AddByteOffset(ref appMetadata, 136)) + 168)))((nint)num8, (EMediaRights)num6, (EMediaFormat)5, 1, 1) != 0) ? true : false);
|
||||
list.Add(new AppOffer(id, new string((char*)Unsafe.As<AppMetadata, ulong>(ref Unsafe.AddByteOffset(ref appMetadata, 24))), new string((char*)Unsafe.As<AppMetadata, ulong>(ref Unsafe.AddByteOffset(ref appMetadata, 48))), new string((char*)Unsafe.As<AppMetadata, ulong>(ref Unsafe.AddByteOffset(ref appMetadata, 56))), new string((char*)Unsafe.As<AppMetadata, ulong>(ref Unsafe.AddByteOffset(ref appMetadata, 64))), new string((char*)Unsafe.As<AppMetadata, ulong>(ref Unsafe.AddByteOffset(ref appMetadata, 88))), new string((char*)Unsafe.As<AppMetadata, ulong>(ref Unsafe.AddByteOffset(ref appMetadata, 96))), new string((char*)Unsafe.As<AppMetadata, ulong>(ref Unsafe.AddByteOffset(ref appMetadata, 112))), new PriceInfo((IPriceInfo*)(*(ulong*)(&cComPtrNtv_003CIPriceInfo_003E))), result, previouslyPurchased, inCollection, isTrialPurchase));
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIPriceInfo_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIPriceInfo_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIPriceInfo_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIPriceInfo_003E*, void>)(&Module.CComPtrNtv_003CIPriceInfo_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIPriceInfo_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIPriceInfo_003E_002E_007Bdtor_007D(&cComPtrNtv_003CIPriceInfo_003E);
|
||||
Module.CComPtrNtv_003CIPriceInfo_003E_002E_007Bdtor_007D(&cComPtrNtv_003CIPriceInfo_003E);
|
||||
ptr = (EMediaRights*)((ulong)(nint)ptr + 4uL);
|
||||
num5 += uint.MaxValue;
|
||||
}
|
||||
@@ -128,10 +128,10 @@ namespace Microsoft.Zune.Service
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<AppMetadata*, void>)(&_003CModule_003E.AppMetadata_002E_007Bdtor_007D), &appMetadata);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<AppMetadata*, void>)(&Module.AppMetadata_002E_007Bdtor_007D), &appMetadata);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.AppMetadata_002E_007Bdtor_007D(&appMetadata);
|
||||
Module.AppMetadata_002E_007Bdtor_007D(&appMetadata);
|
||||
num3++;
|
||||
}
|
||||
while (num3 < num2);
|
||||
|
||||
@@ -70,8 +70,8 @@ namespace Microsoft.Zune.Service
|
||||
arrayList.Add(new BillingOffer(id, (EBillingOfferType)eBillingOfferType, new string((char*)ptr), new string((char*)ptr2), points, price, taxes, trial));
|
||||
}
|
||||
}
|
||||
_003CModule_003E.SysFreeString(ptr);
|
||||
_003CModule_003E.SysFreeString(ptr2);
|
||||
Module.SysFreeString(ptr);
|
||||
Module.SysFreeString(ptr2);
|
||||
num3++;
|
||||
}
|
||||
while (num3 < num2);
|
||||
|
||||
@@ -228,41 +228,41 @@ namespace Microsoft.Zune.Service
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString2;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString2);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString2);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString3;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString3);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString3);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString4;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString4);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString4);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString5;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString5);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString5);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString6;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString6);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString6);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString7;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString7);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString7);
|
||||
try
|
||||
{
|
||||
WBSTRString wBSTRString8;
|
||||
_003CModule_003E.WBSTRString_002E_007Bctor_007D(&wBSTRString8);
|
||||
Module.WBSTRString_002E_007Bctor_007D(&wBSTRString8);
|
||||
try
|
||||
{
|
||||
_SYSTEMTIME stValue;
|
||||
*(short*)(&stValue) = 0;
|
||||
// IL initblk instruction
|
||||
System.Runtime.CompilerServices.Unsafe.InitBlockUnaligned(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref stValue, 2), 0, 14);
|
||||
// IL initblk instruction
|
||||
Unsafe.InitBlockUnaligned(ref Unsafe.AddByteOffset(ref stValue, 2), 0, 14);
|
||||
ECreditCardType creditCardType;
|
||||
if (((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, IAddress**, ECreditCardType*, ushort**, ushort**, ushort**, ushort**, ushort**, ushort**, ushort**, ushort**, _SYSTEMTIME*, int>)(*(ulong*)(*(long*)pAddress + 32)))((nint)pAddress, (IAddress**)(&cComPtrNtv_003CIAddress_003E), &creditCardType, (ushort**)(&wBSTRString), (ushort**)(&wBSTRString2), (ushort**)(&wBSTRString3), (ushort**)(&wBSTRString4), (ushort**)(&wBSTRString5), (ushort**)(&wBSTRString6), (ushort**)(&wBSTRString7), (ushort**)(&wBSTRString8), &stValue) >= 0)
|
||||
{
|
||||
@@ -276,81 +276,81 @@ namespace Microsoft.Zune.Service
|
||||
m_email = new string((char*)(*(ulong*)(&wBSTRString6)));
|
||||
m_contactFirstName = new string((char*)(*(ulong*)(&wBSTRString7)));
|
||||
m_contactLastName = new string((char*)(*(ulong*)(&wBSTRString8)));
|
||||
DateTime dateTime = (m_expirationDate = _003CModule_003E.SystemTimeToDateTime(stValue));
|
||||
DateTime dateTime = (m_expirationDate = Module.SystemTimeToDateTime(stValue));
|
||||
m_parentCreditCard = ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, byte>)(*(ulong*)(*(long*)pAddress + 48)))((nint)pAddress) != 0;
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString8);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString8);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString8);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString8);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString7);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString7);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString7);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString7);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString6);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString6);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString6);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString6);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString5);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString5);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString5);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString5);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString4);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString4);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString4);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString4);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString3);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString3);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString3);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString3);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString2);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString2);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString2);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString2);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&_003CModule_003E.WBSTRString_002E_007Bdtor_007D), &wBSTRString);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<WBSTRString*, void>)(&Module.WBSTRString_002E_007Bdtor_007D), &wBSTRString);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.WBSTRString_002E_007Bdtor_007D(&wBSTRString);
|
||||
Module.WBSTRString_002E_007Bdtor_007D(&wBSTRString);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//try-fault
|
||||
_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIAddress_003E*, void>)(&_003CModule_003E.CComPtrNtv_003CIAddress_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIAddress_003E);
|
||||
Module.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CComPtrNtv_003CIAddress_003E*, void>)(&Module.CComPtrNtv_003CIAddress_003E_002E_007Bdtor_007D), &cComPtrNtv_003CIAddress_003E);
|
||||
throw;
|
||||
}
|
||||
_003CModule_003E.CComPtrNtv_003CIAddress_003E_002ERelease(&cComPtrNtv_003CIAddress_003E);
|
||||
Module.CComPtrNtv_003CIAddress_003E_002ERelease(&cComPtrNtv_003CIAddress_003E);
|
||||
}
|
||||
|
||||
public CreditCard(string id, Address address, CreditCardType creditCardType, string accountHolderName, string accountNumber, string ccvNumber, DateTime expirationDate, string phonePrefix, string phoneNumber, string phoneExtension)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user