getthemecolor (uxtheme)
Last changed: Wiseworx Software-212.113.164.104

.
Summary
Retrieves the value of a color property.

C# Signature:

[DllImport("uxtheme", ExactSpelling=true)]
public extern static Int32 GetThemeColor(IntPtr hTheme, int iPartId, int iStateId, int iPropId, out COLORREF pColor);

VB .NET Signature:

Declare Function GetThemeColor Lib "uxtheme.dll" (TODO) As TODO

<DllImport("UxTheme.dll", CallingConvention:=CallingConvention.Cdecl, ExactSpelling:=True)> _
Shared Function GetThemeColor(ByVal hTheme As IntPtr, _
                   ByVal iPartID As Integer, _
                   ByVal iStateId As Integer, _
                   ByVal iPropId As Integer, _
                   ByRef pColor As COLORREF) As Integer
End Function

User-Defined Types:

COLORREF

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

TODO

Documentation