Kernel32GetAtomName Method

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

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", CharSet = CharSet.Auto, BestFitMapping = false, 
	ThrowOnUnmappableChar = true, SetLastError = true)]
public static uint GetAtomName(
	ushort atom,
	StringBuilder buffer,
	int size
)

Parameters

atom  UInt16
The local atom that identifies the character string to be retrieved.
buffer  StringBuilder
The character string.
size  Int32
The size, in characters, of the buffer.

Return Value

UInt32
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

Remarks

See Also