The MASM Forum

Members Gallery => Showcase => Topic started by: hutch-- on October 07, 2022, 06:33:33 PM

Title: Simple GDI Rectangle using MoveToEx and LineTo
Post by: hutch-- on October 07, 2022, 06:33:33 PM
Simple and easy to use code for drawing a rectangle in the client area of a Window. There are multiple ways of doing this.
Title: Re: Simple GDI Rectangle using MoveToEx and LineTo
Post by: morgot on October 30, 2022, 08:55:28 AM
Hello
why you use rcall ? What is it, and why no invoke?
Title: Re: Simple GDI Rectangle using MoveToEx and LineTo
Post by: hutch-- on October 30, 2022, 05:35:21 PM
Its only a minor difference but using "rcall" means you are only using up to the four registers with no shadow space overhead. "invoke" is more flexible, can handle different data sizes and handle more arguments but "rcall" has less overhead.