Download Pelles C here: http://www.pellesc.se
include IsDomainMemb.inc
.data
m1 db 'The computer is not joined to a domain.',0
m2 db 'The computer is joined to a domain.',0
tbl dd OFFSET m1,OFFSET m2
.code
start:
invoke IsOS,OS_DOMAINMEMBER
xor ecx,ecx
test eax,eax
setne cl
push ecx
shl ecx,2
lea edx,[tbl+ecx]
invoke StdOut,DWORD PTR [edx]
pop eax
invoke ExitProcess,eax

Page created in 0.042 seconds with 15 queries.