AllocConsole

From aldeid
Jump to navigation Jump to search

Description

Allocates a new console for the calling process.

Syntax

BOOL WINAPI AllocConsole(void);

Parameters

This function has no parameters.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.