GetConsoleAliasesLength function
Applies to: desktop apps only
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 |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names | GetConsoleAliasesLengthW (Unicode) and GetConsoleAliasesLengthA (ANSI) |
See also
- AddConsoleAlias
- Console Aliases
- Console Functions
- GetConsoleAlias
- GetConsoleAliases
- GetConsoleAliasExes
Send comments about this topic to Microsoft
Build date: 2/3/2012