用bcb做的更改注册表,在下win2k编译通过
TRegistry *Reg = new TRegistry();
Reg->RootKey =HKEY_LOCAL_MACHINE;
bool bo=Reg->OpenKey("//SYSTEM//ControlSet001//Services//SiS300//Device0",true);
if ( bo==true)
{
Reg->WriteInteger("Acceleration.Level",3);
}
Reg->CloseKey();
delete Reg;