EnableTheming function
Windows XP through Windows 7: Enables or disables visual styles for the current user in the current and later sessions.
Windows 8 and later: This function does nothing. Visual styles are always enabled in Windows 8 and later.
Syntax
HRESULT EnableTheming( _In_ BOOL fEnable );
Parameters
- fEnable [in]
-
Type: BOOL
Receives one of the following values.
Return value
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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