News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Macro for DWORD local variables

Started by Vortex, September 21, 2024, 06:56:57 PM

Previous topic - Next topic

Vortex

LOCDD MACRO arglist:VARARG

LOCAL _local

    FOR arg,<arglist>

        _local TEXTEQU <LOCAL >,arg,< : DWORD>

        _local

    ENDM

ENDM

Usage example :

main PROC uses esi edi ebx

LOCDD hOldBmp
LOCDD hDC,x,y
LOCDD x2,y2,tempDC
LOCDD hWnd,hBmp