mirror of https://github.com/dahall/Vanara.git
Fixed documentation
parent
a127151135
commit
c11860bf0c
|
@ -2031,7 +2031,6 @@ namespace Vanara.PInvoke
|
||||||
/// </item>
|
/// </item>
|
||||||
/// </list>
|
/// </list>
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="">The .</param>
|
|
||||||
/// <param name="ppUnkInner">
|
/// <param name="ppUnkInner">
|
||||||
/// On successful return, address of pointer to the IUnknown interface on the newly-created aggregated standard marshaler. If an
|
/// On successful return, address of pointer to the IUnknown interface on the newly-created aggregated standard marshaler. If an
|
||||||
/// error occurs, this value is <c>NULL</c>.
|
/// error occurs, this value is <c>NULL</c>.
|
||||||
|
@ -2516,19 +2515,29 @@ namespace Vanara.PInvoke
|
||||||
[PInvokeData("combaseapi.h", MSDNShortId = "e9e7c5a3-70ec-4a68-ac21-1ab6774d140f")]
|
[PInvokeData("combaseapi.h", MSDNShortId = "e9e7c5a3-70ec-4a68-ac21-1ab6774d140f")]
|
||||||
public static extern HRESULT CoQueryAuthenticationServices(out uint pcAuthSvc, out SafeCoTaskMemHandle asAuthSvc);
|
public static extern HRESULT CoQueryAuthenticationServices(out uint pcAuthSvc, out SafeCoTaskMemHandle asAuthSvc);
|
||||||
|
|
||||||
/// <summary> Retrieves a list of the authentication services registered when the process called CoInitializeSecurity. </summary>
|
/// <summary>Retrieves a list of the authentication services registered when the process called CoInitializeSecurity.</summary>
|
||||||
/// <returns>An array of SOLE_AUTHENTICATION_SERVICE structures.</returns> <remarks> <c>CoQueryAuthenticationServices</c> retrieves a
|
/// <returns>
|
||||||
/// list of the authentication services currently registered. If the process calls CoInitializeSecurity, these are the services
|
/// An array of SOLE_AUTHENTICATION_SERVICE structures.
|
||||||
/// registered through that call. If the application does not call it, <c>CoInitializeSecurity</c> is called automatically by COM,
|
/// </returns>
|
||||||
/// registering the default security package, the first time an interface is marshaled or unmarshaled.</para><para>This function
|
/// <remarks>
|
||||||
/// returns only the authentication services registered with CoInitializeSecurity. It does not return all of the authentication
|
/// <para>
|
||||||
/// services installed on the computer, but EnumerateSecurityPackages does. <c>CoQueryAuthenticationServices</c> is primarily useful
|
/// <c>CoQueryAuthenticationServices</c> retrieves a list of the authentication services currently registered. If the process calls
|
||||||
/// for custom marshalers, to determine which principal names an application can use.</para><para>Different authentication services
|
/// CoInitializeSecurity, these are the services registered through that call. If the application does not call it,
|
||||||
/// support different levels of security. For example, NTLMSSP does not support delegation or mutual authentication while Kerberos
|
/// <c>CoInitializeSecurity</c> is called automatically by COM, registering the default security package, the first time an interface
|
||||||
/// does. The application is responsible only for registering authentication services that provide the features the application
|
/// is marshaled or unmarshaled.
|
||||||
/// needs. This function provides a way to find out which services have been registered with CoInitializeSecurity. </remarks>
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// This function returns only the authentication services registered with CoInitializeSecurity. It does not return all of the
|
||||||
|
/// authentication services installed on the computer, but EnumerateSecurityPackages does. <c>CoQueryAuthenticationServices</c> is
|
||||||
|
/// primarily useful for custom marshalers, to determine which principal names an application can use.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// Different authentication services support different levels of security. For example, NTLMSSP does not support delegation or
|
||||||
|
/// mutual authentication while Kerberos does. The application is responsible only for registering authentication services that
|
||||||
|
/// provide the features the application needs. This function provides a way to find out which services have been registered with CoInitializeSecurity.
|
||||||
|
/// </para>
|
||||||
|
/// </remarks>
|
||||||
// https://docs.microsoft.com/en-us/windows/desktop/api/combaseapi/nf-combaseapi-coqueryauthenticationservices HRESULT
|
// https://docs.microsoft.com/en-us/windows/desktop/api/combaseapi/nf-combaseapi-coqueryauthenticationservices HRESULT
|
||||||
// CoQueryAuthenticationServices( DWORD *pcAuthSvc, SOLE_AUTHENTICATION_SERVICE **asAuthSvc );
|
|
||||||
[PInvokeData("combaseapi.h", MSDNShortId = "e9e7c5a3-70ec-4a68-ac21-1ab6774d140f")]
|
[PInvokeData("combaseapi.h", MSDNShortId = "e9e7c5a3-70ec-4a68-ac21-1ab6774d140f")]
|
||||||
public static SOLE_AUTHENTICATION_SERVICE[] CoQueryAuthenticationServices() { CoQueryAuthenticationServices(out var c, out var a).ThrowIfFailed(); return a.ToArray<SOLE_AUTHENTICATION_SERVICE>((int)c); }
|
public static SOLE_AUTHENTICATION_SERVICE[] CoQueryAuthenticationServices() { CoQueryAuthenticationServices(out var c, out var a).ThrowIfFailed(); return a.ToArray<SOLE_AUTHENTICATION_SERVICE>((int)c); }
|
||||||
|
|
||||||
|
@ -2544,8 +2553,7 @@ namespace Vanara.PInvoke
|
||||||
/// A pointer to a variable that receives the current authorization service. This will be a single value taken from the authorization
|
/// A pointer to a variable that receives the current authorization service. This will be a single value taken from the authorization
|
||||||
/// constants. If the caller specifies <c>NULL</c>, the current authorization service is not retrieved.
|
/// constants. If the caller specifies <c>NULL</c>, the current authorization service is not retrieved.
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="StringBuilder">The string builder.</param>
|
/// <param name="pServerPrincName">The string builder.</param>
|
||||||
/// <param name="">The .</param>
|
|
||||||
/// <param name="pAuthnLevel">
|
/// <param name="pAuthnLevel">
|
||||||
/// A pointer to a variable that receives the current authentication level. This will be a single value taken from the authentication
|
/// A pointer to a variable that receives the current authentication level. This will be a single value taken from the authentication
|
||||||
/// level constants. If the caller specifies <c>NULL</c>, the current authentication level is not retrieved.
|
/// level constants. If the caller specifies <c>NULL</c>, the current authentication level is not retrieved.
|
||||||
|
|
|
@ -112,26 +112,18 @@ namespace Vanara.PInvoke
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nn-propidl-ienumstatpropsetstg
|
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nn-propidl-ienumstatpropsetstg
|
||||||
[PInvokeData("propidl.h", MSDNShortId = "8d5e658f-312c-4c91-8794-808b2e8dd182")]
|
[PInvokeData("propidl.h", MSDNShortId = "0000013B-0000-0000-C000-000000000046")]
|
||||||
[ComImport, Guid("0000013B-0000-0000-C000-000000000046"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("0e6d4d92-6738-11cf-9608-00aa00680db4")]
|
||||||
public interface IEnumSTATPROPSETSTG
|
public interface IEnumSTATPROPSETSTG
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>
|
|
||||||
/// The <c>Next</c> method retrieves a specified number of STATPROPSETSTG structures that follow subsequently in the enumeration
|
/// The <c>Next</c> method retrieves a specified number of STATPROPSETSTG structures that follow subsequently in the enumeration
|
||||||
/// sequence. If fewer than the requested number of STATPROPSETSTG structures exist in the enumeration sequence, it retrieves the
|
/// sequence. If fewer than the requested number of STATPROPSETSTG structures exist in the enumeration sequence, it retrieves the
|
||||||
/// remaining <c>STATPROPSETSTG</c> structures.
|
/// remaining <c>STATPROPSETSTG</c> structures.
|
||||||
/// </para>
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="celt">
|
/// <param name="celt">The number of STATPROPSETSTG structures requested.</param>
|
||||||
/// <para>The number of STATPROPSETSTG structures requested.</para>
|
/// <param name="rgelt">An array of STATPROPSETSTG structures returned.</param>
|
||||||
/// </param>
|
/// <param name="pceltFetched">The number of STATPROPSETSTG structures retrieved in the rgelt parameter.</param>
|
||||||
/// <param name="rgelt">
|
|
||||||
/// <para>An array of STATPROPSETSTG structures returned.</para>
|
|
||||||
/// </param>
|
|
||||||
/// <param name="pceltFetched">
|
|
||||||
/// <para>The number of STATPROPSETSTG structures retrieved in the parameter.</para>
|
|
||||||
/// </param>
|
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// <para>This method supports the following return values:</para>
|
/// <para>This method supports the following return values:</para>
|
||||||
/// <list type="table">
|
/// <list type="table">
|
||||||
|
@ -141,87 +133,46 @@ namespace Vanara.PInvoke
|
||||||
/// </listheader>
|
/// </listheader>
|
||||||
/// <item>
|
/// <item>
|
||||||
/// <term>S_OK</term>
|
/// <term>S_OK</term>
|
||||||
/// <term>The number of STATPROPSETSTG structures returned equals the number specified in the parameter.</term>
|
/// <term>The number of STATPROPSETSTG structures returned equals the number specified in the celt parameter.</term>
|
||||||
/// </item>
|
/// </item>
|
||||||
/// <item>
|
/// <item>
|
||||||
/// <term>S_FALSE</term>
|
/// <term>S_FALSE</term>
|
||||||
/// <term>The number of STATPROPSETSTG structures returned is less than the number specified in the parameter.</term>
|
/// <term>The number of STATPROPSETSTG structures returned is less than the number specified in the celt parameter.</term>
|
||||||
/// </item>
|
/// </item>
|
||||||
/// </list>
|
/// </list>
|
||||||
/// </returns>
|
/// </returns>
|
||||||
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropsetstg-next
|
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropsetstg-next HRESULT Next( ULONG celt,
|
||||||
|
// STATPROPSETSTG *rgelt, ULONG *pceltFetched );
|
||||||
|
[PInvokeData("propidl.h", MSDNShortId = "3af3c518-3db4-4436-b1c1-86587ce8fbf3")]
|
||||||
[PreserveSig]
|
[PreserveSig]
|
||||||
HRESULT Next(uint celt, IntPtr rgelt, out uint pceltFetched);
|
HRESULT Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] STATPROPSETSTG[] rgelt, out uint pceltFetched);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>The <c>Skip</c> method skips a specified number of STATPROPSETSTG structures in the enumeration sequence.</summary>
|
||||||
/// <para>The <c>Skip</c> method skips a specified number of STATPROPSETSTG structures in the enumeration sequence.</para>
|
/// <param name="celt">The number of STATPROPSETSTG structures to skip.</param>
|
||||||
/// </summary>
|
/// <returns>This method supports the following return values:</returns>
|
||||||
/// <param name="celt">
|
|
||||||
/// <para>The number of STATPROPSETSTG structures to skip.</para>
|
|
||||||
/// </param>
|
|
||||||
/// <returns>
|
|
||||||
/// <para>This method supports the following return values:</para>
|
|
||||||
/// </returns>
|
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// <para>
|
/// A positive value for the celt parameter skips forward in the STATPROPSETSTG structure enumeration. A negative value for the
|
||||||
/// A positive value for the parameter skips forward in the STATPROPSETSTG structure enumeration. A negative value for the
|
/// celt parameter skips backward in the <c>STATPROPSETSTG</c> structure enumeration.
|
||||||
/// parameter skips backward in the <c>STATPROPSETSTG</c> structure enumeration.
|
|
||||||
/// </para>
|
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropsetstg-skip
|
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropsetstg-skip HRESULT Skip( ULONG celt );
|
||||||
|
[PInvokeData("propidl.h", MSDNShortId = "48275ca5-f9d1-42cb-b218-f51488a91bf8")]
|
||||||
[PreserveSig]
|
[PreserveSig]
|
||||||
HRESULT Skip(uint celt);
|
HRESULT Skip(uint celt);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>The <c>Reset</c> method resets the enumeration sequence to the beginning of the STATPROPSETSTG structure array.</summary>
|
||||||
/// <para>The <c>Reset</c> method resets the enumeration sequence to the beginning of the STATPROPSETSTG structure array.</para>
|
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropsetstg-reset HRESULT Reset( );
|
||||||
/// </summary>
|
[PInvokeData("propidl.h", MSDNShortId = "41207be6-81ec-4dfc-a737-eb56792edb6d")]
|
||||||
/// <returns>
|
|
||||||
/// <para>This method supports the S_OK return value.</para>
|
|
||||||
/// <list type="table">
|
|
||||||
/// <listheader>
|
|
||||||
/// <term>Return code</term>
|
|
||||||
/// <term>Description</term>
|
|
||||||
/// </listheader>
|
|
||||||
/// <item>
|
|
||||||
/// <term>S_OK</term>
|
|
||||||
/// <term>The enumeration sequence was successfully reset to the beginning of the enumeration.</term>
|
|
||||||
/// </item>
|
|
||||||
/// </list>
|
|
||||||
/// </returns>
|
|
||||||
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropsetstg-reset
|
|
||||||
void Reset();
|
void Reset();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>
|
|
||||||
/// The <c>Clone</c> method creates an enumerator that contains the same enumeration state as the current STATPROPSETSTG
|
/// The <c>Clone</c> method creates an enumerator that contains the same enumeration state as the current STATPROPSETSTG
|
||||||
/// structure enumerator. Using this method, a client can record a particular point in the enumeration sequence and then return
|
/// structure enumerator. Using this method, a client can record a particular point in the enumeration sequence and then return
|
||||||
/// to that point later. The new enumerator supports the same IEnumSTATPROPSETSTG interface.
|
/// to that point later. The new enumerator supports the same IEnumSTATPROPSETSTG interface.
|
||||||
/// </para>
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>
|
/// <returns>The variable that receives the IEnumSTATPROPSETSTG interface pointer.</returns>
|
||||||
/// <para>A pointer to the variable that receives the IEnumSTATPROPSETSTG interface pointer.</para>
|
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropsetstg-clone HRESULT Clone(
|
||||||
/// <para>If the method does not succeed, the value of the parameter is undefined.</para>
|
// IEnumSTATPROPSETSTG **ppenum );
|
||||||
/// <para>This method supports exceptions listed in the following table.</para>
|
[PInvokeData("propidl.h", MSDNShortId = "f875d5e9-fac0-4961-9570-342f55cf307e")]
|
||||||
/// <list type="table">
|
|
||||||
/// <listheader>
|
|
||||||
/// <term>Return code</term>
|
|
||||||
/// <term>Description</term>
|
|
||||||
/// </listheader>
|
|
||||||
/// <item>
|
|
||||||
/// <term>E_INVALIDARG</term>
|
|
||||||
/// <term>The parameter is NULL.</term>
|
|
||||||
/// </item>
|
|
||||||
/// <item>
|
|
||||||
/// <term>E_OUTOFMEMORY</term>
|
|
||||||
/// <term>Insufficient memory.</term>
|
|
||||||
/// </item>
|
|
||||||
/// <item>
|
|
||||||
/// <term>E_UNEXPECTED</term>
|
|
||||||
/// <term>An unexpected exception occurred.</term>
|
|
||||||
/// </item>
|
|
||||||
/// </list>
|
|
||||||
/// </returns>
|
|
||||||
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropsetstg-clone
|
|
||||||
IEnumSTATPROPSETSTG Clone();
|
IEnumSTATPROPSETSTG Clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -246,27 +197,19 @@ namespace Vanara.PInvoke
|
||||||
/// is prohibitive during property enumeration.
|
/// is prohibitive during property enumeration.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nn-propidl-ienumstatpropstg
|
// https://docs.microsoft.com/en-us/windows/desktop/api/propidlbase/nn-propidlbase-ienumstatpropstg
|
||||||
[PInvokeData("propidl.h", MSDNShortId = "e625e52a-5628-4d18-9282-aa1c141c83af")]
|
[PInvokeData("propidlbase.h", MSDNShortId = "e625e52a-5628-4d18-9282-aa1c141c83af")]
|
||||||
[ComImport, Guid("00000139-0000-0000-C000-000000000046"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("00000139-0000-0000-C000-000000000046")]
|
||||||
public interface IEnumSTATPROPSTG
|
public interface IEnumSTATPROPSTG
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>
|
|
||||||
/// The <c>Next</c> method retrieves a specified number of STATPROPSTG structures, that follow subsequently in the enumeration
|
/// The <c>Next</c> method retrieves a specified number of STATPROPSTG structures, that follow subsequently in the enumeration
|
||||||
/// sequence. If fewer than the requested number of STATPROPSTG structures exist in the enumeration sequence, it retrieves the
|
/// sequence. If fewer than the requested number of STATPROPSTG structures exist in the enumeration sequence, it retrieves the
|
||||||
/// remaining <c>STATPROPSTG</c> structures.
|
/// remaining <c>STATPROPSTG</c> structures.
|
||||||
/// </para>
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="celt">
|
/// <param name="celt">The number of STATPROPSTG structures requested.</param>
|
||||||
/// <para>The number of STATPROPSTG structures requested.</para>
|
/// <param name="rgelt">An array of STATPROPSTG structures returned.</param>
|
||||||
/// </param>
|
/// <param name="pceltFetched">The number of STATPROPSTG structures retrieved in the rgelt parameter.</param>
|
||||||
/// <param name="rgelt">
|
|
||||||
/// <para>An array of STATPROPSTG structures returned.</para>
|
|
||||||
/// </param>
|
|
||||||
/// <param name="pceltFetched">
|
|
||||||
/// <para>The number of STATPROPSTG structures retrieved in the parameter.</para>
|
|
||||||
/// </param>
|
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// <para>This method supports the following return values.</para>
|
/// <para>This method supports the following return values.</para>
|
||||||
/// <list type="table">
|
/// <list type="table">
|
||||||
|
@ -276,68 +219,66 @@ namespace Vanara.PInvoke
|
||||||
/// </listheader>
|
/// </listheader>
|
||||||
/// <item>
|
/// <item>
|
||||||
/// <term>S_OK</term>
|
/// <term>S_OK</term>
|
||||||
/// <term>The number of STATPROPSTG structures returned is equal to the number specified in the parameter.</term>
|
/// <term>The number of STATPROPSTG structures returned is equal to the number specified in the celt parameter.</term>
|
||||||
/// </item>
|
/// </item>
|
||||||
/// <item>
|
/// <item>
|
||||||
/// <term>S_FALSE</term>
|
/// <term>S_FALSE</term>
|
||||||
/// <term>The number of STATPROPSTG structures returned is less than the number specified in the parameter.</term>
|
/// <term>The number of STATPROPSTG structures returned is less than the number specified in the celt parameter.</term>
|
||||||
/// </item>
|
/// </item>
|
||||||
/// </list>
|
/// </list>
|
||||||
/// </returns>
|
/// </returns>
|
||||||
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropstg-next
|
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropstg-next HRESULT Next( ULONG celt,
|
||||||
|
// STATPROPSTG *rgelt, ULONG *pceltFetched );
|
||||||
|
[PInvokeData("propidl.h", MSDNShortId = "8e911da9-0056-4267-b9d0-c4ba929ddb94")]
|
||||||
[PreserveSig]
|
[PreserveSig]
|
||||||
HRESULT Next(uint celt, IntPtr rgelt, out uint pceltFetched);
|
HRESULT Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] STATPROPSTG[] rgelt, out uint pceltFetched);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>The <c>Skip</c> method skips the specified number of STATPROPSTG structures in the enumeration sequence.</summary>
|
||||||
/// <para>The <c>Skip</c> method skips the specified number of STATPROPSTG structures in the enumeration sequence.</para>
|
/// <param name="celt">The number of STATPROPSTG structures to skip.</param>
|
||||||
/// </summary>
|
/// <returns>This method supports the following return values:</returns>
|
||||||
/// <param name="celt">
|
|
||||||
/// <para>The number of STATPROPSTG structures to skip.</para>
|
|
||||||
/// </param>
|
|
||||||
/// <returns>
|
|
||||||
/// <para>This method supports the following return values:</para>
|
|
||||||
/// </returns>
|
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// <para>
|
/// A positive value for the celt parameter skips forward in the STATPROPSTG structure enumeration. A negative value for the celt
|
||||||
/// A positive value for the parameter skips forward in the STATPROPSTG structure enumeration. A negative value for the parameter
|
/// parameter skips backward in the <c>STATPROPSTG</c> structure enumeration.
|
||||||
/// skips backward in the <c>STATPROPSTG</c> structure enumeration.
|
|
||||||
/// </para>
|
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropstg-skip
|
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropstg-skip HRESULT Skip( ULONG celt );
|
||||||
|
[PInvokeData("propidl.h", MSDNShortId = "e70e4668-d52c-4135-948b-c8f5d141e6a2")]
|
||||||
[PreserveSig]
|
[PreserveSig]
|
||||||
HRESULT Skip(uint celt);
|
HRESULT Skip(uint celt);
|
||||||
|
|
||||||
|
/// <summary>The <c>Reset</c> method resets the enumeration sequence to the beginning of the STATPROPSTG structure array.</summary>
|
||||||
|
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropstg-reset HRESULT Reset( );
|
||||||
|
[PInvokeData("propidl.h", MSDNShortId = "e742e3ee-6261-4d6d-85ca-8df770aa58ad")]
|
||||||
|
void Reset();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>The <c>Reset</c> method resets the enumeration sequence to the beginning of the STATPROPSTG structure array.</para>
|
/// The <c>Clone</c> method creates an enumerator that contains the same enumeration state as the current STATPROPSTG structure
|
||||||
|
/// enumerator. Using this method, a client can record a particular point in the enumeration sequence and then return to that
|
||||||
|
/// point later. The new enumerator supports the same IEnumSTATPROPSTG interface.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// <para>This method supports the S_OK return value.</para>
|
/// <para>This method supports the following return values.</para>
|
||||||
/// <list type="table">
|
/// <list type="table">
|
||||||
/// <listheader>
|
/// <listheader>
|
||||||
/// <term>Return code</term>
|
/// <term>Return code</term>
|
||||||
/// <term>Description</term>
|
/// <term>Description</term>
|
||||||
/// </listheader>
|
/// </listheader>
|
||||||
/// <item>
|
/// <item>
|
||||||
/// <term>S_OK</term>
|
/// <term>E_INVALIDARG</term>
|
||||||
/// <term>The enumeration sequence was successfully reset to the beginning of the enumeration.</term>
|
/// <term>The ppenum parameter is NULL.</term>
|
||||||
|
/// </item>
|
||||||
|
/// <item>
|
||||||
|
/// <term>E_OUTOFMEMORY</term>
|
||||||
|
/// <term>Insufficient memory.</term>
|
||||||
|
/// </item>
|
||||||
|
/// <item>
|
||||||
|
/// <term>E_UNEXPECTED</term>
|
||||||
|
/// <term>An unexpected exception occurred.</term>
|
||||||
/// </item>
|
/// </item>
|
||||||
/// </list>
|
/// </list>
|
||||||
/// </returns>
|
/// </returns>
|
||||||
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropstg-reset
|
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropstg-clone HRESULT Clone( IEnumSTATPROPSTG
|
||||||
void Reset();
|
// **ppenum );
|
||||||
|
[PInvokeData("propidl.h", MSDNShortId = "e06e109a-3f9d-4b08-bde9-888cb795287c")]
|
||||||
/// <summary>
|
|
||||||
/// <para>
|
|
||||||
/// The <c>Clone</c> method creates an enumerator that contains the same enumeration state as the current STATPROPSTG structure
|
|
||||||
/// enumerator. Using this method, a client can record a particular point in the enumeration sequence and then return to that
|
|
||||||
/// point later. The new enumerator supports the same IEnumSTATPROPSTG interface.
|
|
||||||
/// </para>
|
|
||||||
/// </summary>
|
|
||||||
/// <returns>
|
|
||||||
/// <para>A pointer to the variable that receives the IEnumSTATPROPSTG interface pointer.</para>
|
|
||||||
/// <para>If the method is unsuccessful, the value of the parameter is undefined.</para>
|
|
||||||
/// </returns>
|
|
||||||
// https://docs.microsoft.com/en-us/windows/desktop/api/propidl/nf-propidl-ienumstatpropstg-clone
|
|
||||||
IEnumSTATPROPSTG Clone();
|
IEnumSTATPROPSTG Clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -159,9 +159,6 @@ namespace Vanara.PInvoke
|
||||||
/// contains the requested interface pointer. If the object does not support the interface specified in riid, the implementation
|
/// contains the requested interface pointer. If the object does not support the interface specified in riid, the implementation
|
||||||
/// must set *ppvObject to <c>NULL</c>.
|
/// must set *ppvObject to <c>NULL</c>.
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="LockServer">The lock server.</param>
|
|
||||||
/// <param name="">The .</param>
|
|
||||||
/// <param name="fLock">The f lock.</param>
|
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, and E_UNEXPECTED, as well as the following values.
|
/// This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, and E_UNEXPECTED, as well as the following values.
|
||||||
|
|
Loading…
Reference in New Issue