Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.08 KB

GlobalGetAtomName.md

File metadata and controls

52 lines (36 loc) · 1.08 KB

Home

Function name : GlobalGetAtomName

Group: Atom - Library: kernel32


Retrieves a copy of the character string associated with the specified global atom.


Code examples:

Retrieving list of Global Atom names

Declaration:

UINT GlobalGetAtomName(
  ATOM nAtom,       // atom identifier
  LPTSTR lpBuffer,  // buffer for atom string
  int nSize         // size of buffer
);  

FoxPro declaration:

DECLARE INTEGER GlobalGetAtomName IN kernel32;
	INTEGER  nAtom,;
	STRING @ lpBuffer,;
	INTEGER  nSize  

Parameters:

nAtom [in] Identifies the global atom associated with the character string to be retrieved.

lpBuffer [out] Pointer to the buffer for the character string.

nSize [in] Specifies the size, in TCHARs, of the buffer.


Return value:

If the function succeeds, the return value is the length of the string copied to the buffer. If the function fails, the return value is zero.