网站首页  词典首页

请输入您要查询的函数:

 

术语 charprevexa
释义 CharPrevExA
语法:
LPSTR CharPrevExA( WORD CodePage,
LPCSTR lpStart,
LPCSTR lpCurrentChar,
DWORD dwFlags
);
CharPrevExA功能
该CharPrevExA函数检索指针前面的字符的字符串。这个功能可以处理字符串的单个或者多字节字符组成。
参数
代码页
[in]的代码页标识符可用于检查领导字节范围。可以是一个的代码页值的“代码提供的页面标识符”表或以下预定义值之一。
CP_ACP
使用系统默认ANSI代码页。
CP_MACCP
Windows NT/2000/XP的:使用系统默认的Macintosh代码页。
CP_OEMCP
使用系统预设的OEM代码页。
lpStart
[in]指向字符串的开头。
lpCurrentChar
[in]指向一个空字符结尾的字符串。
dwFlags
[in]号;必须为零。
返回值
返回值是一个字符串中的前面的字符或字符串中的第一个字符的指针,如果lpCurrentChar参数等于lpStart参数。
备注
CharPrevExA指定代码页使用而CharPrev,(如为一个ANSI函数调用)使用系统默认的代码页。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 4.0
UnicodeImplemented的ANSI版本。
参见
Strings 概述 ,CharNextExA,CharPrev
==英文原文==CharPrevExA Function
The CharPrevExA function retrieves the pointer to the preceding character in a string. This function can handle strings consisting of either single- or multi-byte characters.
Syntax
LPSTR CharPrevExA( WORD CodePage,
LPCSTR lpStart,
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 in 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.
lpStart
[in] Pointer to the beginning of the string.
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 preceding character in the string, or to the first character in the string if the lpCurrentChar parameter equals the lpStart parameter.
Remarks
CharPrevExA specifies a code-page to use, whereas CharPrev (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 , CharNextExA , CharPrev
==原始网址==http://msdn.microsoft.com/en-us/library/ms647472(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:22:53