testmes macro 
.data
  test_msg db "Test message", 0
.code  
  invoke MessageBox, NULL, addr test_msg, addr test_msg, MB_OK
endm 
shownum macro num
.data 
  szFmtEdit db "%d", 0
.code
  invoke wsprintf, addr szBuf, addr szFmtEdit, num
  invoke MessageBox, NULL, addr szBuf, addr szBuf, MB_OK
endm
mtm macro p1, p2
  push p2
  pop p1
endm
sdm macro hwnd, id, msg, wp, lp
  invoke SendDlgItemMessage, hwnd, id, msg, wp, lp
endm
new macro num
  invoke GlobalAlloc, GPTR, num
endm
return macro num
  mov eax, num
  ret
endm