Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Compares two IShellItem objects.
HRESULT Compare(
IShellItem *psi,
SICHINTF hint,
int *piOrder
);
psi
Type: IShellItem*
A pointer to an IShellItem object to compare with the existing IShellItem object.
hint
Type: SICHINTF
One of the SICHINTF values that determines how to perform the comparison. See SICHINTF for the list of possible values for this parameter.
piOrder
Type: int*
This parameter receives the result of the comparison. If the two items are the same this parameter equals zero; if they are different the parameter is nonzero.
Type: HRESULT
Returns S_OK if the items are the same, S_FALSE if they are different, or an error value otherwise.
The data type used in the second parameter, SICHINTF, is defined as:
typedef DWORD SICHINTF;
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP1 [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
DLL | Shell32.dll (version 6.0 or later) |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today