private _GetCurrentThemeName ( StringBuilder pszThemeFileName, int dwMaxNameChars, StringBuilder pszColorBuff, int cchMaxColorChars, StringBuilder pszSizeBuff, int cchMaxSizeChars ) : Standard.HRESULT | ||
pszThemeFileName | StringBuilder | |
dwMaxNameChars | int | |
pszColorBuff | StringBuilder | |
cchMaxColorChars | int | |
pszSizeBuff | StringBuilder | |
cchMaxSizeChars | int | |
return | Standard.HRESULT |
public static void GetCurrentThemeName(out string themeFileName, out string color, out string size) { StringBuilder stringBuilder = new StringBuilder(260); StringBuilder stringBuilder2 = new StringBuilder(260); StringBuilder stringBuilder3 = new StringBuilder(260); NativeMethods._GetCurrentThemeName(stringBuilder, stringBuilder.Capacity, stringBuilder2, stringBuilder2.Capacity, stringBuilder3, stringBuilder3.Capacity).ThrowIfFailed(); themeFileName = stringBuilder.ToString(); color = stringBuilder2.ToString(); size = stringBuilder3.ToString(); }