Calling __stdcall functions in the inferior

Eli Zaretskii
2012-10-12T06:50:36Z

Is there a way to call __stdcall functions in the inferior from GDB,
while debugging a C program? The case in point is GetLastError, but
any other function from the Windows API has this problem.

TIA