Hello, sorry if this is a Basic Question ;) I need to set a Binary Registy Key ,like : test 01 but im unable to find infos about how i set one as Binary. I only found for String and Dword ,but not for Binary. So can please someone help me out ? Thanks ;) ps: my English is not so good ,as you see *g* ,so i have Problems reading most Tutorials.
Posted on 2001-01-21 07:02:00 by WH¥
SetRegKeyDW PROC lpdwValue:DWORD, lpszKeyName:DWORD, lpszValueName:DWORD LOCAL Disp :DWORD LOCAL pKey :DWORD DW_SIZE EQU 4 invoke RegCreateKeyEx, HKEY_CURRENT_USER, lpszKeyName, NULL, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, addr pKey, addr Disp .IF eax != ERROR_SUCCESS invoke RegCreateKeyEx, HKEY_CURRENT_USER, lpszKeyName, NULL, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, addr pKey, addr Disp .IF eax !=ERROR_SUCCESS jmp outproc .ENDIF .ENDIF invoke RegSetValueEx, pKey, lpszValueName, NULL, REG_DWORD_LITTLE_ENDIAN, lpdwValue, DW_SIZE invoke RegCloseKey, pKey outproc: ret SetRegKeyDW ENDP
Posted on 2001-01-21 08:04:00 by The Svin
Hello, thanks a lot for the Quick Help ! :-) Have a nice Day
Posted on 2001-01-21 09:19:00 by WH¥