private void method_0() { Interface40 interface2; int num = 0x13; int errorCode = Class359.CreateILockBytesOnHGlobal(IntPtr.Zero, true, out this.interface65_0); if (errorCode != 0) { throw new ExternalException(BookmarkStart.b("稸娺匼ᠾ㕀捂♄㕆ⱈ⩊㥌⩎煐ὒ㩔㑖㉘ᥚ⭞Ѡၢ䭤", num), errorCode); } errorCode = Class359.StgCreateDocfileOnILockBytes(this.interface65_0, STGM.STGM_CREATE | STGM.STGM_SHARE_EXCLUSIVE | STGM.STGM_READWRITE, 0, out interface2); if (errorCode != 0) { throw new ExternalException(BookmarkStart.b("稸娺匼ᠾ㕀捂♄㕆ⱈ⩊㥌⩎煐⁒⅔㡖⭘㩚㩜㩞䅠ౢ䝦❪ɬ౮ᩰㅲͶᱸࡺ卼", num), errorCode); } this.class1005_0 = new Class1005(interface2); }
public static Stream12 smethod_2() { Interface65 interface2; Interface40 interface3; int num = 15; int errorCode = Class359.CreateILockBytesOnHGlobal(IntPtr.Zero, true, out interface2); if (errorCode != 0) { throw new ExternalException(BookmarkStart.b("瘴嘶圸䤼Ἶ≀ㅂ⁄♆㵈⹊浌͎㹐げ㹔ᕖ⁘⽚㡜ⱞ你", num), errorCode); } errorCode = Class359.StgCreateDocfileOnILockBytes(interface2, STGM.STGM_CREATE | STGM.STGM_SHARE_EXCLUSIVE | STGM.STGM_READWRITE, 0, out interface3); if (errorCode != 0) { throw new ExternalException(BookmarkStart.b("瘴嘶圸䤼Ἶ≀ㅂ⁄♆㵈⹊浌㱎═㱒❔㙖㹘㹚絜ぞའ䍢Ɽ⭦٨ࡪ٬ࡰݲၴѶ坸", num), errorCode); } return(new Stream12 { interface40_0 = interface3, interface65_0 = interface2 }); }
private void method_2(Stream A_0) { uint num2; Interface40 interface2; int num3 = 0x10; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("䔵䰷䠹夻弽ⴿ", num3)); } Class359.CreateILockBytesOnHGlobal(IntPtr.Zero, true, out this.interface65_0); int count = (int)(A_0.Length - A_0.Position); byte[] buffer = new byte[count]; A_0.Read(buffer, 0, count); this.interface65_0.imethod_1(0L, buffer, (uint)buffer.Length, out num2); this.interface65_0.imethod_2(); Class359.StgOpenStorageOnILockBytes(this.interface65_0, null, STGM.STGM_DIRECT_SWMR | STGM.STGM_SHARE_DENY_NONE, 0, 0, out interface2); this.class1005_0 = new Class1005(interface2); }
public Stream12(Stream A_0, STGM A_1) { uint num3; int num4 = 7; this.long_0 = -1L; this.list_0 = new List <string>(); this.list_1 = new List <string>(); if (A_0 is Stream12) { throw new ArgumentException(BookmarkStart.b("搬嬮ᄰ娲䘴᜶樸伺娼氾㕀ㅂ⁄♆⑈歊ⱌ⍎⍐㙒㑔㍖⁘畚", num4)); } int errorCode = Class359.CreateILockBytesOnHGlobal(IntPtr.Zero, true, out this.interface65_0); if (errorCode != 0) { throw new ExternalException(BookmarkStart.b("測丮弰ᐲ䄴᜶娸䤺堼帾㕀♂敄♈⡊♌ൎ⡐❒ご睘", num4), errorCode); } int count = (int)(A_0.Length - A_0.Position); byte[] buffer = new byte[count]; A_0.Read(buffer, 0, count); errorCode = this.interface65_0.imethod_1(0L, buffer, (uint)buffer.Length, out num3); if (errorCode != 0) { throw new ExternalException(BookmarkStart.b("測丮弰ᐲ䄴᜶丸䤺吼䬾⑀捂ॄ⡆⩈⁊ཌ㙎═㙒♔祖", num4), errorCode); } errorCode = this.interface65_0.imethod_2(); if (errorCode != 0) { throw new ExternalException(BookmarkStart.b("測丮弰ᐲ䄴᜶弸场䠼䰾⥀捂ॄ⡆⩈⁊ཌ㙎═㙒♔祖", num4), errorCode); } errorCode = Class359.StgOpenStorageOnILockBytes(this.interface65_0, null, A_1, 0, 0, out this.interface40_0); if (errorCode != 0) { throw new ExternalException(BookmarkStart.b("測丮弰ᐲ䄴᜶嘸䬺堼儾慀あㅄ⡆㭈⩊⩌⩎煐㱒㭔睖ᕘ㑚㹜㑞⍠ᩢᅤɦᩨ䕪", num4), errorCode); } this.method_27(); this.stgm_5 = A_1; }