网站首页  词典首页

请输入您要查询的函数:

 

术语 ddecmpstringhandles
释义 DdeCmpStringHandles
语法:
int DdeCmpStringHandles( HSZ hsz1,
HSZ hsz2
);
DdeCmpStringHandles功能
该DdeCmpStringHandles功能比较两个字符串值的处理。字符串的句柄值是不相关的关联的字符串的情况。
参数
hsz1
[in]句柄第一个字符串。
hsz2
[in]句柄第二个字符串。
返回值
返回值可以是下列值之一:
ValueMeaning
- 1The的hsz1值为0或比hsz2值。
0The值hsz1和hsz2是相等的(既可以是0)。
1The的hsz2值为0或比hsz1值。
备注
一个应用程序的案件必须做的两个字符串比较敏感的处理应该比较直接的字符串处理。应用程序应该使用所有其他比较DdeCmpStringHandles维护情况的动态数据交换(DDE)不敏感的性质。
DdeCmpStringHandles不能被用来处理字符串按字母顺序排序。
功能信息
最低DLL版本 user32.dll
在Ddeml.h HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
参见
动态数据交换管理库概况,DdeAccessData,DdeCreateStringHandle,DdeFreeStringHandle
==英文原文==DdeCmpStringHandles Function
The DdeCmpStringHandles function compares the values of two string handles. The value of a string handle is not related to the case of the associated string.
Syntax
int DdeCmpStringHandles( HSZ hsz1,
HSZ hsz2
);
Parameters
hsz1
[in] Handle to the first string.
hsz2
[in] Handle to the second string.
Return Value
The return value can be one of the following values:
ValueMeaning
-1The value of hsz1 is either 0 or less than the value of hsz2.
0The values of hsz1 and hsz2 are equal (both can be 0).
1The value of hsz2 is either 0 or less than the value of hsz1.
Remarks
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.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Ddeml.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
See Also
Dynamic Data Exchange Management Library Overview , DdeAccessData , DdeCreateStringHandle , DdeFreeStringHandle
==原始网址==http://msdn.microsoft.com/en-us/library/ms648744(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:32:02