ok, my problem is that there is this reg_dword value in the registry to enable/disable windows file protection. I want my program to be able to enable/disable it.
To enable: write 0 hex into the value
To disable: write ffffff9d hex into it or 4294967197 decimal
To write a dword, I use something like
dim i as int32 = 0
dim r as registrykey
open the key
r.setvalue(name, i)
but ffffff9d is too big
using any other type seems to result in a reg_sz