I agree with R-G. TASM is not the best assembler to use when you can find many other free alternatives. If you're doing Windows programming, I think you should consider either
FASM or
NASM(
X). Both of them have extensively support for the Windows application programming interfaces.