Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !macro PrintProcError ErrCode
- ${Switch} ${ErrCode}
- ${Case} '0'
- DetailPrint "Success"
- ${Break}
- ${Case} '601'
- DetailPrint "No permission to terminate process"
- ${Break}
- ${Case} '602'
- DetailPrint "Not all processes terminated successfully"
- ${Break}
- ${Case} '603'
- DetailPrint "Process was not currently running"
- ${Break}
- ${Case} '604'
- DetailPrint "Unable to identify system type"
- ${Break}
- ${Case} '605'
- DetailPrint "Unsupported OS"
- ${Break}
- ${Case} '606'
- DetailPrint "Unable to load NTDLL.DLL"
- ${Break}
- ${Case} '607'
- DetailPrint "Unable to get procedure address from NTDLL.DLL"
- ${Break}
- ${Case} '608'
- DetailPrint "NtQuerySystemInformation failed"
- ${Break}
- ${Case} '609'
- DetailPrint "Unable to load KERNEL32.DLL"
- ${Break}
- ${Case} '610'
- DetailPrint "Unable to get procedure address from KERNEL32.DLL"
- ${Break}
- ${Case} '611'
- DetailPrint "CreateToolhelp32Snapshot failed"
- ${Break}
- ${EndSwitch}
- !macroend
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement