+2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+ * IRegistrationServices.cs:
+ * ITypeLibConverter.cs:
+ * ITypeLibExporterNameProvider.cs:
+ * ITypeLibExporterNotifySink.cs:
+ * ITypeLibImporterNotifySink.cs: Added missing attribute
+ * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
+ * UCOMIConnectionPoint.cs:
+ * UCOMIConnectionPointContainer.cs:
+ * UCOMIEnumConnectionPoints.cs:
+ * UCOMIEnumConnections.cs:
+ * UCOMIEnumMoniker.cs:
+ * UCOMIEnumString.cs:
+ * UCOMIEnumVARIANT.cs:
+ * UCOMIMoniker.cs:
+ * UCOMIPersistFile.cs:
+ * UCOMIRunningObjectTable.cs:
+ * UCOMIStream.cs:
+ * UCOMITypeComp.cs:
+ * UCOMITypeInfo.cs:
+ * UCOMITypeLib.cs: Added missing attribute
+
2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* UCOMIBindCtx.cs: Added and implemented
\r
namespace System.Runtime.InteropServices {\r
\r
- //[Guid("")]\r
+ [Guid("CCBD682C-73A5-4568-B8B0-C7007E11ABA2")]\r
public interface IRegistrationServices {\r
Guid GetManagedCategoryGuid ();\r
string GetProgIdForType (Type type);\r
\r
namespace System.Runtime.InteropServices {\r
\r
- //[Guid("")]\r
+ [Guid("F1C3BF78-C3E4-11D3-88E7-00902754C43A")]\r
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]\r
public interface ITypeLibConverter {\r
object ConvertAssemblyToTypeLib (Assembly assembly, string typeLibName, TypeLibExporterFlags flags, ITypeLibExporterNotifySink notifySink);\r
\r
namespace System.Runtime.InteropServices {\r
\r
- //[Guid("")]\r
+ [Guid("fa1f3615-acb9-486d-9eac-1bef87e36b09")]\r
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]\r
public interface ITypeLibExporterNameProvider {\r
string[] GetNames ();\r
\r
namespace System.Runtime.InteropServices {\r
\r
- //[Guid("")]\r
+ [Guid("f1c3bf77-c3e4-11d3-88e7-00902754c43a")]\r
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]\r
public interface ITypeLibExporterNotifySink {\r
void ReportEvent (ExporterEventKind eventKind, int eventCode, string eventMsg);\r
\r
namespace System.Runtime.InteropServices {\r
\r
- //[Guid("")]\r
+ [Guid("f1c3bf76-c3e4-11d3-88e7-00902754c43a")]\r
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]\r
public interface ITypeLibImporterNotifySink {\r
void ReportEvent(ImporterEventKind eventKind, int eventCode, string eventMsg);\r
namespace System.Runtime.InteropServices
{
+ [Guid ("0000000e-0000-0000-c000-000000000046")]
[InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIBindCtx
{
void ReleaseBoundObjects ();
void RevokeObjectBound (object punk);
void RevokeObjectParam (string pszKey);
- void SetBindOptions (ref BIND_OPTS pbindopts);
+ void SetBindOptions ([In] ref BIND_OPTS pbindopts);
}
}
namespace System.Runtime.InteropServices
{
+ [Guid ("b196b286-bab4-101a-b69c-00aa00341d07")]
[InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIConnectionPoint
{
namespace System.Runtime.InteropServices
{
+ [Guid ("b196b284-bab4-101a-b69c-00aa00341d07")]
[InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIConnectionPointContainer
{
namespace System.Runtime.InteropServices
{
+ [Guid ("b196b285-bab4-101a-b69c-00aa00341d07")]
[InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIEnumConnectionPoints
{
void Clone (ref UCOMIEnumConnectionPoints ppenum);
- int Next (int celt, UCOMIConnectionPoint[] rgelt, ref int pceltFetched);
+ int Next (int celt,out UCOMIConnectionPoint[] rgelt, ref int pceltFetched);
int Reset ();
int Skip (int celt);
}
namespace System.Runtime.InteropServices
{
+ [Guid ("b196b287-bab4-101a-b69c-00aa00341d07")]
[InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIEnumConnections
{
void Clone (ref UCOMIEnumConnections ppenum);
- int Next (int celt, CONNECTDATA[] rgelt, ref int pceltFetched);
+ int Next (int celt, out CONNECTDATA[] rgelt, ref int pceltFetched);
void Reset ();
int Skip (int celt);
}
namespace System.Runtime.InteropServices
{
+ [Guid ("00000102-0000-0000-c000-000000000046")]
[InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIEnumMoniker
{
void Clone (ref UCOMIEnumMoniker ppenum);
- int Next (int celt, UCOMIMoniker[] rgelt, ref int pceltFetched);
+ int Next (int celt, out UCOMIMoniker[] rgelt, ref int pceltFetched);
int Reset ();
int Skip (int celt);
}
namespace System.Runtime.InteropServices
{
+ [Guid ("00000101-0000-0000-c000-000000000046")]
[InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIEnumString
{
void Clone (ref UCOMIEnumString ppenum);
- int Next (int celt, string[] rgelt, ref int pceltFetched);
+ int Next (int celt, out string[] rgelt, ref int pceltFetched);
int Reset ();
int Skip (int celt);
}
namespace System.Runtime.InteropServices
{
+ [Guid ("00020404-0000-0000-c000-000000000046")]
[InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIEnumVARIANT
{
namespace System.Runtime.InteropServices
{
+ [Guid ("0000000f-0000-0000-c000-000000000046")]
[InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIMoniker
{
- void BindToObject (UCOMIBindCtx pbc, UCOMIMoniker pmkToLeft, ref Guid riidResult, ref object ppvResult);
- void BindToStorage (UCOMIBindCtx pbc, UCOMIMoniker pmkToLeft, ref Guid riid, ref object ppvObj);
+ void BindToObject (UCOMIBindCtx pbc, UCOMIMoniker pmkToLeft, [In] ref Guid riidResult, ref object ppvResult);
+ void BindToStorage (UCOMIBindCtx pbc, UCOMIMoniker pmkToLeft, [In] ref Guid riid, ref object ppvObj);
void CommonPrefixWith (UCOMIMoniker pmkOther, ref UCOMIMoniker ppmkPrefix);
void ComposeWith (UCOMIMoniker pmkRight, bool fOnlyIfNotGeneric, ref UCOMIMoniker ppmkComposite);
void Enum (bool fForward, ref UCOMIEnumMoniker ppenumMoniker);
namespace System.Runtime.InteropServices
{
+ [Guid ("0000010b-0000-0000-c000-000000000046")]
[InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIPersistFile
{
namespace System.Runtime.InteropServices
{
+ [Guid ("00000010-0000-0000-c000-000000000046")]
[InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIRunningObjectTable
{
namespace System.Runtime.InteropServices
{
+ [Guid ("0000000c-0000-0000-c000-000000000046")]
[InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIStream
{
void Commit (int grfCommitFlags);
void CopyTo (UCOMIStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten);
void LockRegion (long libOffset, long cb, int dwLockType);
- void Read (byte[] pv, int cb, IntPtr pcbRead);
+ void Read (out byte[] pv, int cb, IntPtr pcbRead);
void Revert ();
void Seek (long dlibMove, int dwOrigin, IntPtr plibNewPosition);
void SetSize (long libNewSize);
-// System.Runtime.InteropServices/UCOMITypeComp.cs
+// System.Runtime.InteropServices.UCOMITypeComp.cs
//
// Paolo Molaro (lupus@ximian.com)
//
namespace System.Runtime.InteropServices
{
- //[Guid("")]
+ [Guid("00020403-0000-0000-c000-000000000046")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMITypeComp {
void Bind( string szName, int lHashVal, short wFlags, out UCOMITypeInfo ppTInfo, out DESCKIND pDescKind, out BINDPTR pBindPtr);
-// System.Runtime.InteropServices/UCOMITypeInfo.cs
+// System.Runtime.InteropServices.UCOMITypeInfo.cs
//
// Paolo Molaro (lupus@ximian.com)
//
namespace System.Runtime.InteropServices
{
- //[Guid("")]
+ [Guid("00020401-0000-0000-c000-000000000046")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMITypeInfo {
void AddressOfMember (int memid, INVOKEKIND invKind, out IntPtr ppv);
void GetDllEntry (int memid, INVOKEKIND invKind, out string pBstrDllName, out string pBstrName, out short pwOrdinal);
void GetDocumentation (int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile);
void GetFuncDesc (int index, out IntPtr ppFuncDesc);
- void GetIDsOfNames (string[] rgszNames, int cNames, int[] pMemId);
+ void GetIDsOfNames ([In] string[] rgszNames, int cNames, out int[] pMemId);
void GetImplTypeFlags (int index, out int pImplTypeFlags);
void GetMops (int memid, out string pBstrMops);
- void GetNames (int memid, string[] rgBstrNames, int cMaxNames, out int pcNames);
+ void GetNames (int memid, out string[] rgBstrNames, int cMaxNames, out int pcNames);
void GetRefTypeInfo (int hRef, out UCOMITypeInfo ppTI);
void GetRefTypeOfImplType (int index, out int href);
void GetTypeAttr (out IntPtr ppTypeAttr);
-// System.Runtime.InteropServices/UCOMITypeLib.cs
+// System.Runtime.InteropServices.UCOMITypeLib.cs
//
// Paolo Molaro (lupus@ximian.com)
//
namespace System.Runtime.InteropServices
{
- //[Guid("")]
+ [Guid("00020402-0000-0000-c000-000000000046")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMITypeLib {
- void FindName( string szNameBuf, int lHashVal, UCOMITypeInfo[] ppTInfo, int[] rgMemId, ref short pcFound);
+ void FindName( string szNameBuf, int lHashVal, out UCOMITypeInfo[] ppTInfo, out int[] rgMemId, ref short pcFound);
void GetDocumentation( int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile);
void GetLibAttr( out IntPtr ppTLibAttr);
void GetTypeComp( out UCOMITypeComp ppTComp);