public void Write(void* Buffer, uint Size)
{
switch (Type)
{
case RegKeyTypes.Binary: throw (new NotImplementedException());
case RegKeyTypes.Directory: throw (new NotImplementedException());
case RegKeyTypes.Integer:
*(uint *)Buffer = (uint)Value;
break;
case RegKeyTypes.String: throw (new NotImplementedException());
default: throw (new NotImplementedException());
}
}