12345678910111213141516171819202122232425262728293031323334353637 |
- //------------------------------------------------------------------------------
- // <copyright file="IPersistStreamInit.cs" company="Microsoft">
- // Copyright (c) Microsoft Corporation. All rights reserved.
- // </copyright>
- //------------------------------------------------------------------------------
- using System;
- using System.Runtime.InteropServices;
- using System.Security;
- namespace Experimental.System.Messaging.Interop
- {
- [ComImport(),
- Guid("7FD52380-4E07-101B-AE2D-08002B2EC713"),
- InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
- internal interface IPersistStreamInit
- {
- [SuppressUnmanagedCodeSecurity()]
- void GetClassID([Out] out Guid pClassID);
- [SuppressUnmanagedCodeSecurity()]
- int IsDirty();
- [SuppressUnmanagedCodeSecurity()]
- void Load([In, MarshalAs(UnmanagedType.Interface)] IStream pstm);
- [SuppressUnmanagedCodeSecurity()]
- void Save([In, MarshalAs(UnmanagedType.Interface)] IStream pstm,
- [In, MarshalAs(UnmanagedType.Bool)] bool fClearDirty);
- [SuppressUnmanagedCodeSecurity()]
- long GetSizeMax();
- [SuppressUnmanagedCodeSecurity()]
- void InitNew();
- }
- }
|