PwrSchemesEnumProc (Delegates)
Last changed: EnumPwrSchemes-217.186.112.41-4.10.224.157

.
Summary
TODO - a short description

C# Definition:

/// <param name="uiIndex">The power scheme index.</param>
/// <param name="dwName">The size of the power scheme name string, in bytes.</param>
/// <param name="sName">The name of the power scheme.</param>
/// <param name="dwDesc">The size of the description string, in bytes.</param>
/// <param name="sDesc">The description.</param>
/// <param name="pp">Receives the power policy.</param>
/// <param name="lParam">User-defined value.</param>
/// <returns></returns>
private delegate bool PwrSchemesEnumProc(uint uiIndex, UInt32 dwName, [MarshalAs(UnmanagedType.LPWStr)] string sName, UInt32 dwDesc, [MarshalAs(UnmanagedType.LPWStr)] string sDesc, ref PowerPolicy pp, int lParam);

VB Definition:

''' <param name="uiIndex">The power scheme index.</param>
''' <param name="dwName">The size of the power scheme name string, in bytes.</param>
''' <param name="sName">The name of the power scheme.</param>
''' <param name="dwDesc">The size of the description string, in bytes.</param>
''' <param name="sDesc">The description.</param>
''' <param name="pp">Receives the power policy.</param>
''' <param name="lParam">User-defined value.</param>
''' <returns></returns>
Private Delegate Function PwrSchemesEnumProc(ByVal uiIndex As UInteger, ByVal dwName As UInt32, <MarshalAs(UnmanagedType.LPWStr)> ByVal sName As String, ByVal dwDesc As UInt32, MarshalAs(UnmanagedType.LPWStr)> ByVal sDesc As String, ByRef pp As PowerPolicy, ByVal lParam As Integer) As Boolean

User-Defined Types:

None.

Notes:

None.

Documentation