SHAreIconsEqual

Go to Home Page

Determines if the contents of two icons are identical

Syntax

BOOL WINAPI SHAreIconsEqual (
    HICON hIcon1,
    HICON hIcon2
)

Parameters

hIcon1
The first icon to compare
hIcon2
The second icon to compare

Return Value

Non-zero if the icons are equal, zero otherwise or if the function fails

Remarks

The function compares the bits of the color mask bitmaps retrived by GetIconInfo.

This function is also known as _SHAreIconsEqual@8.