网站首页  词典首页

请输入您要查询的函数:

 

术语 charnextexa
释义 CharNextExA
语法:
LPSTR CharNextExA( WORD CodePage,
LPCSTR lpCurrentChar,
DWORD dwFlags
);
CharNextExA功能
该CharNextExA函数检索指针指向下一个字符的字符串。这个功能可以处理字符串的单个或者多字节字符组成。
参数
代码页
[in]的代码页标识符可用于检查领导字节范围。可以是一个的代码页值的“代码提供的页面标识符”表或以下预定义值之一。
CP_ACP
使用系统默认ANSI代码页。
CP_MACCP
Windows NT/2000/XP的:使用系统默认的Macintosh代码页。
CP_OEMCP
使用系统预设的OEM代码页。
lpCurrentChar
[in]指向一个空字符结尾的字符串。
dwFlags
[in]号;必须为零。
返回值
返回值是一个字符串中的下一个字符,或终止空字符指针,如果在字符串的末尾。
如果对终止空字符lpCurrentChar点,返回值等于lpCurrentChar。
备注
CharNextExA指定代码页使用而CharNext,(如为一个ANSI函数调用)使用系统默认的代码页。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 4.0
UnicodeImplemented的ANSI版本。
参见
Strings 概述 ,CharNext,CharPrevExA
==英文原文==CharNextExA Function
The CharNextExA function retrieves the pointer to the next character in a string. This function can handle strings consisting of either single- or multi-byte characters.
Syntax
LPSTR CharNextExA( WORD CodePage,
LPCSTR lpCurrentChar,
DWORD dwFlags
);
Parameters
CodePage
[in] Identifier of the code page to use to check lead-byte ranges. Can be one of the code-page values provided in the "Code-Page Identifiers" table or one of the following predefined values.
CP_ACP
Use system default ANSI code page.
CP_MACCP
Windows NT/2000/XP: Use the system default Macintosh code page.
CP_OEMCP
Use system default OEM code page.
lpCurrentChar
[in] Pointer to a character in a null-terminated string.
dwFlags
[in] Reserved; must be zero.
Return Value
The return value is a pointer to the next character in the string, or to the terminating null character if at the end of the string.
If lpCurrentChar points to the terminating null character, the return value is equal to lpCurrentChar.
Remarks
CharNextExA specifies a code-page to use, whereas CharNext (if called as an ANSI function) uses the system default code-page.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 4.0
UnicodeImplemented as ANSI version.
See Also
Strings Overview , CharNext , CharPrevExA
==原始网址==http://msdn.microsoft.com/en-us/library/ms647470(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:30:07