GetConsoleAliases (kernel32)
Last changed: -24.3.22.78

.
Summary

C# Signature:

[DllImport("Kernel32.dll")]

public static extern uint GetConsoleAliases(StringBuilder lpTargetBuffer, uint targetBufferLength, string lpExeName);

VB Signature:

Declare Function GetConsoleAliases Lib "kernel32.dll" (TODO) As TODO

User-Defined Types:

None.

Notes:

The problem I'm having with this function is that it fills the buffer with the alias strings concatenated together with \0 (null) as the delimiter.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation