This topic has not yet been rated - Rate this topic

SHGetShellStyleHInstance function

[SHGetShellStyleHInstance is available for use in the Windows XP operating system up to and including Service Pack 2 (SP2). It is not available in later versions of Windows, such as Windows Vista.]

Applies to: desktop apps only

Deprecated. Attempts to get a handle to the Shellstyle.dll file.

Syntax

HINSTANCE SHGetShellStyleHInstance(void);

Parameters

This function has no parameters.

Return value

Type: HINSTANCE

A handle to Shellstyle.dll.

Remarks

SHGetShellStyleHInstance first attempts to load the version of Shellstyle.dll from the current active visual style. If that is unsuccessful, the version stored in the System32 directory is used.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

End of client support

Windows XP with SP2

End of server support

Windows Server 2003

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 6.0 or later)

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ