GetConsoleAliasesLength function

Retrieves the required size for the buffer used by the GetConsoleAliases function.

Syntax


DWORD WINAPI GetConsoleAliasesLength(
  _In_  LPTSTR lpExeName
);

Parameters

lpExeName [in]

The name of the executable file whose console aliases are to be retrieved.

Return value

The size of the buffer required to store all console aliases defined for this executable file, in bytes.

Remarks

To compile an application that uses this function, define _WIN32_WINNT as 0x0501 or later. For more information, see Using the Windows Headers.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wincon.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

Unicode and ANSI names

GetConsoleAliasesLengthW (Unicode) and GetConsoleAliasesLengthA (ANSI)

See also

AddConsoleAlias
Console Aliases
Console Functions
GetConsoleAlias
GetConsoleAliases
GetConsoleAliasExes

 

 

Community Additions

ADD
Show:
© 2014 Microsoft