From the course: Learning Assembly Language

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

The Windows API

The Windows API - Python Tutorial

From the course: Learning Assembly Language

Start my 1-month free trial

The Windows API

- [Instructor] Let's take a look at how we might work in Assembler with a more contemporary graphical user interface dialogues using the Windows API. We've already been using some of the basic Windows API calls. ExitProcess, GetStdHandle as well as FileRead and FileWrite. Let's put out a message box. We do this quite simply by invoking message box A. We use a zero handle, put out a message, Hello World, with a message box title of Messages and we'll use the constant 40H and this declares that we're using a message box type of MB_OK and let's see what that looks like. And we'll run that then we get our message box. We can also put out some other message box types. I'll declare some constants and I'll change the message box to Shall we and the heading on it to an Invitation. And we've got our constant setup. So I can now call this an MB Yes, No message box type. We'll also put a second one…

Contents