Assembly code snippets
Details
Title | RegWrite |
---|---|
Author | QvasiModo |
Submitted by: | QvasiModo |
Date added: | 2003-06-26 02:38:20 |
Date modified: | 2003-06-26 02:38:20 |
Comments
Writes a DWORD from a value in a registry key
Snippet
; RegWrite
; by QvasiModo
; Writes a DWORD from a value in a registry key
; Guarda un DWORD de un valor en una clave del registro
RegWrite proto :dword,:dword,:dword
.code
RegWrite proc hkey:dword,pszval:dword,dwval:dword
invoke RegSetValueEx,hkey,pszval,0,REG_DWORD,addr dwval,4
ret
RegWrite endp
; by QvasiModo
; Writes a DWORD from a value in a registry key
; Guarda un DWORD de un valor en una clave del registro
RegWrite proto :dword,:dword,:dword
.code
RegWrite proc hkey:dword,pszval:dword,dwval:dword
invoke RegSetValueEx,hkey,pszval,0,REG_DWORD,addr dwval,4
ret
RegWrite endp