GetThemeDocumentationProperty function
Retrieves the value for a theme property from the documentation section of the specified theme file.
Syntax
HRESULT GetThemeDocumentationProperty(
_In_ LPCWSTR pszThemeName,
_In_ LPCWSTR pszPropertyName,
_Out_ LPWSTR pszValueBuff,
_In_ int cchMaxValChars
);
Parameters
- pszThemeName [in]
-
Type: LPCWSTR
Pointer to a string that contains the name of the theme file that will be opened to query for the property.
- pszPropertyName [in]
-
Type: LPCWSTR
Pointer to a string that contains the name of the theme property to query. Can be one of the following values.
- pszValueBuff [out]
-
Type: LPWSTR
Pointer to a string buffer that receives the property string value.
- cchMaxValChars [in]
-
Type: int
Value of type int that specifies the maximum number of characters that pszValueBuff can contain.
Return value
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
If the theme property has been localized in the theme files string table, this function returns the localized version.
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 10/27/2012