News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

masm32 and win32 api hlp

Started by xellos, July 27, 2011, 10:50:00 AM

Previous topic - Next topic

xellos

im trying to understand the win32 api but all the code there is c++ how do i know how to use them dor masm32?

-Alex-


hutch--

xellos,

You learn to do a bit of translation from C to ASM but its not that hard to do. Fortunately almost every API argument is 32 bit in size. What you need to understand is the difference between a value and an address. If the API documentation shows the argument as a pointer, you need to pass the ADDRESS of the data while some others are simply values that are passed by value to the API.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php