Woops, I knew I was going to make a typo in there somewhere. That line should read: #define NTCALL(target, function) if(!NT_SUCCESS(Status = function)) goto target; Phillip Susi wrote: > > #define NTCALL(target, function) if( Status = function ) goto target; >