mirror of https://github.com/dahall/Vanara.git
Where appropriate, added derivation from IComEnumerator<T> to COM interfaces supporting pattern.
parent
7fc504f470
commit
020c45207f
|
@ -1085,7 +1085,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/desktop/api/objidl/nn-objidl-ienumcontextprops
|
||||
[PInvokeData("objidl.h", MSDNShortId = "64591e45-5478-4360-8c1f-08b09b5aef8e")]
|
||||
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("000001c1-0000-0000-C000-000000000046")]
|
||||
public interface IEnumContextProps
|
||||
public interface IEnumContextProps : IComEnumerator<ContextProperty>
|
||||
{
|
||||
/// <summary>Retrieves the specified number of items in the enumeration sequence.</summary>
|
||||
/// <param name="celt">
|
||||
|
@ -1106,7 +1106,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/desktop/api/objidl/nf-objidl-ienumcontextprops-next HRESULT Next( ULONG celt,
|
||||
// ContextProperty *pContextProperties, ULONG *pceltFetched );
|
||||
[PreserveSig]
|
||||
HRESULT Next(uint celt, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ContextProperty[] pContextProperties,
|
||||
HRESULT Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] ContextProperty[] pContextProperties,
|
||||
out uint pceltFetched);
|
||||
|
||||
/// <summary>Skips over the specified number of items in the enumeration sequence.</summary>
|
||||
|
@ -1156,7 +1156,7 @@ namespace Vanara.PInvoke
|
|||
/// </summary>
|
||||
[ComImport, Guid("0000000D-0000-0000-C000-000000000046"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[PInvokeData("Objidl.h", MSDNShortId = "aa379217")]
|
||||
public interface IEnumSTATSTG
|
||||
public interface IEnumSTATSTG : IComEnumerator<STATSTG>
|
||||
{
|
||||
/// <summary>
|
||||
/// The Next method retrieves a specified number of STATSTG structures, that follow in the enumeration sequence. If there are
|
||||
|
@ -1173,7 +1173,7 @@ namespace Vanara.PInvoke
|
|||
/// </returns>
|
||||
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
HRESULT Next([In] uint celt,
|
||||
[Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] STATSTG[] rgelt,
|
||||
[Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] STATSTG[] rgelt,
|
||||
out uint pceltFetched);
|
||||
|
||||
/// <summary>Skips a specified number of STATSTG structures in the enumeration sequence.</summary>
|
||||
|
@ -1225,7 +1225,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/desktop/api/objidl/nf-objidl-ienumunknown-next HRESULT Next( ULONG celt, IUnknown
|
||||
// **rgelt, ULONG *pceltFetched );
|
||||
[PreserveSig]
|
||||
HRESULT Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] IntPtr[] rgelt, out uint pceltFetched);
|
||||
HRESULT Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] IntPtr[] rgelt, out uint pceltFetched);
|
||||
|
||||
/// <summary>Skips over the specified number of items in the enumeration sequence.</summary>
|
||||
/// <param name="celt">The number of items to be skipped.</param>
|
||||
|
|
|
@ -894,7 +894,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/win32/api/oleidl/nn-oleidl-ienumoleverb
|
||||
[PInvokeData("oleidl.h", MSDNShortId = "fc9b3474-6f56-4274-af7d-72e0920c0457")]
|
||||
[ComImport, Guid("00000104-0000-0000-C000-000000000046"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface IEnumOLEVERB
|
||||
public interface IEnumOLEVERB : IComEnumerator<OLEVERB>
|
||||
{
|
||||
/// <summary>Retrieves the specified number of items in the enumeration sequence.</summary>
|
||||
/// <param name="celt">
|
||||
|
@ -918,7 +918,7 @@ namespace Vanara.PInvoke
|
|||
[PInvokeData("oleidl.h", MSDNShortId = "bb934017-9054-42b5-89d4-a24f12829503")]
|
||||
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
HRESULT Next([In] uint celt,
|
||||
[Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] OLEVERB[] rgelt,
|
||||
[Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] OLEVERB[] rgelt,
|
||||
out uint pceltFetched);
|
||||
|
||||
/// <summary>Skips over the specified number of items in the enumeration sequence.</summary>
|
||||
|
|
|
@ -115,7 +115,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nn-propidl-ienumstatpropsetstg
|
||||
[PInvokeData("propidl.h", MSDNShortId = "0000013B-0000-0000-C000-000000000046")]
|
||||
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("0e6d4d92-6738-11cf-9608-00aa00680db4")]
|
||||
public interface IEnumSTATPROPSETSTG
|
||||
public interface IEnumSTATPROPSETSTG : IComEnumerator<STATPROPSETSTG>
|
||||
{
|
||||
/// <summary>
|
||||
/// The <c>Next</c> method retrieves a specified number of STATPROPSETSTG structures that follow subsequently in the enumeration
|
||||
|
@ -146,7 +146,7 @@ namespace Vanara.PInvoke
|
|||
// STATPROPSETSTG *rgelt, ULONG *pceltFetched );
|
||||
[PInvokeData("propidl.h", MSDNShortId = "3af3c518-3db4-4436-b1c1-86587ce8fbf3")]
|
||||
[PreserveSig]
|
||||
HRESULT Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] STATPROPSETSTG[] rgelt, out uint pceltFetched);
|
||||
HRESULT Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] STATPROPSETSTG[] rgelt, out uint pceltFetched);
|
||||
|
||||
/// <summary>The <c>Skip</c> method skips a specified number of STATPROPSETSTG structures in the enumeration sequence.</summary>
|
||||
/// <param name="celt">The number of STATPROPSETSTG structures to skip.</param>
|
||||
|
@ -201,7 +201,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/desktop/api/propidlbase/nn-propidlbase-ienumstatpropstg
|
||||
[PInvokeData("propidlbase.h", MSDNShortId = "e625e52a-5628-4d18-9282-aa1c141c83af")]
|
||||
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("00000139-0000-0000-C000-000000000046")]
|
||||
public interface IEnumSTATPROPSTG
|
||||
public interface IEnumSTATPROPSTG : IComEnumerator<STATPROPSTG>
|
||||
{
|
||||
/// <summary>
|
||||
/// The <c>Next</c> method retrieves a specified number of STATPROPSTG structures, that follow subsequently in the enumeration
|
||||
|
@ -232,7 +232,7 @@ namespace Vanara.PInvoke
|
|||
// STATPROPSTG *rgelt, ULONG *pceltFetched );
|
||||
[PInvokeData("propidl.h", MSDNShortId = "8e911da9-0056-4267-b9d0-c4ba929ddb94")]
|
||||
[PreserveSig]
|
||||
HRESULT Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] STATPROPSTG[] rgelt, out uint pceltFetched);
|
||||
HRESULT Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] STATPROPSTG[] rgelt, out uint pceltFetched);
|
||||
|
||||
/// <summary>The <c>Skip</c> method skips the specified number of STATPROPSTG structures in the enumeration sequence.</summary>
|
||||
/// <param name="celt">The number of STATPROPSTG structures to skip.</param>
|
||||
|
|
|
@ -1225,7 +1225,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/win32/api/wia_xp/nn-wia_xp-ienumwia_dev_caps
|
||||
[PInvokeData("wia_xp.h")]
|
||||
[ComImport, Guid("1fcc4287-aca6-11d2-a093-00c04f72dc3c"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface IEnumWIA_DEV_CAPS
|
||||
public interface IEnumWIA_DEV_CAPS : IComEnumerator<WIA_DEV_CAP>
|
||||
{
|
||||
/// <summary>The <c>IEnumWIA_DEV_CAPS::Next</c> method fills an array of pointers to WIA_DEV_CAP structures.</summary>
|
||||
/// <param name="celt">Specifies the number of array elements in the array indicated by the rgelt parameter.</param>
|
||||
|
@ -1254,7 +1254,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/win32/api/wia_xp/nf-wia_xp-ienumwia_dev_caps-next HRESULT Next( ULONG celt,
|
||||
// WIA_DEV_CAP *rgelt, ULONG *pceltFetched );
|
||||
[PreserveSig]
|
||||
HRESULT Next(uint celt, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] WIA_DEV_CAP[] rgelt, out uint pceltFetched);
|
||||
HRESULT Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] WIA_DEV_CAP[] rgelt, out uint pceltFetched);
|
||||
|
||||
/// <summary>
|
||||
/// The <c>IEnumWIA_DEV_CAPS::Skip</c> method skips the specified number of hardware device capabilities during an enumeration
|
||||
|
@ -1329,7 +1329,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/win32/api/wia_xp/nf-wia_xp-ienumwia_dev_info-next HRESULT Next( ULONG celt,
|
||||
// IWiaPropertyStorage **rgelt, ULONG *pceltFetched );
|
||||
[PreserveSig]
|
||||
HRESULT Next(uint celt, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] IWiaPropertyStorage[] rgelt, out uint pceltFetched);
|
||||
HRESULT Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.Interface, SizeParamIndex = 2)] IWiaPropertyStorage[] rgelt, out uint pceltFetched);
|
||||
|
||||
/// <summary>
|
||||
/// The <c>IEnumWIA_DEV_INFO::Skip</c> method skips the specified number of hardware devices during an enumeration of available devices.
|
||||
|
@ -1380,7 +1380,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/win32/api/wia_xp/nn-wia_xp-ienumwia_format_info
|
||||
[PInvokeData("wia_xp.h")]
|
||||
[ComImport, Guid("81BEFC5B-656D-44f1-B24C-D41D51B4DC81"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface IEnumWIA_FORMAT_INFO
|
||||
public interface IEnumWIA_FORMAT_INFO : IComEnumerator<WIA_FORMAT_INFO>
|
||||
{
|
||||
/// <summary>The <c>IEnumWIA_FORMAT_INFO::Next</c> method returns an array of WIA_FORMAT_INFO structures.</summary>
|
||||
/// <param name="celt">Specifies the number of elements requested.</param>
|
||||
|
@ -1397,7 +1397,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/win32/api/wia_xp/nf-wia_xp-ienumwia_format_info-next HRESULT Next( ULONG celt,
|
||||
// WIA_FORMAT_INFO *rgelt, ULONG *pceltFetched );
|
||||
[PreserveSig]
|
||||
HRESULT Next(uint celt, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] WIA_FORMAT_INFO[] rgelt, out uint pceltFetched);
|
||||
HRESULT Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] WIA_FORMAT_INFO[] rgelt, out uint pceltFetched);
|
||||
|
||||
/// <summary>The <c>IEnumWIA_FORMAT_INFO::Skip</c> method skips the specified number of structures in the enumeration.</summary>
|
||||
/// <param name="celt">Specifies the number of structures to skip.</param>
|
||||
|
@ -1488,7 +1488,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/win32/api/wia_xp/nf-wia_xp-ienumwiaitem-next HRESULT Next( ULONG celt, IWiaItem
|
||||
// **ppIWiaItem, ULONG *pceltFetched );
|
||||
[PreserveSig]
|
||||
HRESULT Next(uint celt, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] IWiaItem[] rgelt, out uint pceltFetched);
|
||||
HRESULT Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] IWiaItem[] rgelt, out uint pceltFetched);
|
||||
|
||||
/// <summary>
|
||||
/// The <c>IEnumWiaItem::Skip</c> method skips the specified number of items during an enumeration of available IWiaItem objects.
|
||||
|
|
Loading…
Reference in New Issue