Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Apply the VS-theme to the specified window, for supported window classes.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Function ThemeWindow ( _
    hwnd As IntPtr _
) As Boolean
bool ThemeWindow(
    IntPtr hwnd
)
bool ThemeWindow(
    [InAttribute] IntPtr hwnd
)
abstract ThemeWindow : 
        hwnd:IntPtr -> bool
function ThemeWindow(
    hwnd : IntPtr
) : boolean
Parameters
- hwnd 
 Type: IntPtr- The handle of the window. 
Return Value
Type: Boolean
The HRESULT.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.