INameSpaceTreeControl2::SetTheme Method

Sets the desktop theme for the current window only.

Syntax

HRESULT SetTheme(      
    LPCWSTR pszTheme
);

Parameters

  • pszTheme
    [in] The name of the desktop theme to which the current window is being set.

Return Value

Returns S_OK if successful, or an error value otherwise.