Better GUID macro
Posted: Sun Feb 10, 2008 1:38 pm
This macro only requires you to replace the -'s with commas.
Code: Select all
Macro GUID(name, l1, w1, w2, b1b2, brest)
DataSection
name:
Data.l $l1
Data.w $w1, $w2
Data.b $b1b2 >> 8, $b1b2 & $FF
Data.b $brest >> 40 & $FF
Data.b $brest >> 32 & $FF
Data.b $brest >> 24 & $FF
Data.b $brest >> 16 & $FF
Data.b $brest >> 8 & $FF
Data.b $brest & $FF
EndDataSection
EndMacro
GUID(CLSID_Test, 332C4425, 26CB, 11D0, B483, 00C04FD90119)