Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

PwrSchemesEnumProc (Delegates)
 
.
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

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions