GlobalGetAtomName (kernel32)
Last changed: -207.216.33.169

.
Summary

C# Signature:

[DllImport("kernel32.dll", SetLastError=true, CharSet=CharSet.Auto)]
static extern uint GlobalGetAtomName(ushort nAtom,
   [Out] StringBuilder lpBuffer, int nSize);

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

// Using Char[] instead of StringBuilder

[DllImport( "kernel32.dll", SetLastError = true, CharSet = CharSet.Auto )]
static extern uint GlobalGetAtomName( ushort nAtom, [Out] Char[] lpBuffer, int nSize );

Char[] AtomCharArray = new Char[nSize];

GlobalGetAtomName( AtomID, AtomCharArray , nSize );

Alternative Managed API:

Do you know one? Please contribute it!

Documentation