Permalink
Fetching contributors…
Cannot retrieve contributors at this time
122 lines (93 sloc) 2.52 KB
title description author ms.author ms.topic ms.prod keywords MS-HAID MSHAttr ms.assetid topic_type api_name api_location api_type
GetConsoleAliasExesLength function
Retrieves the required size for the buffer used by the GetConsoleAliasExes function.
bitcrazed
richturn
article
console
console, character mode applications, command line applications, terminal applications, console api
base.getconsolealiasexeslength
consoles.getconsolealiasexeslength
PreferredSiteName:MSDN
PreferredLib:/library/windows/desktop
4f23bbb1-3e43-47a9-b91a-e91529b07fb5
apiref
GetConsoleAliasExesLength
GetConsoleAliasExesLengthA
GetConsoleAliasExesLengthW
Kernel32.dll
DllExport

GetConsoleAliasExesLength function

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

Syntax

DWORD WINAPI GetConsoleAliasExesLength(void);

Parameters

This function has no parameters.

Return value

The size of the buffer required to store the names of all executable files that have console aliases defined, 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

ConsoleApi3.h (via Wincon.h, include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

Unicode and ANSI names

GetConsoleAliasExesLengthW (Unicode) and GetConsoleAliasExesLengthA (ANSI)

See also

AddConsoleAlias

Console Aliases

Console Functions

GetConsoleAlias

GetConsoleAliases

GetConsoleAliasExes