Nevron.Interop.Win32 Namespace / NUxTheme Class / GetCurrentThemeName Method


In This Topic
    GetCurrentThemeName Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function GetCurrentThemeName( _
       ByVal pszThemeFileName As System.Text.StringBuilder, _
       ByVal dwMaxNameChars As System.Integer, _
       ByVal pszColorBuff As System.Text.StringBuilder, _
       ByVal cchMaxColorChars As System.Integer, _
       ByVal pszSizeBuff As System.Text.StringBuilder, _
       ByVal cchMaxSizeChars As System.Integer _
    ) As System.Integer
    'Usage
     
    
    Dim pszThemeFileName As System.Text.StringBuilder
    Dim dwMaxNameChars As System.Integer
    Dim pszColorBuff As System.Text.StringBuilder
    Dim cchMaxColorChars As System.Integer
    Dim pszSizeBuff As System.Text.StringBuilder
    Dim cchMaxSizeChars As System.Integer
    Dim value As System.Integer
     
    value = NUxTheme.GetCurrentThemeName(pszThemeFileName, dwMaxNameChars, pszColorBuff, cchMaxColorChars, pszSizeBuff, cchMaxSizeChars)
    public static System.int GetCurrentThemeName( 
       System.Text.StringBuilder pszThemeFileName,
       System.int dwMaxNameChars,
       System.Text.StringBuilder pszColorBuff,
       System.int cchMaxColorChars,
       System.Text.StringBuilder pszSizeBuff,
       System.int cchMaxSizeChars
    )

    Parameters

    pszThemeFileName
    dwMaxNameChars
    pszColorBuff
    cchMaxColorChars
    pszSizeBuff
    cchMaxSizeChars
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also