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 - Python Tutorial
From the course: Learning Assembly Language
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Calling subprograms9m 20s
-
Working with floating point6m 23s
-
Managing arrays4m 43s
-
Adding plugs to the Enigmatic encryptor2m 54s
-
The Windows API5m 4s
-
More on the Windows API4m 20s
-
Calling the printf external function1m 33s
-
Executing system commands1m 54s
-
Jump tables3m 29s
-
Reading data files6m 33s
-
-
-
-
-