System.Windows.Forms.VisualStyles.VisualStyleRenderer.LastHResult Property

Gets the last error code returned by the native visual styles (UxTheme) API methods encapsulated by the System.Windows.Forms.VisualStyles.VisualStyleRenderer class.

Syntax

public int LastHResult { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property gets the HRESULT value that was returned by the last native visual styles API method called by a member of the System.Windows.Forms.VisualStyles.VisualStyleRenderer class. For more information about the native visual styles API, see "Using Windows XP Visual Styles" in the Platform SDK portion of the MSDN Library at tp://msdn.microsoft.com/library/.

Requirements

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0