.386
LOCALS
JUMPS
.model flat,STDCALL
extrn GetModuleHandleA :Proc
extrn ExitProcess :Proc
extrn sndPlaySoundA :Proc
;-----------------------------------------------;
.data
    UchwytProcesu dd (?)
    PlikWav db 'test.wav',0
;-----------------------------------------------;
.code
START:
    push 0h
    call GetModuleHandleA
    mov [UchwytProcesu],eax
    push 0
    push offset PlikWav
    call sndPlaySoundA
Koniec:
    push 0h ;zakończ program
   call ExitProcess ;
;-----------------------------------------------;
END START

