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, StringBuilder lpBuffer, int nSize);

User-Defined Types:

None.

VB.NET

Declare Function GlobalGetAtomName Lib "kernel32.dll" Alias "GlobalGetAtomNameA" ( _
     ByVal nAtom As UShort, _
     ByVal lpBuffer As String, _
     ByVal nSize As Integer) As Integer

Notes:

None.

Tips & Tricks:

Please add some!

C# Sample Code:

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

int nSize = 514;
StringBuilder AtomName = new StringBuilder(nSize);
nSize = GlobalGetAtomName(AtomID, AtomName, nSize);


Alternative Managed API:

Do you know one? Please contribute it!

Documentation