Exemple #1
0
        public string GetThemeFilename(int partId, int stateId, int propertyId)
        {
            var     filename = new StringBuilder(512);
            HResult hr       = UxThemeExNativeMethods.UxGetThemeFilename(
                themeFile, theme, partId, stateId, propertyId, filename, filename.Capacity);

            return(Found(hr) ? filename.ToString() : null);
        }