flat assembler
Message board for the users of flat assembler.

Index > Windows > SystemParametersInfo function

Author
Thread Post new topic Reply to topic
dushlak



Joined: 21 Apr 2021
Posts: 7
dushlak 21 Apr 2021, 07:52
Good afternoon, I need help writing the Assembler code in MASM32.
Set the delay frequency for keyboard autorepeat with the SystemParametersInfo function.
Post 21 Apr 2021, 07:52
View user's profile Send private message Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 1228
Location: Belarus
DimonSoft 21 Apr 2021, 11:02
SystemParametersInfoW

What is your problem exactly?
Post 21 Apr 2021, 11:02
View user's profile Send private message Visit poster's website Reply with quote
dushlak



Joined: 21 Apr 2021
Posts: 7
dushlak 22 Apr 2021, 12:55
DimonSoft,It turns out that in the wrong topic I wrote my task I need the code in assembler under Windows
Post 22 Apr 2021, 12:55
View user's profile Send private message Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 1228
Location: Belarus
DimonSoft 23 Apr 2021, 11:51
Show us the part of your code you have trouble with.
Post 23 Apr 2021, 11:51
View user's profile Send private message Visit poster's website Reply with quote
dushlak



Joined: 21 Apr 2021
Posts: 7
dushlak 24 Apr 2021, 19:25
DimonSoft,.686
.model flat, stdcall
option casemap :none
.nolist
include \masm32\include\windows.inc

include \masm32\include\user32.inc
include \masm32\include\kernel32.inc

includelib \masm32\lib\user32.lib
includelib \masm32\lib\kernel32.lib
.list
.code

main proc

invoke SystemParametersInfo, 0, 0, 0, 0

;завершение программы
invoke ExitProcess, 0
main endp

end main
Post 24 Apr 2021, 19:25
View user's profile Send private message Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 1228
Location: Belarus
DimonSoft 25 Apr 2021, 08:59
Have you read the documentation on SystemParametersInfoW? What did you understand from there and which part exactly makes you stuck?
Post 25 Apr 2021, 08:59
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.