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.]
Deprecated. Attempts to get a handle to the Shellstyle.dll file.
HINSTANCE SHGetShellStyleHInstance(void);
This function has no parameters.
Type: HINSTANCE
A handle to Shellstyle.dll.
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.
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
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) |