UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:uxtheme.GetThemeStream |
GetThemeStream function (uxtheme.h) |
Retrieves a data stream corresponding to a specified theme, starting from a specified part, state, and property. |
|
controls\GetThemeStream.htm |
Controls |
VS|Controls|~\controls\userex\functions\getthemestream.htm |
12/05/2018 |
GetThemeStream, GetThemeStream function [Windows Controls], controls.GetThemeStream, controls.inet_GetThemeStream, inet_GetThemeStream, inet_GetThemeStream_cpp, uxtheme/GetThemeStream |
uxtheme.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
UxTheme.lib |
UxTheme.dll |
Windows |
19H1 |
|
|
|
|
|
|
Retrieves a data stream corresponding to a specified theme, starting from a specified part, state, and property.
Type: HTHEME
Handle to the theme from which the stream will be retrieved.
Type: int
Specifies the part to retrieve a stream from. See Parts and States.
Type: int
Specifies the state of the part.
Type: int
Specifies the property to retrieve.
Type: VOID**
Address of a pointer that receives the stream.
Type: DWORD*
Pointer that receives the length, in bytes, of the stream received by ppvStream.
Type: HINSTANCE
If iPropId is TMT_STREAM, this value is NULL. If iPropId is TMT_DISKSTREAM, this value is the HINSTANCE of a loaded styles file.
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Windows 8: In high contrast mode, the data stream retrieved by this function is not valid after the hTheme theme handle is closed.
The data stream retrieved by this function is not a copy; do not delete or close the data stream after using it.