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 the values of two string handles. The value of a string handle is not related to the case of the associated string.
int DdeCmpStringHandles(
[in] HSZ hsz1,
[in] HSZ hsz2
);
[in] hsz1
Type: HSZ
A handle to the first string.
[in] hsz2
Type: HSZ
A handle to the second string.
Type: int
The return value can be one of the following values.
Return value | Description |
---|---|
|
The value of hsz1 is either 0 or less than the value of hsz2. |
|
The values of hsz1 and hsz2 are equal (both can be 0). |
|
The value of hsz2 is either 0 or less than the value of hsz1. |
An application that must do a case-sensitive comparison of two string handles should compare the string handles directly. An application should use DdeCmpStringHandles for all other comparisons to preserve the case-insensitive nature of Dynamic Data Exchange (DDE).
DdeCmpStringHandles cannot be used to sort string handles alphabetically.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ddeml.h (include Windows.h) |
Library | User32.lib |
DLL | User32.dll |
Conceptual
Dynamic Data Exchange Management Library
Reference
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