Retrieves a copy of the character string associated with the specified global atom.
UINT GlobalGetAtomNameA( ATOM nAtom, LPSTR lpBuffer, int nSize );
The global atom associated with the character string to be retrieved.
The buffer for the character string.
The size, in characters, of the buffer.
If the function succeeds, the return value is the length of the string copied to the buffer, in characters, not including the terminating null character.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
The string returned for an integer atom (an atom whose value is in the range 0x0001 to 0xBFFF) is a null-terminated string in which the first character is a pound sign (#) and the remaining characters represent the unsigned integer atom value.
|Windows version||Windows 2000 Professional [desktop apps only] Windows 2000 Server [desktop apps only]|
|Header||winbase.h (include Windows.h)|