News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

ASSUME it becomes a problem.

Started by xandaz, October 20, 2021, 12:58:36 AM

Previous topic - Next topic

xandaz

   Hi guys. i'm using the following code:invoke GetWindowLong,hWnd,GWL_USERDATA
mov  edi,eax
assume edi:PTR CHARFORMAT

but then i must:mov  [edi.CHARFORMAT.dwMask,CFM_COLOR
instead of just:mov [edi.dwMask,CFM_COLOR
Is this the way it is suppose to work?

HSE

Equations in Assembly: SmplMath

xandaz

   Ahhh. So simple. I'm such an ass . Ty