Delphi WinAPI CompareString 和 CompareStringEx 比较两个标识符指定的两个字符串函数

时间:2020-08-27 11:14:25   收藏:0   阅读:94

Delphi WinAPI CompareString 和 CompareStringEx 比较两个标识符指定的两个字符串函数

1、CompareString

函数原型:

int CompareString(
  LCID    Locale,
  DWORD   dwCmpFlags,
  LPCTSTR lpString1,
  int     cchCount1,
  LPCTSTR lpString2,
  int     cchCount2
);

参数:

返回值:

 

2、CompareStringEx

函数原型:

int CompareStringEx(
  LPCWSTR                          lpLocaleName,
  DWORD                            dwCmpFlags,
  _In_NLS_string_(cchCount1)LPCWCH lpString1,
  int                              cchCount1,
  _In_NLS_string_(cchCount2)LPCWCH lpString2,
  int                              cchCount2,
  LPNLSVERSIONINFO                 lpVersionInformation,
  LPVOID                           lpReserved,
  LPARAM                           lParam
);

  

 

 

创建时间:2020.08.27  更新时间:

 

原文:https://www.cnblogs.com/guorongtao/p/13569968.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!