网站首页  词典首页

请输入您要查询的函数:

 

术语 findatom
释义 FindAtom
语法:
ATOM FindAtom( LPCTSTR lpString
);
FindAtom功能
该FindAtom功能寻找指定的字符串当地原子表,并检索与该字符串相关的原子。
参数
lpString
[in]指向空终止字符串搜索。
或者,您可以使用一个整数原子已被转换使用MAKEINTATOM宏。更多信息见备注。
返回值
如果函数成功,返回值与给定的字符串相关的原子。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
即使该系统保留了原子中的一个表中的字符串,则应由FindAtom函数执行的搜索不区分大小写。
如果lpString是由该MAKEINTATOM宏,低位字必须在范围0x0001通过0xBFFF。如果低位字不在此范围内,该功能失败。
在Windows 95/98/Me:FindAtomW是支持的Unicode(MSLU)微软层。要使用此,您必须将某些文件到您的应用,概述了对Unicode的Microsoft层在Windows 95/98/Me系统。
功能信息
最低DLL版本 kernel32.dll
在Winbase.h HeaderDeclared,头文件:winuser.h
import libraryKernel32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为ANSI和Unicode版本。
参见
atoms OverView,AddAtom,DeleteAtom,GlobalAddAtom,GlobalDeleteAtom,GlobalFindAtom
==英文原文==FindAtom Function
The FindAtom function searches the local atom table for the specified character string and retrieves the atom associated with that string.
Syntax
ATOM FindAtom( LPCTSTR lpString
);
Parameters
lpString
[in] Pointer to the null-terminated character string to search for.
Alternatively, you can use an integer atom that has been converted using the MAKEINTATOM macro. See the Remarks for more information.
Return Value
If the function succeeds, the return value is the atom associated with the given string.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Remarks
Even though the system preserves the case of a string in an atom table, the search performed by the FindAtom function is not case sensitive.
If lpString was created by the MAKEINTATOM macro, the low-order word must be in the range 0x0001 through 0xBFFF. If the low-order word is not in this range, the function fails.
Windows 95/98/Me: FindAtomW is supported by the Microsoft Layer for Unicode (MSLU). To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems .
Function Information
Minimum DLL Versionkernel32.dll
HeaderDeclared in Winbase.h, include Windows.h
Import libraryKernel32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as ANSI and Unicode versions.
See Also
Atoms Overview , AddAtom , DeleteAtom , GlobalAddAtom , GlobalDeleteAtom , GlobalFindAtom
==原始网址==http://msdn.microsoft.com/en-us/library/ms649058(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:28:49