OpenThemeData Function


This is preliminary documentation and is subject to change.

Opens the theme data for the specified window and its associated class.

Syntax

HTHEME OpenThemeData(
    HWND hwnd, 
    LPCWSTR pstrClassList
);

Parameters

hwnd
Handle of the window for which theme data is required.
pstrClassList
Pointer to a string that contains a semicolon-separated list of classes.

Return Value

OpenThemeData tries to match each class, one at a time, to a class data section in the currently active theme. If a match is found, an associated HTHEME handle is returned. If no match is found NULL is returned.

Function Information

Stock ImplementationUxTheme.dll
Custom ImplementationNo
HeaderThemeApi.h
Import libraryUxTheme.lib
Minimum operating systems Windows NT Whistler


© 2000 Microsoft Corporation. All rights reserved. Terms of use.