GetAtomName

機能

指定のアトムの文字列を取得する

Declare Function GetAtomName Lib "kernel32.dll" Alias "GetAtomNameA" _
(ByVal nAtom As Integer, ByVal lpBuffer As String, ByVal nSize As Long) As Integer

Declare Function GetAtomName Lib "kernel32.dll" Alias "GetAtomNameA" _
(ByVal nAtom As Short, ByVal lpBuffer As String, ByVal nSize As Integer) As Short

UINT GetAtomName(
ATOM nAtom,
LPTSTR lpBuffer,
int nSize
);


引数
nAtom

アトム

lpBuffer

(戻り値)文字列を受け取るバッファ

nSize

同、バイト数

戻り値

成功したとき            取得したバイト数
失敗したとき            0

備考

整数アトムに対する戻り値は、先頭に"#"が付いた文字列である。