mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-12 03:01:32 +00:00
22 lines
395 B
NASM
22 lines
395 B
NASM
|
|
format PE GUI 4.0
|
|
entry start
|
|
|
|
include 'win32a.inc'
|
|
|
|
section '.code' code readable executable
|
|
|
|
start:
|
|
invoke ShowLastError,HWND_DESKTOP
|
|
invoke ExitProcess,0
|
|
|
|
section '.idata' import data readable writeable
|
|
|
|
library kernel,'KERNEL32.DLL',\
|
|
errormsg,'ERRORMSG.DLL'
|
|
|
|
import kernel,\
|
|
ExitProcess,'ExitProcess'
|
|
|
|
import errormsg,\
|
|
ShowLastError,'ShowLastError'
|