In my assembly program I called AllocConsole
from the kernel32
library, however I do not know how to get input from the allocated console.
Is there any function that the winapi contains that will get input from the allocated console in the current program?
CALL AllocConsole
All of the functions such as ReadConsole require an input buffer, and I do not know how to get the input buffer for my allocated console, let alone whether the function even does what I need.
To summarize, is there a function in the winapi that can get input from the allocated console in a program?
Thanks